curl --request PATCH \
--url https://app.happyrobot.ai/api/v1/agents/{id} \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '{
"name": "<string>",
"languages": [
"english"
],
"voice_id": "<string>"
}'
{
"id": "<string>",
"organization_id": "<string>",
"name": "<string>",
"languages": [
"english"
],
"voice_id": "<string>",
"created_at": "2024-01-01T01:01:01Z"
}
curl --request PATCH \
--url https://app.happyrobot.ai/api/v1/agents/{id} \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '{
"name": "<string>",
"languages": [
"english"
],
"voice_id": "<string>"
}'
{
"id": "<string>",
"organization_id": "<string>",
"name": "<string>",
"languages": [
"english"
],
"voice_id": "<string>",
"created_at": "2024-01-01T01:01:01Z"
}
Your API key for authentication. Use Bearer format.
"Bearer API_KEY"
ID of the agent.
24
Body
The body is of type object
.
200
The response is of type object
.
Was this page helpful?