Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
ID of the customer interaction to fetch
Response
Customer interaction details
curl --request GET \
--url https://api.alpharun.com/api/v1/customer-interactions/{CUSTOMER_INTERACTION_ID} \
--header 'Authorization: Bearer <token>'
{
"data": {
"customer_interaction": {
"id": "abc123",
"data_extraction_fields": [
{
"key": "customer_satisfaction_score",
"name": "Customer Satisfaction Score",
"type": "number",
"value": 4.5
},
{
"key": "issue_resolved",
"name": "Issue Resolved",
"type": "boolean",
"value": true
}
],
"account": {
"id": "account123",
"ext_id": "ext_account_456"
},
"contacts": [
{
"id": "contact123",
"first_name": "John",
"last_name": "Doe",
"email": "[email protected]",
"phone_number": "+1234567890",
"ext_id": "ext_contact_789",
"custom_fields": [
{
"key": "preferred_contact_method",
"name": "Preferred Contact Method",
"type": "text",
"value": "email"
}
]
}
]
}
}
}
Return the customer interaction for the given ID.
curl --request GET \
--url https://api.alpharun.com/api/v1/customer-interactions/{CUSTOMER_INTERACTION_ID} \
--header 'Authorization: Bearer <token>'
{
"data": {
"customer_interaction": {
"id": "abc123",
"data_extraction_fields": [
{
"key": "customer_satisfaction_score",
"name": "Customer Satisfaction Score",
"type": "number",
"value": 4.5
},
{
"key": "issue_resolved",
"name": "Issue Resolved",
"type": "boolean",
"value": true
}
],
"account": {
"id": "account123",
"ext_id": "ext_account_456"
},
"contacts": [
{
"id": "contact123",
"first_name": "John",
"last_name": "Doe",
"email": "[email protected]",
"phone_number": "+1234567890",
"ext_id": "ext_contact_789",
"custom_fields": [
{
"key": "preferred_contact_method",
"name": "Preferred Contact Method",
"type": "text",
"value": "email"
}
]
}
]
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ID of the customer interaction to fetch
Customer interaction details
Show child attributes