Utility Functions
- Description: Create a new character and get the character ID for it.

Inputs:
- Char Name: Name of the character.
- Voice: Voice name [MALE/FEMALE].
- Backstory: Backstory for the new character.
Outputs:
- Char ID: character id for the new character.
Nothing is returned, check logs for details on why it failed.
- Description: Get a list of character IDs belonging to the user.

Outputs:
- Char IDs: list of characters.
Nothing is returned, check logs for details on why it failed.
- Description: Fetch all details of a character including backstory, voice, etc.

Inputs:
- Char ID: Character ID for which to fetch all the details.
Outputs:
- Character Name: Name of your character.
- Voice Type: Voice name.
- Backstory: Character backstory.
- Has Ready Player Me Link: True if the avatar is configured on the website.
- Ready Player Me Link: The avatar link to be used to download.
Nothing is returned, check logs for details on why it failed.
- Description: Update a particular character.

Inputs:
- Char ID: Character ID to be updated.
- New Voice: Voice name or [MALE/FEMALE].
- New Backstory: Updated backstory.
- New Char Name: Name of the character.
To update a subset of properties, such as Voice and Name only, leave the other fields empty and the update will only affect the specified fields with values.
Outputs:
Nothing is returned.
⛔ [On Failure]
Nothing is returned, check logs for details on why it failed.
Last modified 6mo ago