For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
GuidesAPI Reference
GuidesAPI Reference
  • Panic API Reference
      • GETList active customer callouts
      • POSTRaise a customer callout
      • POSTRaise a callout (legacy)
      • GETList active callouts
      • GETGet a callout
      • POSTStream location and return callout
      • POSTStream a location update
      • GETRead callout events
      • POSTSend a callout event
      • GETList cancellation reasons
      • POSTCreate a cancellation reason
      • GETGenerate a resolution report
      • GETGet a callout map
      • POSTCancel a callout
      • GETList rating items
      • POSTSubmit a rating item
      • POSTSubmit a callout rating
LogoLogo
Panic API ReferenceCallouts

Raise a customer callout

POST
/panic-api/v2/customers/:customerId/callouts
POST
/panic-api/v2/customers/:customerId/callouts
$curl -X POST https://staging-panic.aura.services/panic-api/v2/customers/178921/callouts \
> -H "Authorization: Bearer <token>" \
> -H "Content-Type: application/json" \
> -d '{
> "responseTypeId": 1,
> "latitude": -33.9249,
> "longitude": 18.4241,
> "calloutClassificationId": 1
>}'
1{
2 "id": 992011,
3 "customerId": 178921,
4 "predefinedLocationId": 99001,
5 "status": "created",
6 "latitude": -33.9249,
7 "longitude": 18.4241,
8 "responseTypeId": 1,
9 "calloutClassificationId": 1,
10 "createdAt": "2024-01-15T09:30:00Z"
11}

Preferred callout creation endpoint. The customer must have an active subscription. Provide either live coordinates or a fixed location (predefinedLocationId) depending on the integration model.

Was this page helpful?
Previous

Raise a callout (legacy)

Next
Built with

Authentication

AuthorizationBearer

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

Path parameters

customerIdintegerRequired
Customer identifier.

Request

This endpoint expects an object.
responseTypeIdintegerRequired
latitudedoubleOptional
longitudedoubleOptional
predefinedLocationIdintegerOptional

Fixed location identifier for site-based callouts.

calloutClassificationIdintegerOptional
internalTestbooleanOptional

Response

Callout created.
idinteger
customerIdinteger
predefinedLocationIdinteger or null
statusstring

Legacy free-form status. Known values include created, Responder Dispatched, Responder Cancelled, and closed.

latitudedouble or null
longitudedouble or null
responseTypeIdinteger
calloutClassificationIdinteger
createdAtdatetime

Errors

400
Bad Request Error
401
Unauthorized Error