Update bot

An endpoint to retrieve all bots information

PUT https://api.aipixy.com/v1/bot/:uid/

Query Parameters

NameTypeDescription

uid

String

The bot uid you want to update.

Headers

NameTypeDescription

Authorization*

String

Authorization: Bearer YOUR_API_KEY

Request Body

NameTypeDescription

name

String

Name for the bot

gender

String

Options: Male, Female, Non-binary

age

String

Options: Children, Adult, Senior

accent

String

Examples: Southern, British, Australian, etc.

tags

String

Examples: Friendly, Formal, Casual, Dramatic, Corporate, etc.

public

Boolean

Available publicly

curl -X PUT \
     -H "Authorization: Bearer YOUR_API_KEY" \
     -F "uid=BOT_UID" \
     -F "new_voice_path=@C:\your-voice.wav" \
     -F "name=James" \
     -F "gender=" \
     -F "age=" \
     -F "accent=" \
     -F "tags=[]" \
     -F "public=false" \
     https://api.aipixy.com/v1/bot

Last updated