Ticket Api

Created by Mohammed Saeed Qureshi, Modified on Wed, 21 Jun, 2023 at 9:20 AM by Mohammed Saeed Qureshi

"Ticket Api" is used to send the ticket details to any desired App with the help of "Zapier". By calling the ticket Api, the ticket details are sent to the "webhook url" provided by Zapier. Once the data is sent to the webhook url , the data is stored/synced in the app that you selected when creating a Zap.



Endpoints

POST  /api/v1/zapier/ticket
Generic


Request Details


Request URL

{{api-domain}}/api/{{version}}/zapier/ticket
Generic


Request Parameters


Fields


1.) Ticket name: 


Possible values
Default Value 
Required 
String
Not specified Yes

       

2.) Priority: 


Possible values
Default Value 
Required 
String
Not specified No

3.) Create date: 


Possible values
Default Value 
Required 
Date
Not specified No


4.) Description: 


Possible values
Default Value 
Required 
String | text 
Not specified No


 

Sample Request

  const request = {
                data: {Ticket details},
                method: "POST",
                action:  'create ticket',
                url: https://dev.app.assistro.co/api/v1/zapier/ticket
  }
JavaScript

Sample Response


Success


{
  "ticket_name": "Ticket Name",
  "priority": "MEDIUM",
  "create_date": "2023-06-17",
  "description": "Ticket Description"
}

JavaScript
Error


 {
     "message": "Looks like there is no active Zap for this action",    
     "success": false,    
     "status": 0
 }



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article