I have written a curl command which is creating ticket when I hit that. But I can't send the phone number in the curel command. As per documentation I am using "phone":"9999999999"
but in the ticket I can't find the phone number.
The command I am using:
curl -X POST -H "X-API-Key: MY_API_KEY" -v -d'{"alert":true, "autorespond":false, "source": "API", "topicId":MY_TOPIC_ID, "name": "Lorem Ipsum", "email":"email@example.com", "phone":"9999999999", "subject":"This is a subject", "message":"This is ticket body"}' https://mydomain.com/helpdesk/api/tickets.json
Phone number field is empty:
