API → API CallsGet an API call for an org

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
    • litterbox

      boolean
      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
/org/api-calls/{id}
$ curl "https://api.zoo.dev/org/api-calls/{id}" \
	--header "Authorization: Bearer $TOKEN"
200 OK
Response
{
  "completed_at": "2024-09-07T21:56:23.187Z",
  "created_at": "2024-09-07T21:56:23.187Z",
  "duration": 2,
  "email": "qr1Fe@nqBsjesvEB.com",
  "endpoint": "zuB09qHKqW6qWi8eJ",
  "id": "45a7845d-e724-4975-bd21-7b07f1ebfbab",
  "ip_address": "192.0.2.167",
  "litterbox": true,
  "method": "GET",
  "minutes": 17,
  "org_id": "0a20e2f7-f981-410a-bdbe-15205536fe7b",
  "origin": "",
  "price": "89.68",
  "request_body": "7i4QJD3Rw2nHM",
  "request_query_params": "W7tTCMlwdCkOe5o",
  "response_body": "CYk4VdmfydW2Xsy8N8O6",
  "started_at": "2024-09-07T21:56:23.187Z",
  "status_code": 27,
  "stripe_invoice_item_id": "Fqmd6BgCC1",
  "token": "861704d9-ccfc-45f3-87bf-1abb8a3dd646",
  "updated_at": "2024-09-07T21:56:23.187Z",
  "user_agent": "WFXMjk",
  "user_id": "3fe861b7-09ce-4814-b4ac-6cbfaed4a75e"
}