post https://api.richpanel.com/v1/tickets
Use this API to create a new conversation.
{
"ticket": {
"status": "CLOSED",
"comment": {
"sender_type": "customer",
"body": "Test Message"
},
"tags": [
"009a8844-4c94-4546-be2f-de68be9d8c34",
"017ec14f-2845-4160-86a8-7eb1325dc302"
],
"customer_profile": {
"firstName": "Jhon",
"lastName": "Doe"
},
"priority": "LOW",
"subject": "Testing",
"via": {
"channel": "email",
"source": {
"from": {
"address": "[email protected]"
},
"to": {
"address": "[email protected]"
}
}
}
}
}
{
"ticket": {
"status": "OPEN",
"comment": {
"sender_type": "customer",
"body": "Test Message"
},
"tags": [
"009a8844-4c94-4546-be2f-de68be9d8c34",
"017ec14f-2845-4160-86a8-7eb1325dc302"
],
"customer_profile": {
"firstName": "Jhon",
"lastName": "Doe"
},
"priority": "LOW",
"subject": "Testing",
"via": {
"channel": "aircall",
"source": {
"from": {
"id": "+16692668044"
},
"to": {
"id": "+11234567890"
}
}
}
}
}