Submit a support ticket

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.

Headers

Accept Example
Content-Type Example

Body

required
application/json
contact object required
cartContext object required
history array required
locale string required

Responses

200
success boolean
timestamp string
requestId string
data object
POST https://cloud.hostup.se/api/cart/chatbot/handoff
For AI assistants
cURL
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"
  }'
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "success": true,
    "ticket_id": 0
  }
}
Request Body
{
  "contact": {
    "phone": "string",
    "email": "string",
    "name": "string",
    "company": "string"
  },
  "cartContext": {
    "vps_id": 0
  },
  "history": [
    {
      "content": "string",
      "role": "string"
    }
  ],
  "locale": "string"
}