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
- GETGets an organization's usage
- 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
Usecases
Get use cases
Get use cases for the organization
GET
/
use-cases
curl --request GET \
--url https://platform.happyrobot.ai/api/v1/use-cases \
--header 'authorization: <authorization>' \
--header 'x-organization-id: <x-organization-id>'
[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"icon": "<string>",
"name": "<string>",
"source_use_case_version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"order": 123,
"run_columns": [
{
"group_id": "<string>",
"variable_id": "<string>",
"name": "<string>"
}
],
"timestamp": "2023-11-07T05:31:56Z",
"versions": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"use_case_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"version_number": 123,
"name": "<string>",
"is_published": true,
"is_live": true,
"source_version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z",
"published_at": "2023-11-07T05:31:56Z",
"is_deleted": true,
"description": "<string>",
"created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
}
]
Headers
Your API key for authentication. Use Bearer format.
Example:
"Bearer API_KEY"
The organization ID to use for the request. Required if your user is associated to more than one organization.
Response
200
application/json
200
Maximum length:
256
Maximum length:
256
Maximum length:
256
Maximum length:
256
Maximum length:
256
Was this page helpful?
curl --request GET \
--url https://platform.happyrobot.ai/api/v1/use-cases \
--header 'authorization: <authorization>' \
--header 'x-organization-id: <x-organization-id>'
[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"icon": "<string>",
"name": "<string>",
"source_use_case_version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"order": 123,
"run_columns": [
{
"group_id": "<string>",
"variable_id": "<string>",
"name": "<string>"
}
],
"timestamp": "2023-11-07T05:31:56Z",
"versions": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"use_case_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"version_number": 123,
"name": "<string>",
"is_published": true,
"is_live": true,
"source_version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z",
"published_at": "2023-11-07T05:31:56Z",
"is_deleted": true,
"description": "<string>",
"created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
}
]