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
Show child attributes
ID of the customer interaction
List of contacts associated with the customer interaction
Show child attributes
ID of the contact
First name of the contact
Last name of the contact
Email address of the contact
Phone number of the contact
External ID of the contact
Custom fields associated with the contact
Show child attributes
Machine-readable key of the custom field
Human-friendly name of the custom field
Data type of the custom field
text, date_and_time, number, boolean Value of the custom field
Data extraction fields processed for the customer interaction. You can configure your data extraction fields in your Alpharun company settings.
Show child attributes
Machine-readable key of the data extraction field
Human-friendly name of the data extraction field
Data type of the field
text, date_and_time, number, boolean Value of the data extraction field