---
title: "List ServiceNow integrations"
method: GET
path: "/enrichment/integrations/servicenow"
tags: ["Enrichment Integrations"]
---

# List ServiceNow integrations

`GET /enrichment/integrations/servicenow`

Lists the ServiceNow enrichment integrations for the account, including their CMDB tables, field mappings, and credentials. Because only one integration is allowed per account, this returns at most one integration.

<!-- theme: warning -->

> ### Early Access
> This API is in Early Access and may change at any time. Contact your PagerDuty account team to request access.

Scoped OAuth requires: `contextual_data.read`

## Headers

- `Accept` string, required

## Response `200`

The list of ServiceNow enrichment integrations for the account. Returns at most one integration due to product limits.

- object
  - `integrations` ServiceNowIntegration[] — The list of ServiceNow enrichment integrations.
    - `id` string — Base32-encoded UUID v7 (26 uppercase alphanumeric characters) identifying the integration.
    - `name` string — The name of the integration.
    - `description` string, nullable — An optional description of the integration.
    - `cmdb_tables` ServiceNowTable[] — The ServiceNow CMDB table configurations belonging to this integration. An integration must have at least 1 and at most 8 tables.
      - `id` string — Base32-encoded UUID v7 (26 uppercase alphanumeric characters) identifying the CMDB table configuration.
      - `display_name` string — A human-readable name for the CMDB table configuration. This name is used to identify the generated enrichment schema in the Event Enrichment rule editor.
      - `ci_table_name` string — The name of the ServiceNow CMDB table to synchronize (for example, `cmdb_ci_server` or `cmdb_ci_ip_switch`). Table names are case-sensitive.
      - `query_filter` string, nullable — An optional ServiceNow encoded query used to limit which records are synchronized from the table (for example, `operational_status=1^u_environment=production`). Set to `null` to synchronize all records.
      - `field_mappings` ServiceNowFieldMapping[] — The mappings between ServiceNow fields and event fields. Must contain between 2 and 20 mappings, including at least one enrichment field. At most 3 mappings may be designated as query fields.
        - `servicenow_field` string, required — The ServiceNow field (column) to read the value from. Dot-walked fields are supported to traverse relationships (for example, `support_group.manager.email`).
        - `event_field` string, required — The event field that the ServiceNow value is mapped to.
        - `type` 'query' | 'enriched' | 'discriminator' — Determines how the field is used during enrichment. `enriched` fields add contextual data to a matched event, while `query` fields are used to match incoming events to Configuration Items. When no mapping specifies a `type`, the field defaults to `enriched` and the `name` field is automatically used as the single query field. To match on a different field — or on more than one field — set `type: query` on those mappings; in that mode `name` is no longer used as a query field unless it is itself marked `query`. Up to 3 query fields may be configured, and when more than one is set an event must contain a matching value for every query field to be enriched (logical AND). At least one mapping must be an enriched field. In responses, a mapping's `type` is `query`, `enriched`, or `discriminator`. `discriminator` is assigned automatically to the `sys_id` field of `cmdb_rel_ci` relationship tables to distinguish relationship types; it appears in responses but cannot be set on requests.
      - `status` 'disabled' | 'syncing' | 'active' | 'error' — The current data synchronization status of the table. `disabled`: sync is not enabled (the default for newly created tables). `syncing`: an initial sync is in progress. `active`: sync is healthy and incremental updates are running. `error`: sync failed (check the credentials or table configuration).
      - `created_at` string, date-time — The date/time the table configuration was created.
      - `updated_at` string, date-time — The date/time the table configuration was last updated.
      - `deleted_at` string, date-time, nullable — The date/time the table configuration was deleted, or `null` if it has not been deleted.
    - `credentials` ServiceNowCredentials
      - `id` string — Base32-encoded UUID v7 (26 uppercase alphanumeric characters) identifying the credentials.
      - `instance_endpoint` string — The ServiceNow instance URL (for example, `https://your-instance.service-now.com`).
      - `user` string — The ServiceNow username used to authenticate API requests. The user must have read access to the configured CMDB tables.
      - `password` string — The ServiceNow password. Only accepted in requests and never returned in responses.
      - `created_at` string, date-time — The date/time the credentials were created.
      - `updated_at` string, date-time — The date/time the credentials were last updated.
      - `deleted_at` string, date-time, nullable — The date/time the credentials were deleted, or `null` if they have not been deleted.
    - `created_at` string, date-time — The date/time the integration was created.
    - `updated_at` string, date-time — The date/time the integration was last updated.

## Other responses

- `401` — Caller did not supply credentials or did not provide the correct credentials. If you are using an API key, it may be invalid or your Authorization header may be malformed.
- `403` — Caller is not authorized to view the requested resource. While your authentication is valid, the authenticated user or token does not have permission to perform this action.
- `429` — Too many requests have been made, the rate limit has been reached.
- `500` — Internal Server Error the PagerDuty server experienced an error.

---

[API](https://skmtc.net/pagerduty/apis/rest-api.md) · [All operations](https://skmtc.net/pagerduty/apis/rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pagerduty/rest-api/revisions/b679a8f3f02c/schema)
