Incora logo
AI Consulting
Expert Advice On Tech, Architecture And AI
Backend Development
Server-side Architecture And APIs
Frontend Development
Modern, Responsive Frontend Applications
UI/UX Design
Creating Intuitive User Experiences
Software QA & Testing
Ensuring Software Quality And Reliability
DevOps Services
Streamline Your Development Operations
Team Extension
Boost Your Team With Skilled Niche Developers
Dedicated Team
A Full Team Focused Solely On Your Project Needs
AI Agents
Custom Agents That Handle Real Business Tasks
AI Voice Agents
Voice Assistants For Calls And Support
Voice App Development
Speech-To-Text And Voice Control For Your Apps
Agentic Automation
Multi-Step Workflows Run By AI Agents
AI Business Automation
Embed AI Into Your CRM, ERP And Daily Operations
Legacy Modernization
Upgrade Old Systems Faster With AI
Code Audit & Due Diligence
Check If AI-Built Code Is Safe To Ship
MCP Server Development
Connect AI Clients To Your Internal Systems
RAG Development
Accurate AI Answers From Your Own Data
Business Central Consulting
Setup, Customization And Migration To BC
Dynamics 365 CRM
CRM Consulting And Integration With Your Stack
SharePoint Consulting
Custom Intranets And Document Workflows
SAP Consulting
SAP Development, Setup And Optimization
NetSuite Integration
Connect NetSuite With Your Business Systems
ServiceNow Development
Custom Apps And Integrations On ServiceNow
Procore Integration
Custom Procore Integrations For Construction
RPA Development
Bots That Automate Repetitive Workflows
Legal Software Development
Custom Software And Integrations For Law Firms
Custom Software Development
Tailored Software Solutions For Unique Business Needs
Legacy App Modernization
Modernize And Transform Legacy Systems
Saas Development
End-To-End Saas Development From Idea To Launch
Business Process Automation
Automate Workflows And Business Operations
Startup Development
Rapid Product Development For Startups To Scale Quickly
Cross-Platform Apps
One Codebase For iOS And Android
Smart Contracts
Audit-Ready Solidity For DeFi, NFT And DAO
Real Estate
Smart Home Systems And Property Management
Fintech
Payment Processing And Banking Solutions
Booking Systems
Scheduling And Reservation Platforms
Construction
Site Management And Resource Planning
Our specialized branch
Management Systems
Workflow Optimization And Reporting Tools
Delivery & Shipping
Order Tracking And Route Optimization
Manufacturing
Production Systems And Quality Control
Supply Chain
Logistics Tracking And Inventory Management
Energy
Monitoring And Sustainable Tech solutions
Healthcare
Patient Portals And Telemedicine Platforms
Edutech
Learning Platforms And Course Management
IT Tools
Developer Tools And Internal Platforms
React.Js Developers
Build Dynamic Uls With React And Next.Js
Three.Js Developers
3D Graphics And WebGL Experiences
Next.Js Developers
Server-Rendered React With Next.Js
JavaScript Developers
Cross-Browser J Development
Vue.Js Developers
Lightweight And Performant Vue Interfaces
Redux Developers
State Management For Complex Apps
Angular Developers
Enterprise-Grade Angular Applications
Node.Js Developers
Scalable Server-Side Javascript Applications
GoLang Developers
High-Performance Microservices in Go
Full Stack Developers
End-To-End Web Application Development
Python Developers
Data-Driven Backends And APIs
NestJS Developers
Progressive Node.Js Framework
Flask Developers
Lightweight Python Web Framework
Express.Js Developers
Fast, Minimalist Web Framework
Django Developers
High-Level Python Web Framework
MERN Stack Developers
MongoDB, Express, React, Node.Js
AWS Developers
Cloud Architecture On Amazon Web Services
DevOps Engineers
CI/CD Pipelines And Infrastructure Automation
Azure Developers
Microsoft Azure Cloud Solutions
Google Cloud Developers
GCP Infrastructure And Services
Cloud Engineers
Multi-Cloud Infrastructure Management
Data Engineers
Data Pipelines And Warehouse Design
WebRTC Developers
Real-Time Communication Solutions
QA Engineers
Automated And Manual Testing Specialists
Offshore Developers
Cost-Effective Remote Development Teams
ERP Developers
Enterprise Resource Planning Solutions
Saas Developers
Saas Product Development Specialists
author photo

By Bohdan Vasylkiv

 - CEO & Co-Founder

ServiceNow Integration and API Guide: REST APIs, IntegrationHub, and Best Practices

How ServiceNow integration works: REST and Table API, Scripted REST, IntegrationHub spokes, auth, rate limits and examples. Get expert help.

21 min read
Updated: December 02, 2026Created: October 15, 2026
48 views

Key Takeaways

  • A ServiceNow integration connects ServiceNow with your other tools, so data moves on its own instead of through copy and paste.
  • For most tasks, the REST API and the Table API are enough.
  • If a ready-made spoke exists for your tool, start with it. Write custom code only for logic the spoke can't cover.
  • Use OAuth 2.0, a separate integration user, and retries from day one. These three things prevent most failures.

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:

  • Which integration method should I use?
  • How do I authenticate safely?
  • What do real API requests look like?
  • What are the limits, and how do I avoid hitting them?
  • When should I build something custom?

What Is ServiceNow Integration?

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.

How Does ServiceNow Integration Work?

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.

Diagram showing inbound calls from external systems into ServiceNow and outbound calls from ServiceNow to tools like JiraClick to expand

Technically, 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 Integration Methods at a Glance

ServiceNow has five main ways to connect with other systems. Here they are side by side:

MethodWhen to use itHow much code
REST API / Table APIRead and write records in any tableLittle
Scripted REST APIYou need your own endpoint with custom logicMedium
IntegrationHub spokesConnecting popular tools like Jira, Teams, WorkdayLittle or none
Import Sets + MID ServerBulk data loads and on-premises systemsLittle to medium
SOAPOld systems that only support SOAPMedium

ServiceNow REST API and the Table API

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.

Scripted REST APIs

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.

ServiceNow IntegrationHub and Spokes

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 and MID Server for On-Premise Data

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.

SOAP Web Services (Legacy)

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.

How to Authenticate to the ServiceNow REST API

Every request needs to show who is sending it. ServiceNow supports three main options. Your choice affects both security and future maintenance.

Basic Authentication

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."

OAuth 2.0 (Recommended)

This is the right choice for production. The setup takes four steps:

  1. Register your client application in the Application Registry in ServiceNow.
  2. Get a client ID and client secret.
  3. Exchange them for a short-lived access token at /oauth_token.do.
  4. Send that token in the 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.

Comparison table of Basic authentication, OAuth 2.0 and mutual TLS for the ServiceNow REST API by use case, credentials, security and setupClick to expand

Certificate-Based (Mutual) Authentication

With 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.

ServiceNow API Examples: Table API Requests Step by Step

All examples below use the Table API and assume you already have an OAuth token.

Read Records with GET and sysparm_query

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
Breakdown of a ServiceNow Table API GET request URL with each query parameter labeled by its purposeClick to expand

Parameters 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.

Create and Update Records with POST and PATCH

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.

Work with Attachments and Import Sets

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:

  • 401 means authentication failed. Check the token or credentials.
  • 403 means the user doesn't have access to this table or field. Check roles and ACLs.
  • 404 means the record or table doesn't exist. Check the sys_id and table name.
  • 429 means you hit the rate limit. Wait and try again.

ServiceNow API Rate Limits and Performance

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:

  • Ask only for the fields you need.
  • Split large results into pages.
  • Use Import Sets for bulk loads.
  • Cache data that rarely changes, like user lists or categories.
  • Run heavy syncs outside business hours.

Your integration shares the instance with every agent in the UI. If the ServiceNow API gets overloaded, people feel it too.

Common ServiceNow Integrations

These are the ServiceNow integrations companies ask for most often.

ServiceNow Jira Integration

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.

ServiceNow Salesforce Integration

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.

What_ServiceNow_Connects_To_and_Why.pngClick to expand

ServiceNow Microsoft Teams and SharePoint Integration

The 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.

ServiceNow Workday and HR Integrations

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.

Spokes, Connectors, or Custom ServiceNow API Integration: How to Choose

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.

Decision tree for choosing between IntegrationHub spokes, Scripted REST, MID Server, third-party connectors and custom ServiceNow integrationsClick to expand

ServiceNow Integration Best Practices

These habits work for any method and save you hours of troubleshooting later.

Use a Dedicated Integration User and Roles

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.

Handle Errors, Retries, and Logging

Networks fail, tokens expire, instances go down for upgrades. So:

  • On 429 and 5xx errors, retry with a growing pause between attempts (exponential backoff).
  • On 400, 401, 403, and 404 errors, stop and log the problem. Retrying won't fix them.
  • Log every failed request with enough detail to repeat it later.
  • Protect against duplicates. If the same request runs twice, you don't want two incidents. Store an external ID (correlation ID) in the record and check it before creating a new one.
Cheat sheet splitting ServiceNow API error codes into errors to retry with backoff and errors that need a fixClick to expand

Test on a Sub-Production Instance First

Build 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.

Checklist of best practices to complete before launching a ServiceNow integration, from integration user setup to upgrade testingClick to expand

Final Takeaway

A good ServiceNow integration starts with picking the right method:

  • Table API for simple reading and writing of records.
  • IntegrationHub spokes for popular tools.
  • Scripted REST for custom logic.
  • MID Server and Import Sets for systems inside your network.

Then add the basics: OAuth, a separate integration user, retries, and logging. With these in place, an integration runs quietly for years.

Not sure where to start with your ServiceNow integration?

We can help you figure out what's actually slowing you down and what to build first.

FAQ

How does ServiceNow integration work?

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.

How do I authenticate to the ServiceNow REST API?

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.

What is the ServiceNow Table API?

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}.

What is a Scripted REST API in ServiceNow?

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.

What is ServiceNow IntegrationHub?

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.

Does ServiceNow have API rate limits?

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.

AI Summary
PerplexityChatGPTClaudeGemini

Get in Touch

Got no clue where to start? Why don’t we discuss your idea?

🌐
Anastasiia Pryshliak
Anastasiia Pryshliak
Senior Partnerships Manager

Just pick a time. No forms.

30 minGoogle MeetNo commitment