Skip to main content
POST https://api.sonorancad.com/v2/general/records
Rate limit: 30 requests per minute
Authenticated v2 endpoints are rate limited per API key rather than per IP address.
Create a custom record for a target account.

Request Body

Use communityUserId 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:
For a non-character custom record, the same endpoint looks like this:
If you need to submit a fully assembled record, you can provide record instead. This is an advanced option and is not recommended for most integrations:

Example Request

Response

Successful requests return application/json.