Characters

List, create, update, and delete AI characters. Characters define the personality, speaking style, and behavior of your AI assistant.

GET
/api/v1/characters

List available characters

POST
/api/v1/characters

Create a new character

GET
/api/v1/characters/:id

Get character details

PATCH
/api/v1/characters/:id

Update character

DELETE
/api/v1/characters/:id

Delete character

List Characters

Supports optional pagination, search, and filtering via query parameters. When no query parameters are provided, all accessible characters are returned.

Query Parameters

ParamTypeDescription
pagenumberPage number (default: 1)
limitnumberItems per page, 1-100 (default: 20)
searchstringText search on name and description
genderstringFilter by gender: male, female, non-binary, other
ageMinnumberMinimum age filter (min: 18)
ageMaxnumberMaximum age filter
occupationstringText search on occupation
ownershipstringFilter: all (default), mine, public, presets
Request
curl "https://www.turingmate.com/api/v1/characters?page=1&limit=10&search=mia&gender=female" \
  -H "x-api-key: your_api_key"
Response (paginated)
{
  "characters": [
    {
      "id": "abc123",
      "name": "Mia",
      "description": "A friendly AI companion",
      "gender": "female",
      "avatar": null,
      "profilePhotoUrl": "https://...",
      "canInitiateConversation": true
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 10,
    "total": 1,
    "totalPages": 1
  }
}

Create Character

Request
curl -X POST https://www.turingmate.com/api/v1/characters \
  -H "x-api-key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Alex",
    "gender": "male",
    "personality": "Curious, witty, and always up for a deep conversation about science and philosophy",
    "speakingStyle": "Casual and playful, uses metaphors, asks lots of questions"
  }'

Required Fields

FieldTypeDescription
namestringCharacter name (1-100 chars)
personalitystringCore personality traits (10-2000 chars)
speakingStylestringHow they communicate (10-1000 chars)

Optional Fields

FieldTypeDescription
descriptionstringShort description (max 500)
genderstringGender: male, female, non-binary, or other
appearanceDescriptionstringPhysical appearance for image gen
canInitiateConversationbooleanCan proactively message users