Character
Get Character
GET
https://getember.ai/api/character?id=:id
This endpoint retrieves a character object using the provided ObjectID.
Query Parameters
id
string
The ObjectID of the desired character.
Post Character
POST
https://getember.ai/api/character
This endpoint creates a new character object with the provided properties.
Headers
Authorization
string
A Bearer token with your provided API key.
Request Body
firstName
string
The first name of the character to be created.
lastName
string
The last name of the character to be created.
background
string
A written background of the character to be created. This can range from a few words to a paragraph.
Patch Character
PATCH
https://getember.ai/api/character
Update a specified character object's values.
Headers
Authorization
string
A Bearer token with your provided API key.
Request Body
id
string
The ObjectID of the desired character.
firstName
string
The updated first name.
lastName
string
The updated last name.
background
string
The updated background.
Delete Character
DELETE
https://getember.ai/api/character
Delete the specified character object.
Headers
Authorization
string
A Bearer token with your provided API key.
Request Body
id
string
The ObjectID of the desired character.
Last updated
Was this helpful?