---
title: "Service Now API: How to Use the REST APIs (2026 Guide)"
description: "Service Now API calls target your instance directly, not a central server. Set up authentication, stay within rate limits, and resolve API errors."
url: https://www.activepieces.com/blog/service-now-api-how-to-use-the-rest-apis-2026-guide
updated: 2026-12-03
---

> Every page on www.activepieces.com is available as markdown: add `.md` to the URL, or send `Accept: text/markdown`. Site index: https://www.activepieces.com/llms.txt

# Service Now API: How to Use the REST APIs (2026 Guide)

By Henrik Larsson · December 3, 2026 · 16 min read · Filed under [Automation tutorials](https://www.activepieces.com/blog/category/automation-tutorials)

**Summary**

ServiceNow exposes four REST APIs on every instance with OAuth authentication, admin-set rate limits, and access control, letting developers read, create, update and delete records.

- Four REST APIs ship on every instance: Table, Import Set, Attachment and Aggregate.
- Rate limits are admin-configured; example shows 10 requests per hour for a user.
- Uploads over 10 MB fail by default; raising to 25 MB requires admin.

You call the ServiceNow API on your own instance, not through a central ServiceNow gateway.

It's a set of REST endpoints served from that instance, reached with its URL and a credential tied to a user account, which is the same footing whether you're writing a script by hand or wiring it into a workflow tool like [Activepieces](https://www.activepieces.com).

The ServiceNow API is the set of REST endpoints, such as the Table API, that each ServiceNow instance exposes so external systems can read, create, update and delete records on that instance, with access governed by the instance's authentication settings, user roles and licence.

**There's no separate API key to buy**, so what you can call is decided by your instance's configuration, your licence and your admin.

This was checked in December 2026 against ServiceNow's developer documentation at developer.servicenow.com, which is the page to re-check before you build on any of it.

## ServiceNow API access fundamentals

### What the API lets you do

**Four REST APIs ship on every instance**, all under `/api/now/`.

Read it as the full surface you can call without installing anything, since anything beyond these is a scripted REST API your own team wrote and therefore owns.

- Table API: reads, creates, updates and deletes records in any table, at `/api/now/table/{tableName}`.
- Import Set API: pushes rows through an import set and its transform map into a target table, at `/api/now/import/{stagingTableName}`.
- Attachment API: uploads, lists and downloads files attached to records, at `/api/now/attachment`.
- Aggregate API: returns counts and statistics over a table without pulling the rows, at `/api/now/stats/{tableName}`.

![A small server box with an arrow carrying a record card into a table of rows, showing Table API records being read…](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/9e7830e7-df7b-46c6-b895-251d78caac5c/service-now-api-how-to-use-the-rest-apis-2026-gu-e437f196.webp)

When a call fails on the Table API, it usually points at a configuration choice rather than a bug, because the API honours whatever the table permits. It does most of the work.

If you're on a licensed instance, that's the one your organisation pays for, and its API behaviour follows its contract and its admin's settings.

A Personal Developer Instance's a free instance for learning and prototyping, which ServiceNow reclaims if it sits idle. Treat it as disposable: build the flow there, but never assume its data, plugins or restrictions match production.

### ServiceNow API roles and ACL permissions

Give an integration user no role on a table and it gets refused; give it broad roles and it can read far more than the job needs. Authentication identifies the caller; roles and access control lists decide what that caller may touch.

![Activepieces workflow builder showing a Send HTTP request step configured with Google Search RapidAPI credentials.](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/da977bec-9b3b-44ea-89dc-d64f009a35fe/opus-clip-integration-how-to-set-it-up-2026-guid-8ea5333c.webp)

Ask your admin for a dedicated service account with the narrowest roles that work, so a leaked credential exposes one integration instead of the instance.

You won't find a per-request charge for these APIs, because ServiceNow doesn't publish one. Cost shows up elsewhere, in your licence and in any limits your admin sets on the instance.

[Activepieces](https://www.activepieces.com) answers the hiring question differently: describe the ServiceNow process in its built-in chat and it publishes a live flow, the same kind of artifact a builder would have wired by hand, so no one has to write a client first.

![Activepieces workflow builder showing a multi-step automation with the Send HTTP request step selected and its…](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/9e36e973-de4a-435f-8912-12e666216b2d/self-host-mistral-ai-enterprise-deployment-guide-3f7fe28d.webp)

That flow sits under the same RBAC and audit logs as every other flow on the platform, human-built or not, and each run leaves a trace an admin can read to see which ACL or limit a call met, no ServiceNow certification needed.

MoneyGram, Moneypenny, Alan and FundingSocieties run it in production.

## ServiceNow API authentication: Basic, OAuth and tokens

Use Basic auth only for testing, OAuth 2.0 through the Application Registry for production, and token-style options only where your release documents them. Every one still calls `/api/now/table/{tableName}` and is bounded by the ACLs of the account behind it.

Basic is cheapest to set up and the worst to run. OAuth costs an afternoon and removes the shared password. The table compares the three on effort, token lifetime, stored credentials and production fit.

| Method | Setup effort | Token lifetime | Password stored | Production fit |
|---|---|---|---|---|
| Basic | Minimal: a user and a header | None; the credential never expires | Yes, in every client | Poor |
| OAuth 2.0 via Application Registry | Moderate: register, then handle token exchange | Short-lived access token plus longer-lived refresh token | Only at first grant | Good |
| API key/token | Depends on release and configuration | Set by your instance | No user password in the client | Good, if supported |

![Three cards side by side: a Basic card with a password sheet taped to a laptop, an OAuth card with a token tag on a service…](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/57841c71-6b5f-4cd1-8683-ea6b5f817c37/service-now-api-how-to-use-the-rest-apis-2026-gu-ff1ebe33.webp)

Treat the table as a starting position, not a guarantee, because your admin controls what each row permits.

If anyone reads a client config or a log, they hold a working login, because Basic sends a username and password with every request. Use a dedicated low-privilege user on a non-production instance.

To register OAuth 2.0 through the Application Registry:

1. In the instance, open System OAuth, then Application Registry.
2. Create an OAuth API endpoint for external clients.
3. Record the client ID and client secret, and set the redirect URL if your grant needs one.
4. Request a token from `/oauth_token.do`, then send it as a Bearer header.
5. Refresh before expiry; lifetimes are configurable on the registry record.

Before you design around key-based inbound authentication, confirm it in the documentation for your release. Newer releases may have it.

For production, choose OAuth, scoped to a service account with minimal roles. It limits the damage of a leaked token and lets your admin revoke access without rotating a human's password.

## A minimal working ServiceNow Table API request

Send a GET to `/api/now/table/incident` with a bearer token and an `Accept: application/json` header, and that's a working request. Success's a JSON body with a `result` key. Your admin's role and ACLs on the incident table decide what that body contains.

### Read ServiceNow incidents with Table API query parameters

```bash
curl -s "https://yourinstance.service-now.com/api/now/table/incident?sysparm_limit=1&sysparm_fields=number,short_description,sys_id" \
 -H "Authorization: Bearer $TOKEN" \
 -H "Accept: application/json"
```

A first test returns one record instead of a large payload, because `sysparm_limit` caps the row count. `sysparm_fields` trims each record to the named columns, which keeps fields you were never meant to see out of your logs.

The response is an object whose `result` array holds the records.

When you get an empty array with a success status, an ACL usually filtered the rows; the table isn't necessarily empty.

### Create a ServiceNow incident with POST

```bash
curl -s -X POST "https://yourinstance.service-now.com/api/now/table/incident" \
 -H "Authorization: Bearer $TOKEN" \
 -H "Content-Type: application/json" \
 -H "Accept: application/json" \
 -d '{"short_description":"API test incident"}'
```

You get a created status and a `result` object, not an array, containing the new record's `sys_id` and `number`. Confirm it by reading that `sys_id` back with a GET against `/api/now/table/incident/{sys_id}`.

When your admin asks what the integration actually sent, the evidence is a run trace of the same call, which shows the request headers, the success status and the step duration. Keep it.

![A completed flow run showing trigger and step execution with HTTP request details and success status](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/bf7801a3-7dea-4788-a83a-1d3dde0fbc59/what-actually-transfers-when-you-migrate-off-aut-3c5ad478.webp)

Three other endpoints are worth knowing:

- `/api/now/import/{staging_table}` loads rows through an import set, so transform maps and validation run before data reaches the target table.
- `/api/now/attachment/file` uploads files against a record, and needs its own permissions.
- `/api/now/stats/incident` returns counts and sums without pulling rows, which keeps reporting calls light.

## ServiceNow API rate limits and quotas

Don't look in a pricing tier for the binding number. Rate limits on a ServiceNow instance come from rules your admin writes, so it's whatever sits in your own rule table. Keep the run trace from the previous step; it shows which limit you hit.

### Rate limit rules set by admins

**10 requests per hour for a single user**, 5 for the itil role and 3 for import_admin, so requests exceeding these will be rejected.

![ServiceNow's example rate-limit rules for incident requests](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/eb4a096d-5687-409b-a277-ffe7f043cc75/service-now-api-how-to-use-the-rest-apis-2026-gu-f4565fd2.svg "Source: ServiceNow")

Those are the illustrative examples in ServiceNow's [inbound REST rate limiting documentation](https://www.servicenow.com/docs/r/xanadu/api-reference/rest-api-explorer/inbound-REST-API-rate-limiting.html), and rules can target a user, a role or an API.

Systems can't rely on the import_admin role for real-time data operations. These are not defaults, but they show that a rule can be tight enough to break a polling flow within minutes.

When a call goes over the limit, it returns HTTP 429 with a Retry-After header, so honour that value instead of retrying blindly. ServiceNow publishes no universal figure, so ask your admin which rule covers your integration user.

![Activepieces workflow builder with HTTP request step selected and its settings panel open showing method, URL, headers, and…](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/9e36e973-de4a-435f-8912-12e666216b2d/self-host-mistral-ai-enterprise-deployment-guide-3f7fe28d.webp)

I can't cite a single instance-wide timeout figure, because ServiceNow documents none. Transaction quota rules, set by the admin, can cancel long-running requests.

A slow, broad query may therefore fail on one instance and pass on another. Filter on indexed fields and request only the columns you need.

### Pagination and result-size limits

Separately from request count, request size is capped.

Per ServiceNow Docs, a bulk payload that fits the scripted default may still fail if you compress it, because the 1 MB gzipped default applies.

Raising the 10 MB default toward the 25 MB maximum is an admin setting, according to ServiceNow Docs, which means **uploads over 10 MB fail by default**. It's a request to your admin, not something you configure from the client.

![A workflow execution interface showing a completed two-step Square OAuth token revocation flow with HTTP configuration](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/ab58d76a-e150-4da2-b368-e9390d90658a/how-to-evaluate-telemetry-dev-llm-observability-bc2ee918.webp)

Page results rather than pulling them in one call, and set a page size well under your instance's cap.

## Common ServiceNow API errors and fixes

Before you read any logs, check the status, because most failures on a paged ServiceNow call trace back to authentication, ACLs, or query shape. The table below maps each one to its usual cause and fix.

| Status | Usual cause | Fix | Docs |
|---|---|---|---|
| 400 | Malformed body or invalid encoded query | Validate JSON and field names | [REST API reference](https://developer.servicenow.com/) |
| 401 | Bad or expired credentials or token | Re-authenticate, refresh the token | [REST API reference](https://developer.servicenow.com/) |
| 403 | Role or ACL denies the operation | Ask your admin for the role | [REST API reference](https://developer.servicenow.com/) |
| 404 | Wrong table name or sys_id, or ACL hides the record | Check the path and visibility | [REST API reference](https://developer.servicenow.com/) |
| 429 | Instance rate limit rule reached | Back off, then retry | [REST API reference](https://developer.servicenow.com/) |
| 500s | Server error, often a business rule or timeout | Narrow the request, read instance logs | [REST API reference](https://developer.servicenow.com/) |
| Empty results | ACLs filter rows silently | Test with an account holding the right role | [REST API reference](https://developer.servicenow.com/) |
| Slow queries | Filter on an unindexed field | Filter on indexed fields, ask admin about indexes | [REST API reference](https://developer.servicenow.com/) |

The rest of this section covers what to do beyond the fix column.

Don't retry a 403. A 401 means the instance doesn't know who you are; a 403 means it does, and the answer's no. Your admin set that role boundary, so request the access instead of working around it.

> Don't retry a 403. A 401 means the instance doesn't know who you are; a 403 means it does, and the answer's no.

When you see a 429, it reflects your instance's policy, because rate limits exist only where your admin configured them. Retry with exponential backoff and jitter.

**Be careful with POST: a timed-out create may have succeeded, so retrying blindly can produce duplicate records.** Look up the record first, or use a correlation field you control.

If the same query returns data for an admin account, the integration user lacks read access: a 200 with an empty result array can mean ACLs removed every row, not that nothing matches.

Slow unindexed queries fail more loudly, usually as timeouts, so filter on indexed fields.

## Call ServiceNow endpoints without code using Activepieces

Activepieces has **751 integrations in its MIT-licensed core**, and when the one you need is missing you can generate it with AI and add it privately to your instance, which means you're never blocked by what's not on that list.

You describe the process in its chat and get a flow you can run and inspect without writing client code.

Neither one changes who's in charge: every call still lands on your instance's REST endpoints, under your admin's access rules and rate limits.

You enter credentials once, in the connection the step uses, and you should treat that connection as a real service account. Give it a dedicated ServiceNow user with only the roles the flow needs.

Then an over-broad token is the admin's problem to catch in review, not something buried in a flow nobody remembers.

Moving to another instance means re-pointing the flow, because a connection also ties it to that one instance's configuration.

### Create and update records with the integration

Take a form submission that opens an incident, the usual example, since the ServiceNow step covers creating and updating records such as incidents.

A form trigger feeds the fields into a create-incident step, and the run trace shows the exact values sent and the response returned.

When a call fails, the trace tells you whether your instance rejected the request, for instance on a missing role, or whether the flow built it wrong.

Check the step list in the integration itself before planning around a specific table or action, because coverage is narrower than the whole API.

Structured automation in Activepieces has retries and schedules, and run history shows what happened to each submission; it sets no limit on how many flows you build, with unlimited flows on every plan including free.

![A workflow canvas showing an Instance Stopped trigger connected to a Revoke Token HTTP request step, with the right panel…](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/6562aaca-2f20-4c5f-929c-5a24b3c9a908/linkedin-api-access-limits-and-errors-in-2026-sc-d387a7d6.webp)

### Call other ServiceNow API endpoints with HTTP

When the integration lacks an action, the HTTP step calls any endpoint path on your instance directly, using the same connection credentials.

You pick the method, path, headers and body, so you keep full reach of the Table API and anything custom your admin has exposed.

Now you own the request shape: field names, query filters and error handling are yours, and you should filter on indexed fields to avoid timeouts.

Keep these calls few and explicit, so the flow stays easy to audit and easy to move elsewhere if you leave.

## Preparation for ServiceNow API development

Work through these seven checks in order, because each one narrows what the next can break. The sequence keeps your first live call small, attributable and reversible.

1. Get a Personal Developer Instance (PDI) or admin access on a non-production instance.
2. Create an integration user with only the roles the flow needs.
3. Register an OAuth application in the instance's Application Registry and use the `/oauth_token.do` endpoint.
4. Ask your admin which rate limit rules apply to that user.
5. Send one minimal request, such as a single-record GET against `/api/now/table/incident`.
6. Add retry with exponential backoff for throttled and transient failures.
7. Recheck the docs for your instance's release before you ship.

The four notes below explain why each check exists.

You depend on that instance's configuration, not a shared vendor cloud, because **every endpoint lives on your instance's hostname**. The Table API at `/api/now/table/{tableName}` reads and writes records on your own instance.

When a call works on a PDI, it proves the shape of the request and nothing about production permissions, because it's a free sandbox for testing whose plugins and data won't match your licensed production instance.

![A child's cardboard toy office with a tiny working door, beside the full-size office whose door is a different shape and…](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/526cefde-01cf-4143-80d7-f1882252374d/service-now-api-how-to-use-the-rest-apis-2026-gu-88495ac7.webp)

When a 403 comes back, it usually means an ACL or missing role, not a broken request. Access control lists (ACLs) are evaluated per request against the integration user. Grant the narrowest role, and avoid reusing a named person's account.

I have no confirmed per-call price for the REST API. Cost and capacity come through your licence and the rate limit rules your admin configures, so ask for those in writing before you design around volume.

## Frequently asked questions

### Is the ServiceNow API free to use?

There's no separate API product to buy, because the REST endpoints ship with your instance. What you can do with them is governed by your licence and your admin's configuration.

Calls consume instance resources and are subject to whatever rate limit rules the admin has set.

Which tables and fields the integration user can touch is decided by its roles and ACLs. Ask your account team or admin in writing what your agreement covers before you build anything that depends on volume.

### Does ServiceNow have a GraphQL API?

Not as the default route: ServiceNow has a GraphQL capability, but it's not the default way integrations talk to an instance. Availability depends on your release and which plugins and applications are active. The Table API and the other REST endpoints remain the established path.

Check with your admin whether GraphQL is enabled, and treat it as an optional extra rather than something to design around. Building on a feature specific to one vendor's platform also deepens your lock-in, so weigh that first.

### Can I use the API on a Personal Developer Instance?

Yes, a Personal Developer Instance exposes the same REST endpoints, which makes it a reasonable place to test authentication and request shapes. It's not your production environment, though. Its data, roles, plugins, and rate limit rules will differ from your company instance.

Even a call that succeeds there can still return a 401 or 403 against production, so confirm behaviour again where the real configuration lives. Never put production credentials into a personal instance.

### How do I find which release my instance runs?

Your admin can read it from the instance's version information in the platform UI. The release matters because endpoint availability, plugin versions, and documented behaviour are tied to it.

Look up the developer documentation for that specific release rather than the newest one. If you're not an admin, ask for the release name along with your integration credentials so the docs you read match the instance you call.

## Related reading

- [Figma API: How to Use the REST API (2026 Guide)](https://www.activepieces.com/blog/figma-api-how-to-use-the-rest-api-2026-guide)
- [Confluence API: Cloud REST v2 vs v1 (2026 Guide)](https://www.activepieces.com/blog/confluence-api-cloud-rest-v2-vs-v1-2026-guide)
- [NetSuite API: A 2026 Guide to REST and SOAP Services](https://www.activepieces.com/blog/netsuite-api-a-2026-guide-to-rest-and-soap-services)

## References

- [ServiceNow](https://www.servicenow.com/docs/r/xanadu/api-reference/rest-api-explorer/inbound-REST-API-rate-limiting.html)
- [ServiceNow Docs](https://www.servicenow.com/docs/r/xanadu/api-reference/rest-api-explorer/r_ControllingMaxRequestSize.html)
