POST https://api.sonorancad.com/v2/general/records
Rate limit:Create a custom record for a target account.30 requests per minute
Authenticated v2 endpoints are rate limited per API key rather than per IP address.
Request Body
UsecommunityUserId by default, or provide exactly one of roblox, discord, or accountUuid as the target user.
The recommended path is to set useDictionary to true, provide the target recordTypeId, and pass replaceValues keyed by the template field placeholders. This avoids building the full record section and field structure yourself.
Advanced integrations may provide a full record object instead of useDictionary, recordTypeId, and replaceValues, but this is not recommended unless you need full control over the raw record payload.
This endpoint is also used to create civilian characters. The key difference is which template recordTypeId you submit.
Choosing a recordTypeId
Use GET /v2/general/templates first if you need to inspect the templates available in your community.
Some built-in template families use fixed IDs from the backend, while custom templates keep the community-specific recordTypeId shown by the templates endpoint.
If you are creating a character, send the character template ID (
7) or the raw character record payload with type: 7. For anything else, use the template ID returned by the templates endpoint for that record.
Character Example
This example creates a civilian character for the target user by selecting the built-in character template:record instead. This is an advanced option and is not recommended for most integrations:
Example Request
- Sonoran.lua
- SonoranCADFiveM
- Sonoran.js
- Sonoran.py
- Sonoran.Net
- OpenAPI
- cURL
Response
Successful requests returnapplication/json.

