1
Authenticate via OAuth
Before you can call any protected endpoint, you need an authenticated session. Start the OAuth flow by posting to ResponseRedirect your user to
POST /v1/oauth/:provider with your chosen provider (discord or roblox) and a redirectUrl that the API will send the player back to after they authorize.RequesttargetUrl. After they authorize, the API will redirect them back to your redirectUrl with the state parameter appended as a query string. Session cookies (access_token and refresh_token) are set automatically on the callback — you do not need to handle tokens yourself.2
Retrieve Your User Profile
Once authenticated, retrieve the current user’s profile with Response
GET /v1/users/{userId}. You must pass the user’s own ID — you cannot view another user’s profile unless you have elevated permissions.Append ?providers=true to include linked OAuth provider details, or ?signature=true to include character signature data.Request3
Create a Character
Create your first roleplay character with ResponseBody schema reference
POST /v1/users/{userId}/characters. The character starts in draft status and an ID card is generated automatically. You can submit it for staff review once it’s ready.All fields in the request body are required. gender must be either "Masculino" or "Femenino", and bloodType must be one of the eight supported values.Request4
Connect to WebSocket
Connect to the CA Colombia WebSocket server to receive live platform events without polling. After establishing the connection, send a Incoming event exampleHandling messages
subscribe message to start receiving events for the topics you care about.ConnectWhat’s Next?
Now that you have a working session and your first character created, explore the full API surface:- Authentication — Understand cookie sessions, token refresh, and error codes in depth.
- Character Endpoints — Submit characters for review, update visuals, and manage ID status.
- Economy & Banking — Interact with wallets and bank accounts programmatically.
- Staff Endpoints — Approve or reject pending character submissions (requires elevated permissions).
