Create a support ticket for personalized assistance when the chatbot cannot resolve an issue and escalation to a human agent is required. The API returns a ticket_id for follow-up.
Accept Example Content-Type Example contact object required cartContext object required history array required locale string required success boolean timestamp string requestId string data object https://cloud.hostup.se/api/cart/chatbot/handoff curl -X POST "https://cloud.hostup.se/api/cart/chatbot/handoff" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"contact": {
"phone": "string",
"email": "string",
"name": "string",
"company": "string"
},
"cartContext": {
"vps_id": 0
},
"history": [
{
"content": "string",
"role": "string"
}
],
"locale": "string"
}' {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"success": true,
"ticket_id": 0
}
} {
"contact": {
"phone": "string",
"email": "string",
"name": "string",
"company": "string"
},
"cartContext": {
"vps_id": 0
},
"history": [
{
"content": "string",
"role": "string"
}
],
"locale": "string"
}