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-01-17T16:11:52.390Z",
      "created_at": "2025-01-17T16:11:52.390Z",
      "duration": 18,
      "email": "@hSFxN1Rpq.com",
      "endpoint": "NE",
      "id": "ab3fc04b-f3b0-497a-ba4b-8b9164d464c1",
      "ip_address": "192.0.2.50",
      "method": "PUT",
      "minutes": 27,
      "org_id": "582d4832-59ae-461c-8dd6-03888dc47136",
      "origin": "tvZBh6A",
      "price": "63.84",
      "request_body": "CEppv2timaexmxNz9",
      "request_query_params": "uw1zLIQ2hbvA8io3",
      "response_body": "tS9HP5xLqzcjFKo7o2",
      "started_at": "2025-01-17T16:11:52.390Z",
      "status_code": 25,
      "stripe_invoice_item_id": "7S7gt1sVE0XuFwT",
      "token": "fa3216d9-157f-4152-a874-6fdaff4e5f4b",
      "updated_at": "2025-01-17T16:11:52.390Z",
      "user_agent": "BA1Qblt0lvCeXdp7IvQVWZVVJh",
      "user_id": "eee04586-d5bc-458c-a8c7-673c4bc3d355"
    }
  ],
  "next_page": "oNjSjI"
}