API → API CallsList API calls for your user

Parameters

Name

Type

Req.

  • limit

    integer
    optional
  • page_token

    string
    optional
  • sort_by

    string
    required
    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

    object
    optional
    Object Properties
    • items

      array
      optional
      Array of
      • completed_at

        string / ISO-8601
        optional
      • created_at

        string / ISO-8601
        optional
      • duration

        integer / Duration
        optional
      • email

        string / Email Address
        optional
      • endpoint

        string
        optional
      • id

        string / UUID
        optional
      • ip_address

        string
        optional
      • method

        string
        optional
        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.
      • minutes

        integer
        optional
      • org_id

        string / UUID
        optional
      • origin

        string
        optional
      • price

        number / USD Price
        optional
      • request_body

        string
        optional
      • request_query_params

        string
        optional
      • response_body

        string
        optional
      • started_at

        string / ISO-8601
        optional
      • status_code

        integer
        optional
      • token

        string / UUID
        optional
      • updated_at

        string / ISO-8601
        optional
      • user_agent

        string
        optional
      • user_id

        string / UUID
        optional
    • next_page

      string
      optional
get
/user/api-calls
$ curl "https://api.zoo.dev/user/api-calls" \
	--header "Authorization: Bearer $TOKEN"
200 OK
Response
{
  "items": [
    {
      "completed_at": "2025-02-27T21:29:13.142Z",
      "created_at": "2025-02-27T21:29:13.142Z",
      "duration": 27,
      "email": "GD@R6CSKk.com",
      "endpoint": "i",
      "id": "dd88ee1b-f6ed-4774-8119-1e19f84d6fef",
      "ip_address": "192.0.2.30",
      "method": "PUT",
      "minutes": 10,
      "org_id": "715d85f6-67d8-4a88-912a-77a7d69f6689",
      "origin": "dC",
      "price": "83.38",
      "request_body": "",
      "request_query_params": "T4A5AICwV3DuKGMWUIuI4zkmxQ1f9S",
      "response_body": "oaZ",
      "started_at": "2025-02-27T21:29:13.142Z",
      "status_code": 25,
      "stripe_invoice_item_id": "tfV3GC4USQ9z44UYaTiEJX",
      "token": "a08e0f2c-e53c-4ca1-8316-426a618da42d",
      "updated_at": "2025-02-27T21:29:13.142Z",
      "user_agent": "kkkzcRI6gV4",
      "user_id": "434dc058-ce53-46e2-b4c9-099e2c1ae9b6"
    }
  ],
  "next_page": "4OzMSfuMIBfhYLy5qjLrEyo"
}