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
      • POSTLink a device to a customer
LogoLogo
Panic API ReferenceDevice Gateway

Link a device to a customer

POST
/panic-api/v2/devices
POST
/panic-api/v2/devices
$curl -X POST https://staging-panic.aura.services/panic-api/v2/devices \
> -H "Authorization: Bearer <token>" \
> -H "Content-Type: application/json" \
> -d '{
> "customerId": 178921,
> "deviceId": "panic-button-001"
>}'
1{
2 "id": 501,
3 "customerId": 178921,
4 "deviceId": "panic-button-001"
5}

Links a supported IoT device to a customer. Device-event ingestion shown in gateway docs remains excluded until a matching live route is confirmed.

Was this page helpful?
Previous

Register a webhook

Next
Built with

Authentication

AuthorizationBearer

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

Request

This endpoint expects an object.
customerIdintegerRequired
deviceIdstringRequired
deviceTypeIdintegerOptional

Response

Device linked.
idinteger
customerIdinteger
deviceIdstring

Errors

400
Bad Request Error
401
Unauthorized Error