Set Penal Codes
POST https://api.sonorancad.com/general/set_penal_codes
This API endpoint allows communities with a large number of penal codes to set them easily with a single API call.
Request Body
- 200 A successful call will be met with the following response:
- 400 The following 400 errors may be sent in response:
Penal Code Format
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.

