curl --location --request POST 'http://localhost:3030/platform/api/v1/conversations' \
--header 'api_access_token: <api-key>' \
--header 'Content-Type: application/json; charset=utf-8' \
--data-raw '{
"inbox_id": 1,
"contact_id": 123,
"source_id": "ticket_12345",
"status": "open",
"initial_message": "I need help with my account",
"template_message": "Ticket created. Our team will get back to you shortly.",
"private_note": "Customer reported issue via external ticketing system. Ticket ID: 12345",
"hidden_from_widget": false,
"contact": {
"name": "John Doe",
"email": "john.doe@example.com",
"phone_number": "+1234567890",
"identifier": "user_ext_12345"
},
"additional_attributes": {
"source": "ticketing_system",
"ticket_id": "12345"
},
"custom_attributes": {
"priority": "high",
"category": "billing"
}
}'