Set Penal Codes
This API endpoint allows communities with a large number of penal codes to set them easily with a single API call.
This API endpoint requires the Standard version of Sonoran CAD or higher. For more information, see our pricing page.
post
https://api.sonorancad.com
/general/set_penal_codes
Set Penal Codes
{
"id": "YOUR_COMMUNITY_ID",
"key": "YOUR_API_KEY",
"type": "SET_PENAL_CODES",
"data": [
{
"code": "(2)06",
"type": "Felony",
"title": "Armed Robbery",
"bondType": "Federal Bail Bond",
"jailTime": "5-10 Years",
"bondAmount": 20000
},
{
"code": "(2)07",
"type": "Felony",
"title": "Murder",
"bondType": "Federal Bail Bond",
"jailTime": "5-50 Years",
"bondAmount": 100000
}
]
}
Your penal codes must be sent as a JSON object array in the exact format shown. Depending on how your community's penal codes are structure, you may want to write a script to automate this formatting. Then, send your penal codes via API with something like Postman.

Penal Codes set via API
Last modified 2yr ago