Unit Panic

The Unit Panic API call allows you to automatically trigger a unit panic from in-game.

circle-exclamation
circle-info

Toggling a unit's panic status via the API will not send this push event. These events should be listened for locally on the game server.

Unit Panic

POST https://api.sonorancad.com/emergency/unit_panic

This The unit panic API endpoint allows you to automatically trigger a unit panic from in-game.

Request Body

Name
Type
Description

id

string

Your community's ID

key

string

Your community's API Key

type

string

UNIT_PANIC

data

array

Array of unit objects

UNIT PANIC UPDATED
{
    "id": "YOUR_COMMUNITY_ID",
    "key": "YOUR_API_KEY",
    "type": "UNIT_PANIC",
    "data": [
        {
            "apiId": "STEAM:1234", // (OPTION 1): API ID entered in the unit identifiers
            "account": "000-000-000", // (OPTION 2): Sonoran Account UUID
            "identIds": [123,456], // (Option 3): Identifier IDs
            "isPanic": true,
        }
    ]
}

Last updated

Was this helpful?