
By Bohdan Vasylkiv
- CEO & Co-Founder
How ServiceNow integration works: REST and Table API, Scripted REST, IntegrationHub spokes, auth, rate limits and examples. Get expert help.
Picture a normal Monday. A monitoring alert fires, and someone opens an incident in ServiceNow. Then they copy it into Jira and post an update in Teams. When the bug is fixed, someone goes back and closes the incident by hand.
Every one of those steps can happen automatically. You just need to connect the systems.
This guide answers the questions people usually have when they start:
A ServiceNow integration is a connection that lets ServiceNow send data to another system, receive data from it, or trigger actions there.
For example, a monitoring tool can automatically create incidents, or incident updates can appear in a Teams channel.
Most companies run several ServiceNow integrations at once. Each one removes a manual step, and with it, a chance for someone to forget or mistype something.
Data can move in 2 directions.
Inbound. Another system calls ServiceNow. For example, your monitoring tool sends a request to the REST API, and ServiceNow creates an incident.
Outbound. ServiceNow calls another system. For example, a flow creates a Jira issue as soon as an incident is assigned to the dev team.
Click to expandTechnically, almost everything runs over HTTPS with data in JSON. ServiceNow adds its own pieces on top: tables where records live, access rules (ACLs) that decide who can see what, and flows that run actions automatically.
With these basics, every ServiceNow integration comes down to 3 questions: who calls whom, with what data, and under which account.
ServiceNow has five main ways to connect with other systems. Here they are side by side:
The REST API is a set of standard endpoints that come with every instance. They cover tables, attachments, import sets, CMDB, and more.
The one you'll use most is the ServiceNow Table API. It lets you create, read, update, and delete records in almost any table, and the URL always looks the same: /api/now/table/{tableName}.
So to get incidents, you call /api/now/table/incident. For users, it's /api/now/table/sys_user.
Tip: Before writing any code, open the REST API Explorer in your instance (System Web Services > REST > REST API Explorer). You pick a table, set parameters, send the request, and see the response right away. It also generates sample code in several languages. This is the fastest way to get comfortable with the ServiceNow API.
The Table API gives outside systems direct access to your tables. Sometimes that's not what you want.
You might want one call that creates an incident, links it to a configuration item, and returns only the ticket number. Or you might not want external systems to know how your tables are structured.
In these cases, you build a Scripted REST API. You create your own endpoint inside ServiceNow, write the logic in server-side JavaScript, and decide exactly what the request accepts and what it returns. The other system then calls a clean URL like /api/acme/v1/create_ticket.
Keep in mind: you get more control, but you also get more code to maintain.
IntegrationHub adds integration actions to Flow Designer (now part of Workflow Studio). These actions come in packages called spokes. There are spokes for Jira, Slack, Microsoft Teams, Azure AD, Salesforce, Workday, and hundreds of other tools.
The main benefit of the ServiceNow Integration Hub is that an admin can build an integration from ready-made steps, without writing HTTP calls. The spoke handles connection setup, pagination, and many errors.
Before you plan anything around a spoke, check your license. IntegrationHub comes in four tiers: Starter, Standard, Professional, and Enterprise. Starter is free but limited to 1,000,000 transactions per year. Many spokes are only available in the paid tiers.
Import Sets are for loading data in bulk. Records first land in a staging table. Then a transform map moves them to the target table. This extra step lets you clean and check data before it reaches production tables.
MID Server is a small Java application that you install inside your own network. It connects to your instance from inside your network, so you don't have to open inbound firewall ports. Through it, ServiceNow can reach internal databases, LDAP, on-premises apps, and file shares.
Together, these two are the standard choice for ServiceNow data integration with older internal systems.
ServiceNow still supports SOAP because some older enterprise systems use nothing else. For new integrations, choose REST: it's simpler, easier to debug, and better documented. Use SOAP only if the other system leaves you no choice.
Every request needs to show who is sending it. ServiceNow supports three main options. Your choice affects both security and future maintenance.
The client sends a username and password with every request.
It's fine for quick tests on a developer instance. In production, it's a weak option: passwords end up in scripts and logs, and a password change breaks the integration. ServiceNow is also tightening Basic auth for API calls, so on newer instances it may only work for accounts marked "Web service access only."
This is the right choice for production. The setup takes four steps:
/oauth_token.do.Authorization: Bearer <token> header with every request.Since the Washington DC release, ServiceNow supports the client credentials grant, which works well for system-to-system integrations. It's off by default, so an admin has to turn it on with a system property first. Tokens expire automatically; you can revoke them at any time and limit what each client can do. The OAuth inbound guide explains which grant type fits which case.
Click to expandWith mutual TLS, both sides show certificates when the connection starts. ServiceNow knows exactly which machine is calling, and no shared password is involved.
Banks, healthcare companies, and government agencies often require this. Setup takes more work, since you'll need to track certificate expiry dates.
All examples below use the Table API and assume you already have an OAuth token.
Say you need the five newest active incidents with priority 1:
GET /api/now/table/incident?sysparm_query=active=true^priority=1^ORDERBYDESCsys_created_on&sysparm_limit=5&sysparm_fields=number,short_description,state
Authorization: Bearer <token>
Accept: application/json
Click to expandParameters you'll use all the time:
sysparm_query filters records. The easiest way to build a query: set up a filter on a list in the ServiceNow UI, right-click the breadcrumb, and copy the query.sysparm_fields returns only the fields you name. Responses get smaller and faster.sysparm_limit and sysparm_offset split large results into pages.sysparm_display_value=true returns readable values (like "John Smith") instead of internal sys_ids.To create an incident, send a POST request with JSON:
POST /api/now/table/incident
Content-Type: application/json
{"short_description": "Payment service down", "urgency": "1", "impact": "1"}
You'll get back the new record with its sys_id. Save it, because you'll need it to update the record:
PATCH /api/now/table/incident/{sys_id}
{"state": "2", "work_notes": "Investigating on our side"}
PATCH changes only the fields you send. Everything else stays as it was.
To upload a file, use the Attachment API. Send a POST to /api/now/attachment/file and pass the table name, the record's sys_id, and the file name as query parameters.
To load a lot of records at once, use the Import Set API: /api/now/import/{staging_table}. ServiceNow runs the transform map for you and returns which records were created, updated, or skipped. This is much easier on your instance than thousands of separate Table API calls.
The full list of parameters is in the official ServiceNow API documentation.
If something goes wrong, the response code usually tells you why:
Yes, ServiceNow has limits.
Admins can set rate limit rules for incoming REST requests: for a specific user, for a role, or for everyone. Limits are usually counted per hour. When a client goes over, ServiceNow returns HTTP 429. The response headers show the limit and when it resets, so your code knows how long to wait.
There are also limits you won't see in the settings. Each instance can process only so many API requests at a time, and very long requests may be canceled.
How to stay well within the limits:
Your integration shares the instance with every agent in the UI. If the ServiceNow API gets overloaded, people feel it too.
These are the ServiceNow integrations companies ask for most often.
Support works in ServiceNow, and developers work in Jira. Without a connection, people chase each other for updates. The Jira spoke lets ServiceNow flows create and update Jira issues. For full two-way sync, including comments and status changes, teams usually add webhooks from Jira that call a Scripted REST API in ServiceNow.
Here the goal is usually customer context. Agents in ServiceNow see account details from Salesforce, and sales reps see open cases before they call a client. The approach is the same as with any CRM and ERP integration: decide which system owns each field, then sync the rest from there.
Click to expandThe Teams spoke sends notifications, creates chats for major incidents, and lets people approve requests right inside Teams. The SharePoint spoke helps with documents, for example, saving reports or pulling knowledge files into ServiceNow.
This is also a good place for agentic workflow automation. An AI agent can read a request in chat, collect the details it needs, and start the right flow without a person in the middle.
When someone joins, changes roles, or leaves, Workday should trigger the right steps in ServiceNow: accounts, equipment, access, offboarding. The Workday spoke covers the standard events. If you have custom fields or a complex org structure, expect extra mapping work.
Answer these four questions, and the choice usually becomes clear.
1. Is there a spoke for your tool, and does your license include it? If yes, start with the spoke. It's quick to set up, and an admin can maintain it without a developer. Another plus of ServiceNow Integration Hub spokes: ServiceNow maintains them and releases updates through the Store, so you don't have to rewrite the integration yourself.
2. Do you need logic the spoke can't handle? Unusual field mapping, routing based on conditions, several steps in one transaction? Then you need a Scripted REST API or a custom flow.
3. Is the other system inside your network? Use MID Server and Import Sets.
4. Is there a third-party connector on the market? It can save time. Before you buy, check the price and who supports it.
A custom ServiceNow API integration gives you full control. It also makes you responsible for monitoring, versions, and fixes. If you have developers for this, great. If not, bring in outside help.
Incora builds custom connectors, Scripted REST APIs, and flows for cases where spokes aren't enough. We also fix existing integrations that keep breaking. You can see how we work on our ServiceNow integration services page.
Click to expandThese habits work for any method and save you hours of troubleshooting later.
Don't run an integration under a real employee's account. Create a separate user, mark it as "Web service access only" so nobody can log in to the UI with it, and give it only the roles it needs.
This way, you always know which system made a change, and nothing breaks when an employee leaves.
Networks fail, tokens expire, instances go down for upgrades. So:
Click to expandBuild and test on a dev or test instance first. If you can, clone production data there so that you can catch real edge cases. Move changes to production with update sets or through source control.
Before each ServiceNow upgrade, run your integration tests again. A changed field or API version can quietly break a sync. Check the ServiceNow REST API documentation for your release to see what changed.
Click to expandA good ServiceNow integration starts with picking the right method:
Then add the basics: OAuth, a separate integration user, retries, and logging. With these in place, an integration runs quietly for years.
We can help you figure out what's actually slowing you down and what to build first.
Other systems call ServiceNow through its REST endpoints. ServiceNow calls them back through outbound REST, IntegrationHub spokes, or a MID Server. Data usually travels as JSON over HTTPS.
The recommended option is OAuth 2.0. Register your client in the Application Registry, get a token at /oauth_token.do, and send it in the Authorization: Bearer header. Basic auth works for testing, and mutual TLS fits environments with strict security rules.
It’s a REST endpoint that lets you create, read, update, and delete records in almost any ServiceNow table. The URL format is /api/now/table/{tableName}.
It’s your own endpoint built inside ServiceNow with server-side JavaScript. You decide what it accepts, what logic runs, and what it returns. The standard ServiceNow REST API endpoints cover common tasks, and Scripted REST handles everything else.
It’s a module that adds ready-made integration actions (spokes) to Flow Designer. The ServiceNow Integration Hub lets admins connect Jira, Teams, Workday, and other tools with little or no code. Many spokes are only available in the paid tiers.
Yes. Admins can set limits per user, per role, or for everyone. Over the limit, ServiceNow returns HTTP 429 with headers that show when it resets.
Got no clue where to start? Why don’t we discuss your idea?