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.
| Parameter | What it does | Example |
|---|---|---|
| sysparm_query | Encoded query filter | |
| sysparm_fields | Only these columns: smaller, faster payloads | |
| sysparm_limit | Max rows per page | |
| sysparm_offset | Skip rows, for paging | |
| sysparm_display_value | true, false or all (value + display) | |
| sysparm_exclude_reference_link | Drop the link object on reference fields | |
| sysparm_suppress_pagination_header | Skip the Link header on big pulls | |
| sysparm_input_display_value | Set reference/choice fields by display value | |
| sysparm_view | Return the fields of a UI view |
Nothing on this page matches. Try the search on the hub.
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.