API → API Calls → List API calls for a userhidden
hidden
Parameters
Name
Type
Req.
Possible values
created_at_ascending
: Sort in increasing order of "created_at".created_at_descending
: Sort in decreasing order of "created_at".
Returns
- 200 OK
successful operation
Name
Type
Req.
body
objectoptionalObject Properties
items
arrayoptionalArray of
Possible values
OPTIONS
: The `OPTIONS` method as defined in [RFC 7231](https://tools.ietf.org/html/rfc7231#section-4.2.1).GET
: The `GET` method as defined in [RFC 7231](https://tools.ietf.org/html/rfc7231#section-4.3.1).POST
: The `POST` method as defined in [RFC 7231](https://tools.ietf.org/html/rfc7231#section-4.3.1).PUT
: The `PUT` method as defined in [RFC 7231](https://tools.ietf.org/html/rfc7231#section-4.3.1).DELETE
: The `DELETE` method as defined in [RFC 7231](https://tools.ietf.org/html/rfc7231#section-4.3.5).HEAD
: The `HEAD` method as defined in [RFC 7231](https://tools.ietf.org/html/rfc7231#section-4.3.2).TRACE
: The `TRACE` method as defined in [RFC 7231](https://tools.ietf.org/html/rfc7231#section-4.3).CONNECT
: The `CONNECT` method as defined in [RFC 7231](https://tools.ietf.org/html/rfc7231#section-4.3.6).PATCH
: The `PATCH` method as defined in [RFC 5789](https://tools.ietf.org/html/rfc5789).EXTENSION
: A catch all.
get
/users/{id}/api-calls$ curl "https://api.zoo.dev/users/{id}/api-calls" \
--header "Authorization: Bearer $TOKEN"
200 OK
Response{
"items": [
{
"completed_at": "2025-04-01T00:18:53.832Z",
"created_at": "2025-04-01T00:18:53.832Z",
"duration": 8,
"email": "A4kn@Po5sJ6u.com",
"endpoint": "gkVFgil0a8tAe8KEVsT65X314",
"id": "c8982d5a-43f2-4e07-8b59-d7d53ad18b05",
"ip_address": "192.0.2.233",
"method": "POST",
"minutes": 9,
"org_id": "6bc6a1b5-37f3-4805-a5c4-16d1117560e4",
"origin": "3ubk3VutEx8G7",
"price": "7.72",
"request_body": "8j4KijHvuBud0",
"request_query_params": "iiH71e5BL",
"response_body": "uyHsq6GFjzb6TtR0zpfMvqqfyIrJo",
"started_at": "2025-04-01T00:18:53.832Z",
"status_code": 9,
"stripe_invoice_item_id": "Nfiye7RwAbpl2aMBeOSNrmSefLLsNn",
"token": "73df4935-95a4-488a-bfd2-36446b93bdd0",
"updated_at": "2025-04-01T00:18:53.832Z",
"user_agent": "9qX6FQ4NHiNkOOq",
"user_id": "79bc41d5-f295-4153-a493-327eda39c937"
}
],
"next_page": "F7eCRHwg5yTq0OGgIHsEl"
}