Get Tickets
curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/tools/#SERVICENOW_GET_TICKETS' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"tool": "SERVICENOW_GET_TICKETS",
"parameters": {
"paginationParameters": {
"pageOffset": 123
}
}
}
'import requests
url = "https://actionkit.useparagon.com/projects/{project_id}/tools/#SERVICENOW_GET_TICKETS"
payload = {
"tool": "SERVICENOW_GET_TICKETS",
"parameters": { "paginationParameters": { "pageOffset": 123 } }
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
tool: 'SERVICENOW_GET_TICKETS',
parameters: {paginationParameters: {pageOffset: 123}}
})
};
fetch('https://actionkit.useparagon.com/projects/{project_id}/tools/#SERVICENOW_GET_TICKETS', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://actionkit.useparagon.com/projects/{project_id}/tools/#SERVICENOW_GET_TICKETS",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'tool' => 'SERVICENOW_GET_TICKETS',
'parameters' => [
'paginationParameters' => [
'pageOffset' => 123
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://actionkit.useparagon.com/projects/{project_id}/tools/#SERVICENOW_GET_TICKETS"
payload := strings.NewReader("{\n \"tool\": \"SERVICENOW_GET_TICKETS\",\n \"parameters\": {\n \"paginationParameters\": {\n \"pageOffset\": 123\n }\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://actionkit.useparagon.com/projects/{project_id}/tools/#SERVICENOW_GET_TICKETS")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"tool\": \"SERVICENOW_GET_TICKETS\",\n \"parameters\": {\n \"paginationParameters\": {\n \"pageOffset\": 123\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://actionkit.useparagon.com/projects/{project_id}/tools/#SERVICENOW_GET_TICKETS")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"tool\": \"SERVICENOW_GET_TICKETS\",\n \"parameters\": {\n \"paginationParameters\": {\n \"pageOffset\": 123\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"result": [
{
"parent": "",
"made_sla": "true",
"caused_by": "",
"watch_list": "",
"upon_reject": "cancel",
"sys_updated_on": "2016-12-14 02:46:44",
"child_incidents": "0",
"hold_reason": "",
"origin_table": "",
"task_effective_number": "INC0000060",
"approval_history": "",
"number": "INC0000060",
"resolved_by": {
"link": "https://example.service-now.com/api/now/v2/table/sys_user/afed78e9ba020b8bb2af1f006f24c9a9",
"value": "afed78e9ba020b8bb2af1f006f24c9a9"
},
"sys_updated_by": "employee",
"opened_by": {
"link": "https://example.service-now.com/api/now/v2/table/sys_user/5446d97e251bafc913cb13fea40521a9",
"value": "5446d97e251bafc913cb13fea40521a9"
},
"user_input": "",
"sys_created_on": "2016-12-12 15:19:57",
"sys_domain": {
"link": "https://example.service-now.com/api/now/v2/table/sys_user_group/global",
"value": "global"
},
"state": "7",
"route_reason": "",
"sys_created_by": "employee",
"knowledge": "false",
"order": "",
"calendar_stc": "102197",
"closed_at": "2016-12-14 02:46:44",
"cmdb_ci": {
"link": "https://example.service-now.com/api/now/v2/table/cmdb_ci/92ec024110e74e5373b6962511b6e91d",
"value": "92ec024110e74e5373b6962511b6e91d"
},
"delivery_plan": "",
"contract": "",
"impact": "2",
"active": "false",
"work_notes_list": "",
"business_service": {
"link": "https://example.service-now.com/api/now/v2/table/cmdb_ci_service/151d70c7405484d798502713f5037db2",
"value": "151d70c7405484d798502713f5037db2"
},
"business_impact": "",
"priority": "3",
"sys_domain_path": "/",
"rfc": "",
"time_worked": "",
"expected_start": "",
"opened_at": "2016-12-12 15:19:57",
"business_duration": "1970-01-01 08:00:00",
"group_list": "",
"work_end": "",
"caller_id": {
"link": "https://example.service-now.com/api/now/v2/table/sys_user/5446d97e251bafc913cb13fea40521a9",
"value": "5446d97e251bafc913cb13fea40521a9"
},
"reopened_time": "",
"resolved_at": "2016-12-13 21:43:14",
"approval_set": "",
"subcategory": "email",
"work_notes": "",
"universal_request": "",
"short_description": "Unable to connect to email",
"close_code": "Solved (Permanently)",
"correlation_display": "",
"delivery_task": "",
"work_start": "",
"assignment_group": {
"link": "https://example.service-now.com/api/now/v2/table/sys_user_group/2b64c0b29c33208479ad2a0fa652a03f",
"value": "2b64c0b29c33208479ad2a0fa652a03f"
},
"additional_assignee_list": "",
"business_stc": "28800",
"cause": "",
"description": "I am unable to connect to the email server. It appears to be down.",
"origin_id": "",
"calendar_duration": "1970-01-02 04:23:17",
"close_notes": "This incident is resolved.",
"notify": "1",
"service_offering": "",
"sys_class_name": "incident",
"closed_by": {
"link": "https://example.service-now.com/api/now/v2/table/sys_user/5446d97e251bafc913cb13fea40521a9",
"value": "5446d97e251bafc913cb13fea40521a9"
},
"follow_up": "",
"parent_incident": "",
"sys_id": "f4c230cfc9cf09205c24091e5b16aa78",
"contact_type": "self-service",
"reopened_by": "",
"incident_state": "7",
"urgency": "2",
"problem_id": "",
"company": {
"link": "https://example.service-now.com/api/now/v2/table/core_company/712b0e15c0ef6541e994f64e637c2369",
"value": "712b0e15c0ef6541e994f64e637c2369"
},
"reassignment_count": "2",
"activity_due": "2016-12-13 01:26:36",
"assigned_to": {
"link": "https://example.service-now.com/api/now/v2/table/sys_user/afed78e9ba020b8bb2af1f006f24c9a9",
"value": "afed78e9ba020b8bb2af1f006f24c9a9"
},
"severity": "3",
"comments": "",
"approval": "not requested",
"sla_due": "",
"comments_and_work_notes": "",
"due_date": "",
"sys_mod_count": "15",
"reopen_count": "0",
"sys_tags": "",
"escalation": "0",
"upon_approval": "proceed",
"correlation_id": "",
"location": "",
"category": "inquiry"
},
{
"parent": "",
"made_sla": "true",
"caused_by": "",
"watch_list": "",
"upon_reject": "cancel",
"sys_updated_on": "2026-06-13 10:57:10",
"child_incidents": "1",
"hold_reason": "",
"origin_table": "",
"task_effective_number": "INC0009002",
"approval_history": "",
"number": "INC0009002",
"resolved_by": {
"link": "https://example.service-now.com/api/now/v2/table/sys_user/3fa91b7e4e6dc483508a91b88473a598",
"value": "3fa91b7e4e6dc483508a91b88473a598"
},
"sys_updated_by": "system",
"opened_by": {
"link": "https://example.service-now.com/api/now/v2/table/sys_user/3fa91b7e4e6dc483508a91b88473a598",
"value": "3fa91b7e4e6dc483508a91b88473a598"
},
"user_input": "",
"sys_created_on": "2018-09-16 12:50:05",
"sys_domain": {
"link": "https://example.service-now.com/api/now/v2/table/sys_user_group/global",
"value": "global"
},
"state": "7",
"route_reason": "",
"sys_created_by": "admin",
"knowledge": "false",
"order": "",
"calendar_stc": "114",
"closed_at": "2018-12-10 03:29:08",
"cmdb_ci": "",
"delivery_plan": "",
"contract": "",
"impact": "2",
"active": "false",
"work_notes_list": "",
"business_service": "",
"business_impact": "",
"priority": "3",
"sys_domain_path": "/",
"rfc": "",
"time_worked": "",
"expected_start": "",
"opened_at": "2018-09-16 12:49:23",
"business_duration": "1970-01-01 00:00:00",
"group_list": "",
"work_end": "",
"caller_id": {
"link": "https://example.service-now.com/api/now/v2/table/sys_user/d6ec7df0600798eec2bc23a7ed316e7e",
"value": "d6ec7df0600798eec2bc23a7ed316e7e"
},
"reopened_time": "",
"resolved_at": "2018-09-16 12:51:17",
"approval_set": "",
"subcategory": "",
"work_notes": "",
"universal_request": "",
"short_description": "My computer is not detecting the headphone device",
"close_code": "Solved (Permanently)",
"correlation_display": "",
"delivery_task": "",
"work_start": "",
"assignment_group": "",
"additional_assignee_list": "",
"business_stc": "0",
"cause": "",
"description": "My computer is not detecting the headphone device. It could be an issue with the USB port.",
"origin_id": "",
"calendar_duration": "1970-01-01 00:01:54",
"close_notes": "This is not an issue with the USB port. Replaced the headset to resolve the issue.",
"notify": "1",
"service_offering": "",
"sys_class_name": "incident",
"closed_by": {
"link": "https://example.service-now.com/api/now/v2/table/sys_user/3fa91b7e4e6dc483508a91b88473a598",
"value": "3fa91b7e4e6dc483508a91b88473a598"
},
"follow_up": "",
"parent_incident": "",
"sys_id": "ba79637e2a8a782b721d3c7ad01ffaed",
"contact_type": "",
"reopened_by": "",
"incident_state": "7",
"urgency": "2",
"problem_id": "",
"company": "",
"reassignment_count": "0",
"activity_due": "",
"assigned_to": "",
"severity": "3",
"comments": "",
"approval": "not requested",
"sla_due": "",
"comments_and_work_notes": "",
"due_date": "",
"sys_mod_count": "9",
"reopen_count": "0",
"sys_tags": "",
"escalation": "0",
"upon_approval": "proceed",
"correlation_id": "",
"location": "",
"category": "Hardware"
}
]
}Tools
Get Tickets
POST
/
projects
/
{project_id}
/
tools
/
#SERVICENOW_GET_TICKETS
Get Tickets
curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/tools/#SERVICENOW_GET_TICKETS' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"tool": "SERVICENOW_GET_TICKETS",
"parameters": {
"paginationParameters": {
"pageOffset": 123
}
}
}
'import requests
url = "https://actionkit.useparagon.com/projects/{project_id}/tools/#SERVICENOW_GET_TICKETS"
payload = {
"tool": "SERVICENOW_GET_TICKETS",
"parameters": { "paginationParameters": { "pageOffset": 123 } }
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
tool: 'SERVICENOW_GET_TICKETS',
parameters: {paginationParameters: {pageOffset: 123}}
})
};
fetch('https://actionkit.useparagon.com/projects/{project_id}/tools/#SERVICENOW_GET_TICKETS', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://actionkit.useparagon.com/projects/{project_id}/tools/#SERVICENOW_GET_TICKETS",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'tool' => 'SERVICENOW_GET_TICKETS',
'parameters' => [
'paginationParameters' => [
'pageOffset' => 123
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://actionkit.useparagon.com/projects/{project_id}/tools/#SERVICENOW_GET_TICKETS"
payload := strings.NewReader("{\n \"tool\": \"SERVICENOW_GET_TICKETS\",\n \"parameters\": {\n \"paginationParameters\": {\n \"pageOffset\": 123\n }\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://actionkit.useparagon.com/projects/{project_id}/tools/#SERVICENOW_GET_TICKETS")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"tool\": \"SERVICENOW_GET_TICKETS\",\n \"parameters\": {\n \"paginationParameters\": {\n \"pageOffset\": 123\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://actionkit.useparagon.com/projects/{project_id}/tools/#SERVICENOW_GET_TICKETS")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"tool\": \"SERVICENOW_GET_TICKETS\",\n \"parameters\": {\n \"paginationParameters\": {\n \"pageOffset\": 123\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"result": [
{
"parent": "",
"made_sla": "true",
"caused_by": "",
"watch_list": "",
"upon_reject": "cancel",
"sys_updated_on": "2016-12-14 02:46:44",
"child_incidents": "0",
"hold_reason": "",
"origin_table": "",
"task_effective_number": "INC0000060",
"approval_history": "",
"number": "INC0000060",
"resolved_by": {
"link": "https://example.service-now.com/api/now/v2/table/sys_user/afed78e9ba020b8bb2af1f006f24c9a9",
"value": "afed78e9ba020b8bb2af1f006f24c9a9"
},
"sys_updated_by": "employee",
"opened_by": {
"link": "https://example.service-now.com/api/now/v2/table/sys_user/5446d97e251bafc913cb13fea40521a9",
"value": "5446d97e251bafc913cb13fea40521a9"
},
"user_input": "",
"sys_created_on": "2016-12-12 15:19:57",
"sys_domain": {
"link": "https://example.service-now.com/api/now/v2/table/sys_user_group/global",
"value": "global"
},
"state": "7",
"route_reason": "",
"sys_created_by": "employee",
"knowledge": "false",
"order": "",
"calendar_stc": "102197",
"closed_at": "2016-12-14 02:46:44",
"cmdb_ci": {
"link": "https://example.service-now.com/api/now/v2/table/cmdb_ci/92ec024110e74e5373b6962511b6e91d",
"value": "92ec024110e74e5373b6962511b6e91d"
},
"delivery_plan": "",
"contract": "",
"impact": "2",
"active": "false",
"work_notes_list": "",
"business_service": {
"link": "https://example.service-now.com/api/now/v2/table/cmdb_ci_service/151d70c7405484d798502713f5037db2",
"value": "151d70c7405484d798502713f5037db2"
},
"business_impact": "",
"priority": "3",
"sys_domain_path": "/",
"rfc": "",
"time_worked": "",
"expected_start": "",
"opened_at": "2016-12-12 15:19:57",
"business_duration": "1970-01-01 08:00:00",
"group_list": "",
"work_end": "",
"caller_id": {
"link": "https://example.service-now.com/api/now/v2/table/sys_user/5446d97e251bafc913cb13fea40521a9",
"value": "5446d97e251bafc913cb13fea40521a9"
},
"reopened_time": "",
"resolved_at": "2016-12-13 21:43:14",
"approval_set": "",
"subcategory": "email",
"work_notes": "",
"universal_request": "",
"short_description": "Unable to connect to email",
"close_code": "Solved (Permanently)",
"correlation_display": "",
"delivery_task": "",
"work_start": "",
"assignment_group": {
"link": "https://example.service-now.com/api/now/v2/table/sys_user_group/2b64c0b29c33208479ad2a0fa652a03f",
"value": "2b64c0b29c33208479ad2a0fa652a03f"
},
"additional_assignee_list": "",
"business_stc": "28800",
"cause": "",
"description": "I am unable to connect to the email server. It appears to be down.",
"origin_id": "",
"calendar_duration": "1970-01-02 04:23:17",
"close_notes": "This incident is resolved.",
"notify": "1",
"service_offering": "",
"sys_class_name": "incident",
"closed_by": {
"link": "https://example.service-now.com/api/now/v2/table/sys_user/5446d97e251bafc913cb13fea40521a9",
"value": "5446d97e251bafc913cb13fea40521a9"
},
"follow_up": "",
"parent_incident": "",
"sys_id": "f4c230cfc9cf09205c24091e5b16aa78",
"contact_type": "self-service",
"reopened_by": "",
"incident_state": "7",
"urgency": "2",
"problem_id": "",
"company": {
"link": "https://example.service-now.com/api/now/v2/table/core_company/712b0e15c0ef6541e994f64e637c2369",
"value": "712b0e15c0ef6541e994f64e637c2369"
},
"reassignment_count": "2",
"activity_due": "2016-12-13 01:26:36",
"assigned_to": {
"link": "https://example.service-now.com/api/now/v2/table/sys_user/afed78e9ba020b8bb2af1f006f24c9a9",
"value": "afed78e9ba020b8bb2af1f006f24c9a9"
},
"severity": "3",
"comments": "",
"approval": "not requested",
"sla_due": "",
"comments_and_work_notes": "",
"due_date": "",
"sys_mod_count": "15",
"reopen_count": "0",
"sys_tags": "",
"escalation": "0",
"upon_approval": "proceed",
"correlation_id": "",
"location": "",
"category": "inquiry"
},
{
"parent": "",
"made_sla": "true",
"caused_by": "",
"watch_list": "",
"upon_reject": "cancel",
"sys_updated_on": "2026-06-13 10:57:10",
"child_incidents": "1",
"hold_reason": "",
"origin_table": "",
"task_effective_number": "INC0009002",
"approval_history": "",
"number": "INC0009002",
"resolved_by": {
"link": "https://example.service-now.com/api/now/v2/table/sys_user/3fa91b7e4e6dc483508a91b88473a598",
"value": "3fa91b7e4e6dc483508a91b88473a598"
},
"sys_updated_by": "system",
"opened_by": {
"link": "https://example.service-now.com/api/now/v2/table/sys_user/3fa91b7e4e6dc483508a91b88473a598",
"value": "3fa91b7e4e6dc483508a91b88473a598"
},
"user_input": "",
"sys_created_on": "2018-09-16 12:50:05",
"sys_domain": {
"link": "https://example.service-now.com/api/now/v2/table/sys_user_group/global",
"value": "global"
},
"state": "7",
"route_reason": "",
"sys_created_by": "admin",
"knowledge": "false",
"order": "",
"calendar_stc": "114",
"closed_at": "2018-12-10 03:29:08",
"cmdb_ci": "",
"delivery_plan": "",
"contract": "",
"impact": "2",
"active": "false",
"work_notes_list": "",
"business_service": "",
"business_impact": "",
"priority": "3",
"sys_domain_path": "/",
"rfc": "",
"time_worked": "",
"expected_start": "",
"opened_at": "2018-09-16 12:49:23",
"business_duration": "1970-01-01 00:00:00",
"group_list": "",
"work_end": "",
"caller_id": {
"link": "https://example.service-now.com/api/now/v2/table/sys_user/d6ec7df0600798eec2bc23a7ed316e7e",
"value": "d6ec7df0600798eec2bc23a7ed316e7e"
},
"reopened_time": "",
"resolved_at": "2018-09-16 12:51:17",
"approval_set": "",
"subcategory": "",
"work_notes": "",
"universal_request": "",
"short_description": "My computer is not detecting the headphone device",
"close_code": "Solved (Permanently)",
"correlation_display": "",
"delivery_task": "",
"work_start": "",
"assignment_group": "",
"additional_assignee_list": "",
"business_stc": "0",
"cause": "",
"description": "My computer is not detecting the headphone device. It could be an issue with the USB port.",
"origin_id": "",
"calendar_duration": "1970-01-01 00:01:54",
"close_notes": "This is not an issue with the USB port. Replaced the headset to resolve the issue.",
"notify": "1",
"service_offering": "",
"sys_class_name": "incident",
"closed_by": {
"link": "https://example.service-now.com/api/now/v2/table/sys_user/3fa91b7e4e6dc483508a91b88473a598",
"value": "3fa91b7e4e6dc483508a91b88473a598"
},
"follow_up": "",
"parent_incident": "",
"sys_id": "ba79637e2a8a782b721d3c7ad01ffaed",
"contact_type": "",
"reopened_by": "",
"incident_state": "7",
"urgency": "2",
"problem_id": "",
"company": "",
"reassignment_count": "0",
"activity_due": "",
"assigned_to": "",
"severity": "3",
"comments": "",
"approval": "not requested",
"sla_due": "",
"comments_and_work_notes": "",
"due_date": "",
"sys_mod_count": "9",
"reopen_count": "0",
"sys_tags": "",
"escalation": "0",
"upon_approval": "proceed",
"correlation_id": "",
"location": "",
"category": "Hardware"
}
]
}Provider API: ServiceNow Table API (v2 for list and search Tools, v1 for single-record Tools).
Authorizations
Your Paragon User Token (JWT), which you can generate using your project's signing keys.
Path Parameters
Your Paragon Project ID. You can copy your Project ID from your dashboard URL or by clicking Copy Project ID under the Environment switcher.
Body
application/json
Response
200 - application/json
The ServiceNow Table API response for the list request. The records are in the result array, in the same shape as Get Ticket By ID. The response has no cursor, so it does not say whether more records are available. Pass paginationParameters.pageOffset to load further records.