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

Cancel a callout

POST
/panic-api/v2/callouts/:calloutId/cancel
POST
/panic-api/v2/callouts/:calloutId/cancel
$curl -X POST https://staging-panic.aura.services/panic-api/v2/callouts/992011/cancel \
> -H "Authorization: Bearer <token>" \
> -H "Content-Type: application/json" \
> -d '{
> "safeCode": "4567"
>}'
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}

Cancels an active callout. Include safeCode for verified customer cancellation and duress detection; omit it for unconditional integrator-driven or fixed-location cancellation.

Was this page helpful?
Previous

List rating items

Next
Built with

Authentication

AuthorizationBearer

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

Path parameters

calloutIdintegerRequired
Callout identifier.

Request

This endpoint expects an object.
safeCodestringOptional
Optional last four digits of the customer's registered mobile number. Omit to perform an unconditional cancel.

Response

Callout cancelled.
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
404
Not Found Error