Modify Blip

This endpoint allows you to easily update a custom live map blip.

This API endpoint requires the pro version of Sonoran CAD or higher. For more information, see our pricing page.

Modify Blip

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

This endpoint allows you to edit a custom blip on your live map.

Request Body

NameTypeDescription

id*

string

Your community's ID

key*

string

Your community's API Key

type*

string

MODIFY_BLIP

data*

array

Array of request objects

Blip 123 modified!
{
    "id": "YOUR_COMMUNITY_ID",
    "key": "YOUR_API_KEY",
    "type": "MODIFY_BLIP",
    "data": [
        {
            "id": 123, // Blip IDm
            "subType": "Example", // OPTIONAL - Differentiate custom types
            "coordinates": { // OPTIONAL - Coordinate Update
                "x": 0,
                "y": 1
            },
            "radius": 100, // OPTIONAL - Displays a circle radius
            "icon": "https://example.com/icon.png" // OPTIONAL - Icon Update
            "color": "#df03fc", // OPTIONAL - Hex Color Code
            "tooltip": "Example added from the API!" // OPTIONAL - Blip Tooltip
            "data": [ // OPTIONAL - Display Data
                {
                    "title": "Example 1",
                    "text": "123",
                },
                {
                    "title": "Example 2",
                    "text": "456",
                }
            ]
        },
    ]
}

Last updated