Orgs
Update an organization
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
Orgs
Update an organization
PATCH
/
orgs
curl --request PATCH \
--url https://app.happyrobot.ai/api/v1/orgs \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '{
"id": "<string>",
"name": "Happyrobot",
"description": "A company that builds AI assistants.",
"api_key": "<string>",
"image_url": "<string>",
"members": [
{
"email": "jsmith@example.com",
"role": "Representative"
}
],
"twilio_credentials": {
"account_sid": "ACXXXXXXXXXXXXXXXXXXXXXXXX",
"auth_token": "your_auth_token",
"api_key_id": "SKXXXXXXXXXXXXXXXXXXXXXXXX",
"api_key_secret": "your_api_key_secret"
},
"attributes": [
"Logistics",
"Warehousing"
]
}'
{
"id": "<string>",
"name": "Happyrobot",
"description": "A company that builds AI assistants.",
"api_key": "<string>",
"image_url": "<string>",
"members": [
{
"email": "jsmith@example.com",
"role": "Representative"
}
],
"twilio_credentials": {
"account_sid": "ACXXXXXXXXXXXXXXXXXXXXXXXX",
"auth_token": "your_auth_token",
"api_key_id": "SKXXXXXXXXXXXXXXXXXXXXXXXX",
"api_key_secret": "your_api_key_secret"
},
"attributes": [
"Logistics",
"Warehousing"
]
}
Headers
Your API key for authentication. Use Bearer format.
Example:
"Bearer API_KEY"
Body
application/json
Body
The body is of type object
.
Response
200
application/json
200
The response is of type object
.
Was this page helpful?
curl --request PATCH \
--url https://app.happyrobot.ai/api/v1/orgs \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '{
"id": "<string>",
"name": "Happyrobot",
"description": "A company that builds AI assistants.",
"api_key": "<string>",
"image_url": "<string>",
"members": [
{
"email": "jsmith@example.com",
"role": "Representative"
}
],
"twilio_credentials": {
"account_sid": "ACXXXXXXXXXXXXXXXXXXXXXXXX",
"auth_token": "your_auth_token",
"api_key_id": "SKXXXXXXXXXXXXXXXXXXXXXXXX",
"api_key_secret": "your_api_key_secret"
},
"attributes": [
"Logistics",
"Warehousing"
]
}'
{
"id": "<string>",
"name": "Happyrobot",
"description": "A company that builds AI assistants.",
"api_key": "<string>",
"image_url": "<string>",
"members": [
{
"email": "jsmith@example.com",
"role": "Representative"
}
],
"twilio_credentials": {
"account_sid": "ACXXXXXXXXXXXXXXXXXXXXXXXX",
"auth_token": "your_auth_token",
"api_key_id": "SKXXXXXXXXXXXXXXXXXXXXXXXX",
"api_key_secret": "your_api_key_secret"
},
"attributes": [
"Logistics",
"Warehousing"
]
}