POST
/
api
/
v1
/
sessions
/
{id}
/
tasks
curl --request POST \
  --url https://api.avaturn.live/api/v1/sessions/{id}/tasks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "text": "<string>"
}'
{
  "task_id": "<string>"
}

Authorizations

Authorization
string
header
required

Project developer API token

Path Parameters

id
string
required

Session ID

Body

application/json
text
string
required

Text to say

Response

200
application/json
Successful Response
task_id
string
required

Speech task ID