POST https://api.sonorancad.com/v2/general/links
Rate limit:Create a 4-character code for a30 requests per minute
Authenticated v2 endpoints are rate limited per API key rather than per IP address.
communityUserId. The code is scoped to the authenticated community and expires after 10 minutes.
Request Body
Example Request
- Sonoran.lua
- SonoranCADFiveM
- Sonoran.js
- Sonoran.py
- Sonoran.Net
- OpenAPI
- cURL
Response
Successful requests returnapplication/json.
Linking Account
Once a link code is created, direct the user tosonorancad.com/id?code=ENTERCODEHERE.
If the user is not logged in, they will be automatically redirected. The 4-digit code will be automatically entered into the ID page, processed, and the userโs communityUserId will be linked to the community account.
Once linked, the communityUserId parameter can be used with any applicable v2 API endpoint.
To detect that link completion immediately, listen for the Community Link Verified push event or poll Check Community Link when needed.


