POST https://api.sonorancms.com/v2/community/erlc/records
Rate limit: 18 requests per minute
Authenticated v2 endpoints are rate limited per credential rather than per IP address.Create an ER:LC record.
Request Body
| Name | Type | Required | Description | | --- | --- | --- | --- | |robloxJoinCode | string | Yes | See example request for the shape. |
| executerDiscordId | string | Yes | See example request for the shape. |
| type | string | Yes | See example request for the shape. |
| reason | string | Yes | See example request for the shape. |
| points | number | Yes | See example request for the shape. |
Example Request
- Sonoran.lua
- Sonoran.js
- Sonoran.py
- Sonoran.Net
- OpenAPI
- cURL
Response
The response shape varies by recordtype:
note,kick, and custom log types return a confirmation object such as{ success: true, message: "Records added successfully" }.banreturns{ success: true }after the ban queue is updated.disciplinaryreturns the disciplinary service payload, which is usually{ success: true, data: [DisciplinaryRecord] }.

