API → API CallsGet details of an API call
hidden

Parameters

Name

Type

Req.

  • id

    string / UUID
    required

Returns

  • 200 OK

    successful operation

    Name

    Type

    Req.

    body

    object
    optional
    Object Properties
    • 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
get
/api-calls/{id}
$ curl "https://api.zoo.dev/api-calls/{id}" \
	--header "Authorization: Bearer $TOKEN"
200 OK
Response
{
  "completed_at": "2025-01-07T17:15:30.358Z",
  "created_at": "2025-01-07T17:15:30.358Z",
  "duration": 23,
  "email": "FMc0nRoNbM@zxjc.com",
  "endpoint": "oYawb5qZLR5AtauRfY61YDq",
  "id": "91a38390-c644-431f-99a2-11e6554ef228",
  "ip_address": "192.0.2.20",
  "method": "PATCH",
  "minutes": 13,
  "org_id": "da490130-caca-470c-9545-bd7d3fc0b192",
  "origin": "NS6rKAB81K45G8vS5dkyNuM4J",
  "price": "50.80",
  "request_body": "mmcb4pGGK90f8FOGsnAVpeHG",
  "request_query_params": "Z6uEsizH6ZUGh8dQrMZWGdTW9iD",
  "response_body": "tMeaqR7HcBdlvDywiiqS5eQunbuzau",
  "started_at": "2025-01-07T17:15:30.359Z",
  "status_code": 21,
  "stripe_invoice_item_id": "CeaWPovsndfW",
  "token": "888d7f31-d1a9-430e-994f-dd3b5ad43f0b",
  "updated_at": "2025-01-07T17:15:30.359Z",
  "user_agent": "1HusNM5yhklKnrsk0mbRUv",
  "user_id": "15b791f3-09f5-483b-a9d6-b3086b0fc12a"
}