curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#SERVICENOW_CREATE_TICKET' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"action": "SERVICENOW_CREATE_TICKET",
"parameters": {
"ticketType": "incident",
"description": "<string>",
"severity": 1,
"name": "<string>",
"shortDescription": "<string>",
"status": "<string>",
"relatedPartyId": "<string>",
"referredType": "customer",
"channelName": "<string>",
"note": {}
}
}
'curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#SERVICENOW_CREATE_TICKET' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"action": "SERVICENOW_CREATE_TICKET",
"parameters": {
"ticketType": "incident",
"description": "<string>",
"severity": 1,
"name": "<string>",
"shortDescription": "<string>",
"status": "<string>",
"relatedPartyId": "<string>",
"referredType": "customer",
"channelName": "<string>",
"note": {}
}
}
'Your Paragon User Token (JWT), which you can generate using your project's signing keys.
Your Paragon Project ID. You can copy your Project ID from your dashboard URL or by clicking Copy Project ID under the Environment switcher.
Show child attributes
Ticket Type : Specify the type of the ticket to create.
incident, case Full Description : Specify a long-form description of the issue.
Severity : Specify the severity of the issue described by the trouble ticket. Maps to the Priority field.
1, 2, 3, 4, 5 Name : Specify the name of the ticket, typically a short description of the issue. Maps to the Short description field. (example: "Bug report from Customer A")
Short Description : Specify a one-line description of the issue.
Status : Specify the current status of the ticket. Maps to the State field. You may provide the choice label or value. (example: "New")
Related party ID : Specify the sys_id of the related party associated with this ticket. (example: "9d385017c611228701d22104cc95c371")
Related Party Type : Specify the type of the related party associated with this ticket.
customer, customer_contact Channel Name : Specify the name of the contact method. (example: "Virtual Agent")
Notes : Specify a list of work notes and comments to add to the ticket.See the docs (https://docs.servicenow.com/bundle/paris-application-development/page/integrate/inbound-rest/concept/trouble-ticket-open-api.html#trouble-ticket-PATCH-trouble_ticket)for available properties for a note object. (example: " [ { "text": "Note content", "@type": "work_notes" } ]")
Success
Was this page helpful?