Numbers
Returns a list of phone numbers
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
Numbers
Returns a list of phone numbers
GET
/
numbers
curl --request GET \
--url https://app.happyrobot.ai/api/v1/numbers \
--header 'authorization: <authorization>'
[
{
"id": "<string>",
"organization_id": "<string>",
"number": "+14155552671",
"sid": "<string>",
"locality": "San Francisco",
"mode": "direct_transfer",
"use_case_config": {
"id": "<string>",
"prompt_routes": [
{
"probability": 50,
"prompt_id": "<string>",
"model_id": "<string>"
}
],
"agent_routes": [
{
"probability": 50,
"id": "<string>"
}
]
},
"title": "<string>"
}
]
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 GET \
--url https://app.happyrobot.ai/api/v1/numbers \
--header 'authorization: <authorization>'
[
{
"id": "<string>",
"organization_id": "<string>",
"number": "+14155552671",
"sid": "<string>",
"locality": "San Francisco",
"mode": "direct_transfer",
"use_case_config": {
"id": "<string>",
"prompt_routes": [
{
"probability": 50,
"prompt_id": "<string>",
"model_id": "<string>"
}
],
"agent_routes": [
{
"probability": 50,
"id": "<string>"
}
]
},
"title": "<string>"
}
]