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": "2024-07-27T01:15:30.412Z",
"created_at": "2024-07-27T01:15:30.412Z",
"duration": 27,
"email": "FCGhkIdM@B6fG5A2dk.com",
"endpoint": "DR5AMK7CrjqCCli1e5VdwcRgX",
"id": "572af9cf-eaf1-43e4-91c8-62d5d21410d6",
"ip_address": "192.0.2.185",
"litterbox": true,
"method": "CONNECT",
"minutes": 17,
"org_id": "1d826d52-a17d-4b06-9d35-b92074e00e1c",
"origin": "y",
"price": "69.01",
"request_body": "Kzec",
"request_query_params": "Dv",
"response_body": "Z36ORMkoHdNYUK1jLVnkvVPNMgLz0",
"started_at": "2024-07-27T01:15:30.412Z",
"status_code": 29,
"stripe_invoice_item_id": "Y8nnM5P8BDTniePQzVhyeGxsOlq",
"token": "b274576e-f17f-4800-9c70-0f8eb1221295",
"updated_at": "2024-07-27T01:15:30.412Z",
"user_agent": "yLGoBYvwSlg0h0Gf",
"user_id": "20c49adb-e50d-4191-8647-7350516a34af"
}
],
"next_page": "twCC2URMotYdbzXjCB2RUov1X"
}