You can implement an API that will create a ticket by setting ticket specific properties in Help Desk.
Endpoint URL:
The endpoint URL given below is used to call the rest API. POST will be used as the request method. JSON will be your request format.
POST https://www.proprofsdesk.com/app/api/v1/create/ticket/
Sample Code | JSON
Request Parameters
Parameter | Required | Type | Description |
---|---|---|---|
token | Yes | String | Your ProProfs account email that you have used to register the Help Desk account. |
Yes | String | Email address of the requester. | |
name | No | String | Name of the requester. |
phone | No | String | Phone number of the requester. |
subject | Yes | String | ID of the staff to whom the ticket has been assigned. The ID is associated with every staff on the list. |
priority | No | String | Custom fields for the ticket. It's an array of objects consisting of id and value properties. |
Response Format
JSON
Example Response [Success]
Response Field | Description |
---|---|
status | Success when the ticket created successfully. |
ticket_id | The ID of the newly created ticket. |
Example Response [Failed]
Response Field | Description |
---|---|
status | Error when the operation was failed. |
description | The error text to describe the error. |