Get Record Templates

Sonoran CAD allows you to retrieve your custom record and report templates via API.

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

Get Record Templates

POST https://api.sonorancad.com/general/get_templates

This endpoint allows you to retrieve all custom record and report templates in your community.

Request Body

Name
Type
Description

templateId

number

Unique template ID

id

string

Your community's ID

key

string

Your community's API Key

type

string

GET_TEMPLATES

data

array

Empty Array

[{RECORD TEMPLATES}]
    "id": "YOUR_COMMUNITY_ID",
    "key": "YOUR_API_KEY",
    "type": "GET_TEMPLATES",
    "recordTypeId": 123, // OPTIONAL - Matches a specific record's recordTypeId field
}

Record Formatting

Custom records require a strict format with several dozen different data fields. You can view a detailed explanation of custom record formatting.

Last updated