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
    • 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": "2025-02-27T21:29:11.925Z",
  "created_at": "2025-02-27T21:29:11.925Z",
  "duration": 19,
  "email": "pe@YJe1.com",
  "endpoint": "7hxcF45XYu1XeclYR",
  "id": "07b172c6-ed3a-45ba-a618-7279e5b7f471",
  "ip_address": "192.0.2.79",
  "method": "DELETE",
  "minutes": 29,
  "org_id": "c0655fa5-ed63-444f-bf5c-c6893f1493fe",
  "origin": "zEiA6JImDIYUP9",
  "price": "26.51",
  "request_body": "oi5vizvR17VJspzFDhkgWZdi",
  "request_query_params": "T",
  "response_body": "0Dc",
  "started_at": "2025-02-27T21:29:11.925Z",
  "status_code": 19,
  "stripe_invoice_item_id": "ZM4VIKOxSY",
  "token": "885f937d-9278-4f35-8baa-81447f276d27",
  "updated_at": "2025-02-27T21:29:11.925Z",
  "user_agent": "19mWbwMs9hMG",
  "user_id": "c03b92e4-cf0a-44bc-bcb1-ff2002f28945"
}