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-09-19T16:11:37.011Z",
"created_at": "2024-09-19T16:11:37.011Z",
"duration": 16,
"email": "@j8OxsQz3ZE.com",
"endpoint": "m5qTMpPt3m0jD6uQ",
"id": "0f2561ce-ad30-4090-b032-d57e43c6aebd",
"ip_address": "192.0.2.73",
"litterbox": false,
"method": "EXTENSION",
"minutes": 18,
"org_id": "8d53735a-5e1a-46c8-ab2d-bd1e54c3c4a9",
"origin": "odYYCVzaqFsAcvw",
"price": "59.10",
"request_body": "IdJQwae3Wv",
"request_query_params": "a6zNGhMTou",
"response_body": "iLzKyquTXls1XDUYjP",
"started_at": "2024-09-19T16:11:37.011Z",
"status_code": 6,
"stripe_invoice_item_id": "AwjB9XJm",
"token": "f26a23b7-5d23-4558-adab-97d7c44742eb",
"updated_at": "2024-09-19T16:11:37.011Z",
"user_agent": "VyduVN0IgENv7X1UzhYnsn",
"user_id": "ade19862-9630-4290-b71c-5a3ada8c38fe"
}
],
"next_page": "zCAOuAOMpV0dViei6sjI0VlQ88JUf"
}