Create a callout (legacy)

Deprecated

Legacy callout creation model retained for existing integrators. New integrations should use POST /panic-api/v2/customers/{customerId}/callouts. This route normally still checks the customer’s subscription unless that check is explicitly disabled on the backend, so do not document it as a subscription-free flow.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
locationobjectRequired
responseTypeIdintegerRequired
calloutClassificationIdintegerOptional
internalTestbooleanOptional

Legacy flag that routes the callout to a specific test supplier attached to your customer source. Not used by modern integrations — omit it and test with the staging Responder Simulator instead.

customerIdintegerOptional

Response

Successful.
messagestring
calloutobject

Errors

400
Bad Request Error
401
Unauthorized Error