Agents
Create a new agent
Calls
- GETGet Calls
- GETGet Call
- GETGet Transcript
- GETGet current page
- GETList Call tags
- GETReturn a pre-signed URL to the call recording
- GETReturn the logs for a call
- GETGet the usage for the given organization
- POSTStop Call
- POSTCancel Call
- POSTAdd a note to a call
- POSTTrigger async export of calls CSV to requester email
- PATCHUpdate a note on a call
- PATCHSet call as viewed by the user making the request
- PATCHSet call rating
- DELDelete a note from a call
- DELDelete a call
Dial
Orgs
Numbers
Usecases
Agents
Agents
Create a new agent
POST
/
agents
curl --request POST \
--url https://app.happyrobot.ai/api/v1/agents \
--header 'authorization: <authorization>'
{
"id": "<string>",
"organization_id": "<string>",
"name": "<string>",
"languages": [
"english"
],
"voice_id": "<string>",
"created_at": "2024-01-01T01:01:01Z"
}
Headers
Your API key for authentication. Use Bearer format.
Example:
"Bearer API_KEY"
Response
200
application/json
200
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://app.happyrobot.ai/api/v1/agents \
--header 'authorization: <authorization>'
{
"id": "<string>",
"organization_id": "<string>",
"name": "<string>",
"languages": [
"english"
],
"voice_id": "<string>",
"created_at": "2024-01-01T01:01:01Z"
}