Skip to content

Developer track

URLs & REST APIs

Pull data straight from the address bar or any HTTP client.

3 sections · 28 entries

URL tricks

Bookmark the ones you use most. Swap incident for any table.

List with a filter applied
Blank new-record form
Open a specific record
Open a record by number instead of sys_idHidden gem
List or form in a specific view
Open a page inside the full UI frame
Export the list as CSV (also ?EXCEL, ?XML, ?PDF)
One record as XML, every fieldHidden gem
Quick JSON dump via the JSONv2 processor (if enabled)Hidden gem

REST API endpoints

Out-of-box APIs every integration developer should know. Try them in the REST API Explorer first.

Table API: read records
Table API: create a record (JSON body)
Table API: update only the fields you send
Aggregate API: counts without pulling rowsHidden gem
Import Set API: insert through a transform map (the safe way to load data)
Attachment API: list attachment metadata
Attachment API: upload a file
Batch API: several REST calls in one requestHidden gem
CMDB Instance API: CIs with relationships
Service Catalog API: order an item

Table API parameters

Add these to any Table API call to get exactly the payload you need.

ParameterWhat it doesExample
sysparm_queryEncoded query filter
sysparm_fieldsOnly these columns: smaller, faster payloads
sysparm_limitMax rows per page
sysparm_offsetSkip rows, for paging
sysparm_display_valuetrue, false or all (value + display)
sysparm_exclude_reference_linkDrop the link object on reference fields
sysparm_suppress_pagination_headerSkip the Link header on big pulls
sysparm_input_display_valueSet reference/choice fields by display value
sysparm_viewReturn the fields of a UI view

Snippets are provided as-is under the MIT licence, without warranty. Test in a sub-production instance first. ServiceNow is a trademark of ServiceNow, Inc.; this page is independent and not affiliated with or endorsed by ServiceNow.