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-10-11T02:48:28.670Z",
"created_at": "2024-10-11T02:48:28.670Z",
"duration": 25,
"email": "bM5UO@Pdaa.com",
"endpoint": "Q9gqxP8YjXwSTZzOHersvCFbPH",
"id": "a8eb0c99-32e5-4bd9-9d31-89a460837bde",
"ip_address": "192.0.2.50",
"litterbox": true,
"method": "DELETE",
"minutes": 14,
"org_id": "32f05cf9-bcb7-48b0-9ff4-012a6424ae23",
"origin": "hAB93Sc",
"price": "26.21",
"request_body": "gZyVu",
"request_query_params": "X499U2CgyTh2Z",
"response_body": "4cIQutSjgsAbyiCqJJefm85tQAh",
"started_at": "2024-10-11T02:48:28.670Z",
"status_code": 18,
"stripe_invoice_item_id": "R",
"token": "d2fc1b77-4e17-4f2a-8c8d-69f6a82dec9d",
"updated_at": "2024-10-11T02:48:28.671Z",
"user_agent": "vMVMvbTbYlr6zTPtLk4g0xy",
"user_id": "268a5628-11e2-4b66-8fab-af93dfccfb48"
}
],
"next_page": "f8O3qCYdVYmlpCxE0QDwKUN"
}