Authorization: Bearer ********************
curl --location --request POST 'https://api.vpsbg.eu/v1/support/tickets' \
--header 'Accept;' \
--form 'department_id="2"' \
--form 'subject="Example subject"' \
--form 'message="Example message."' \
--form 'attachments[]=@""' \
--form 'service_id=""' \
--form 'service_type=""'
{
"id": 216,
"status": "opened",
"subject": "Server misbehaves",
"created_at": "2024-08-02T11:57:57.000000Z",
"updated_at": "2024-08-02T12:02:18.000000Z",
"department": "tech-support",
"service_label": "ubuntu-16gb - 87.120.8.29",
"service_type": "server",
"service_id": 2747,
"messages": [
{
"id": 50,
"content": "Example reply message.",
"is_customer": true,
"created_at": "2024-10-22T11:54:28.000000Z",
"attachments": [
{
"id": 5,
"name": "first_attachment.png",
"size": 1426,
"mimeType": "image/png"
},
{
"id": 6,
"name": "second_attachment.png",
"size": 1242,
"mimeType": "image/png"
}
]
}
]
}