Sweep ServiceNow Orgs API

The ServiceNow Orgs API from Sweep — 3 operation(s) for servicenow orgs.

Operations 4

POST /servicenow-orgs Create a new ServiceNow org #
PATCH /servicenow-orgs/{orgId} Reconnect a ServiceNow org with updated credentials #
DELETE /servicenow-orgs/{orgId} Delete a ServiceNow org #
POST /servicenow-orgs/{orgId}/fetch Manually trigger metadata fetch for a ServiceNow org #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/sweep-servicenow-orgs-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

sweep-servicenow-orgs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sweep ServiceNow Orgs API
  description: This is a publicly available Sweep API.
  version: '0.1'
  contact: {}
servers:
- url: https://api.sweep.io
  description: Sweep production API — the host this document was harvested from (GET /api-json); /health responds here
tags:
- name: ServiceNow Orgs
paths:
  /servicenow-orgs:
    post:
      operationId: ServiceNowOrgController_create
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateServiceNowOrgDto'
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                type: object
      security:
      - bearer: []
      summary: Create a new ServiceNow org
      tags:
      - ServiceNow Orgs
  /servicenow-orgs/{orgId}:
    patch:
      operationId: ServiceNowOrgController_reconnect
      parameters:
      - name: orgId
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ServiceNowCredentialsDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
      security:
      - bearer: []
      summary: Reconnect a ServiceNow org with updated credentials
      tags:
      - ServiceNow Orgs
    delete:
      operationId: ServiceNowOrgController_delete
      parameters:
      - name: orgId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      security:
      - bearer: []
      summary: Delete a ServiceNow org
      tags:
      - ServiceNow Orgs
  /servicenow-orgs/{orgId}/fetch:
    post:
      operationId: ServiceNowOrgController_triggerFetch
      parameters:
      - name: orgId
        required: true
        in: path
        schema:
          type: string
      responses:
        '201':
          description: ''
      security:
      - bearer: []
      summary: Manually trigger metadata fetch for a ServiceNow org
      tags:
      - ServiceNow Orgs
components:
  schemas:
    CreateServiceNowOrgDto:
      type: object
      properties:
        instanceUrl:
          type: string
          format: uri
          description: ServiceNow instance URL
          example: https://mycompany.service-now.com
        clientId:
          type: string
          description: OAuth Client ID for ServiceNow integration
          example: abc123def456
        clientSecret:
          type: string
          description: OAuth Client Secret for ServiceNow integration
          example: secret_value_here
        name:
          type: string
          maxLength: 255
          description: Display name for the ServiceNow org
          example: Production ServiceNow
        environmentType:
          enum:
          - Development
          - Test
          - Production
          type: string
          example: Production
          description: ServiceNow instance environment scope
      required:
      - instanceUrl
      - clientId
      - clientSecret
      - name
      - environmentType
    ServiceNowCredentialsDto:
      type: object
      properties:
        instanceUrl:
          type: string
          format: uri
          description: ServiceNow instance URL
          example: https://mycompany.service-now.com
        clientId:
          type: string
          description: OAuth Client ID for ServiceNow integration
          example: abc123def456
        clientSecret:
          type: string
          description: OAuth Client Secret for ServiceNow integration
          example: secret_value_here
      required:
      - instanceUrl
      - clientId
      - clientSecret
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http