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.
GuidesWhite-labelAPI Reference
GuidesWhite-labelAPI Reference
  • Panic API Reference
      • GETList fixed locations
      • POSTCreate a fixed location
      • GETGet a fixed location
      • PUTUpdate a fixed location
      • DELDelete a fixed location
      • POSTRaise a fixed-location callout
    • Errors & status codes
LogoLogo
Panic API ReferenceFixed Locations

Create a fixed location

POST
/panic-api/v2/predefinedLocations
POST
/panic-api/v2/predefinedLocations
$curl -X POST https://staging-panic.aura.services/panic-api/v2/predefinedLocations \
> -H "Authorization: Bearer <token>" \
> -H "Content-Type: application/json" \
> -d '{
> "name": "Long Street Store",
> "externalReferenceId": "STORE-001"
>}'
1{
2 "id": 99001,
3 "name": "Long Street Store",
4 "externalReferenceId": "STORE-001",
5 "latitude": -33.9249,
6 "longitude": 18.4241,
7 "customerId": 1
8}

Creates a fixed location that can later be used to raise site-based callouts. Payload fields retain the API’s predefined-location naming.

Was this page helpful?
Previous

Get a fixed location

Next
Built with

Authentication

AuthorizationBearer

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

Request

This endpoint expects an object.
namestringRequired
externalReferenceIdstringRequired
latitudedoubleOptional
longitudedoubleOptional
addressstringOptional

Response

Fixed location created.
idinteger
namestring
externalReferenceIdstring
latitudedouble
longitudedouble
customerIdinteger or null

Errors

400
Bad Request Error
401
Unauthorized Error