API → API CallsList API calls for your org

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
/org/api-calls
$ curl "https://api.zoo.dev/org/api-calls" \
	--header "Authorization: Bearer $TOKEN"
200 OK
Response
{
  "items": [
    {
      "completed_at": "2024-12-19T17:49:00.002Z",
      "created_at": "2024-12-19T17:49:00.002Z",
      "duration": 11,
      "email": "FN6ay3c@bu9hj2yyfF.com",
      "endpoint": "Am11Fb5M7nMDmXnPdF7JbSZEbsT1",
      "id": "4311f89a-c5ae-47b9-9728-3db86c52b2a4",
      "ip_address": "192.0.2.106",
      "method": "PATCH",
      "minutes": 7,
      "org_id": "65b216e0-8b3e-4740-928a-8d4af54d751c",
      "origin": "vltqOz",
      "price": "31.29",
      "request_body": "qiJIxeEJ",
      "request_query_params": "J689QaAwUzOhEgJ8gyd0NSQwofr5",
      "response_body": "cLl20rqVhd54P0KVxif8mFzem",
      "started_at": "2024-12-19T17:49:00.003Z",
      "status_code": 19,
      "stripe_invoice_item_id": "o",
      "token": "84477e0e-1430-41f3-a277-b57864bb906e",
      "updated_at": "2024-12-19T17:49:00.003Z",
      "user_agent": "Ps42Kw7FgfRkWpceUHbXhRmx",
      "user_id": "ab1695fc-19a3-4499-a76f-9f1e277feea1"
    }
  ],
  "next_page": "vxEMdCUjkn8CrNBSy"
}