API → API CallsList 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-05-09T17:14:48.153Z",
"created_at": "2025-05-09T17:14:48.153Z",
"duration": 30,
"email": "@5hoqRx.com",
"endpoint": "WSqDM61uHYcpQ",
"id": "2fb994ca-ac57-492d-9541-fd1918a9ac84",
"ip_address": "192.0.2.41",
"method": "CONNECT",
"minutes": 14,
"org_id": "c5af3181-7a31-4218-8d39-f0acb83b4a78",
"origin": "nFEvQhUZPnS7WflgHhQPRQxnzf",
"price": "77.28",
"request_body": "4t07zB2jJUmA8Z2bn",
"request_query_params": "p4DhTGg",
"response_body": "i6",
"started_at": "2025-05-09T17:14:48.153Z",
"status_code": 21,
"stripe_invoice_item_id": "C3KoUnYv",
"token": "96e65068-8e8b-479b-9afb-940d886b2c81",
"updated_at": "2025-05-09T17:14:48.153Z",
"user_agent": "kAFomFWx4SB4NJEI7AV",
"user_id": "165dc668-9e3f-4c4c-a2a2-da1353fe2a1b"
}
],
"next_page": "6EfWxgLebFaOpV2rd4"
}