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-01-09T18:24:49.079Z",
"created_at": "2025-01-09T18:24:49.079Z",
"duration": 1,
"email": "L75za@UnA8b6Bc.com",
"endpoint": "sOFtkk0pJ",
"id": "68d8370e-8462-4b7f-9d79-ec5a11910b70",
"ip_address": "192.0.2.254",
"method": "POST",
"minutes": 26,
"org_id": "611a552e-6829-4edf-9ca0-3e528f9e62f4",
"origin": "D8V",
"price": "70.07",
"request_body": "rQWNJf",
"request_query_params": "jy7rHUO",
"response_body": "eeKNG",
"started_at": "2025-01-09T18:24:49.079Z",
"status_code": 4,
"stripe_invoice_item_id": "BqKXvrfdi9Z7uFcEOtlJ",
"token": "069a6a8b-ef69-4984-ac71-0b39a2a357f2",
"updated_at": "2025-01-09T18:24:49.079Z",
"user_agent": "tT6vOKKs85ZbY1HmHDPaF1Pz",
"user_id": "438b52a8-6102-4746-9343-62a930c9577e"
}
],
"next_page": "GEhdopJnBlz9rNpw7YD"
}