curl -X POST 'https://app.reddy.io/api/v1/call/add_tags' \
-H 'Authorization: Bearer your_api_key' \
-H 'Content-Type: application/json' \
-d '{
"conversation_id": "12345",
"agent_email": "agent@company.com",
"tags": [
{
"key": "customer_type",
"value": "premium",
"type": "string"
},
{
"key": "satisfaction_score",
"value": 5,
"type": "integer"
},
{
"key": "issue_resolved",
"value": true,
"type": "boolean"
}
]
}'
{
"success": true
}
Call Endpoints
Add Call Tags
Adds tags (metadata) to a call for use in filters, QA, and reporting.
POST
/
api
/
v1
/
call
/
add_tags
curl -X POST 'https://app.reddy.io/api/v1/call/add_tags' \
-H 'Authorization: Bearer your_api_key' \
-H 'Content-Type: application/json' \
-d '{
"conversation_id": "12345",
"agent_email": "agent@company.com",
"tags": [
{
"key": "customer_type",
"value": "premium",
"type": "string"
},
{
"key": "satisfaction_score",
"value": 5,
"type": "integer"
},
{
"key": "issue_resolved",
"value": true,
"type": "boolean"
}
]
}'
{
"success": true
}
Check out our Add Call Metadata guide for examples of using this endpoint.
409 when two accounts share one address. agent_email is matched without
regard to capitalisation, so Jane.Doe@Company.com and jane.doe@company.com
reach the same agent. If more than one active user in your company holds that
address, Reddy cannot tell them apart and will not guess: the request returns
409 with conflicting_user_ids, and nothing is recorded. Merge the duplicate
accounts, then resend.Supported Data Types
- string
- integer
- boolean
curl -X POST 'https://app.reddy.io/api/v1/call/add_tags' \
-H 'Authorization: Bearer your_api_key' \
-H 'Content-Type: application/json' \
-d '{
"conversation_id": "12345",
"agent_email": "agent@company.com",
"tags": [
{
"key": "customer_type",
"value": "premium",
"type": "string"
},
{
"key": "satisfaction_score",
"value": 5,
"type": "integer"
},
{
"key": "issue_resolved",
"value": true,
"type": "boolean"
}
]
}'
{
"success": true
}
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Response
OK
Tags were successfully added to the call
Was this page helpful?