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": "2024-12-19T17:47:37.139Z",
  "created_at": "2024-12-19T17:47:37.139Z",
  "duration": 3,
  "email": "0jxn@IW7Lt.com",
  "endpoint": "3vMmMvMGHSvAg",
  "id": "32c55bfe-e087-4a6f-acc2-56b41d5e5a38",
  "ip_address": "192.0.2.68",
  "method": "POST",
  "minutes": 7,
  "org_id": "3560e973-0da3-45ee-8119-f309c3041d5a",
  "origin": "5FrxUIF",
  "price": "81.01",
  "request_body": "Mzq",
  "request_query_params": "S5B8iAipZdhYA",
  "response_body": "1rKbsR",
  "started_at": "2024-12-19T17:47:37.139Z",
  "status_code": 25,
  "stripe_invoice_item_id": "AgoFPy0hGcju71UryTMAMFIA",
  "token": "a6988e3f-7fc6-4655-be72-a17034ee71f4",
  "updated_at": "2024-12-19T17:47:37.139Z",
  "user_agent": "LMxNoT4bInQyJqNFUJGvG",
  "user_id": "a394c443-f965-4b1c-98b6-ad11bcfaec4c"
}