Get Map Blips

This endpoint allows you to retrieve all custom blips for a community's live map!

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

Get Blips

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

This endpoint allows you to retrieve all custom blips on your live map.

Request Body

NameTypeDescription

id*

string

Your community's ID

key*

string

Your community's API Key

type*

string

GET_BLIPS

data*

array

Array of request objects

// Array of blip objects
[
    {
        "id": 1,
        "subType": "Example", // Differentiate custom blips types
        "coordinates": {
            "x": 0,
            "y": 0
        },
        "color": "#000FFF",
        "icon": "https://example.com/icon.png",
        "data": [
            {
                "title": "Example 1",
                "text": "123",
            },
            {
                "title": "Example 2",
                "text": "456",
            }
        ]
    }
]
{
    "id": "YOUR_COMMUNITY_ID",
    "key": "YOUR_API_KEY",
    "type": "GET_BLIPS",
    "data": [
        {
            "serverId": 1 // Server ID
        },
    ]
}

Last updated