Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

rest-integration

Skill by serac-labs

Makes outbound REST calls from ServiceNow using sn_ws.RESTMessageV2. It covers auth methods, status code handling, response parsing, sys_rest_message records and retry with exponential backoff for ServiceNow developers.

  • Score 48
  • 77 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install rest-integration

Built from the published package, never by AI.

git clone --depth 1 https://github.com/serac-labs/serac /tmp/serac && mkdir -p ~/.claude/skills && cp -r /tmp/serac/packages/skills/rest-integration ~/.claude/skills/rest-integration

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install rest-integration in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill gives an AI assistant ServiceNow REST integration patterns. It shows how to build outbound REST calls with sn_ws.RESTMessageV2, including GET and POST requests with JSON bodies, and how to reuse REST Message records from sys_rest_message.

The skill covers basic, bearer token, OAuth 2.0 profile and API key authentication. It also includes error handling by HTTP status code, JSON and array response parsing, and a retry function with exponential backoff for server errors. It lists MCP tools for creating REST Message records and testing connections. It is intended for ServiceNow developers who call external APIs from scripts.

Written from the project's SKILL.md and checked against it.

What it can do

  • Outbound GET and POST callsShows how to send GET and POST requests with JSON bodies using sn_ws.RESTMessageV2.
  • REST Message recordsExplains how to use predefined sys_rest_message records with variable substitutions.
  • Authentication methodsCovers basic, bearer token, OAuth 2.0 profile and API key authentication.
  • Status code error handlingProvides branching by HTTP status code and a try and catch pattern with gs.error logging.
  • Response parsingShows how to parse JSON bodies, iterate arrays and read response headers.
  • Retry with exponential backoffIncludes a retry function that doubles the delay after server errors or exceptions.
  • snow_create_rest_messageCreates a REST Message record with endpoint, authentication and methods.
  • snow_test_rest_connectionTests a REST connection to a given endpoint.

What you need

  • A ServiceNow instance

Try asking

  • Write a RESTMessageV2 GET call to my API with bearer auth
  • Create a REST Message record for an external users API
  • Add retry with exponential backoff to my ServiceNow REST call

Good to know

  • Covers outbound REST calls only
  • Inbound REST API is mentioned but not covered
  • Code samples use example.com endpoints

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: packages/skills/rest-integration/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to rest-integration

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

rest-integration: common questions

What does sn_ws.RESTMessageV2 do?

The source describes it as ServiceNow's class for outbound REST API calls. Inbound requests are handled by the REST API instead.

Which authentication methods are covered?

Basic authentication, bearer token, OAuth 2.0 using an OAuth profile, and API keys sent as a header or query parameter.

How does the retry pattern work?

It retries server errors (status 500 and above) and exceptions up to a maximum count, doubling the wait time with gs.sleep each attempt. Client errors are not retried.

How do I install rest-integration?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is rest-integration free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is rest-integration safe to use?

It scores 48 of 100. Grades: maintenance B, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to rest-integration?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

rest-integration Install

Add to stack

Loading.