Character Management
Use these endpoints to inspect the characters tied to your API key and switch the active persona.
GET /v1/characters
Returns the list of characters owned by the authenticated streamer. Each item contains the identifier, display name, public description, and whether it’s currently the active persona.
Request
- Method/Path:
GET /v1/characters - Headers:
Authorization: Bearer <API_KEY>
Responses
200 OKwith an array of summaries401 Unauthorizedif the key is missing/invalid
Example
curl -X GET https://api.getailicia.com/v1/characters \
-H "Authorization: Bearer ${API_KEY}"[
{
"id": "char_123",
"name": "Captain Vibes",
"description": "Energetic persona that hypes the chat.",
"isActive": true
},
{
"id": "char_456",
"name": "Cozy Willow",
"description": "A calm storyteller for late-night sessions.",
"isActive": false
}
]PUT /v1/characters/{characterId}/active
Marks a character as the active persona for the streamer who owns the supplied API key.
Request
- Method/Path:
PUT /v1/characters/{characterId}/active - Headers:
Authorization: Bearer <API_KEY> - Path parameters:
characterId: identifier fromGET /v1/characters
Responses
204 No Contentwhen the character becomes active401 Unauthorizedif the key is missing/invalid403 Forbiddenif the character belongs to another streamer404 Not Foundif the characterId does not exist
Example
curl -X PUT https://api.getailicia.com/v1/characters/char_123/active \
-H "Authorization: Bearer ${API_KEY}"List your characters first to confirm the
characterId and ensure you have access.