Skip to main content
Version: v2.0

API reference overview

This section provides detailed reference for each supported ServiceNow API module in the SDK. Each submodule corresponds to a ServiceNow REST API of the same name, providing a Go-idiomatic way to interact with the platform.

Whether you're automating incident management, synchronizing user records, or handling file attachments, these modules provide the necessary tools for building robust ServiceNow integrations.

Supported APIs

Core platform

  • Table API: Create, read, update, and delete (CRUD) operations for ServiceNow tables.
  • Attachment API: Manage files and raw file content attached to records.
  • Batch API: Group multiple requests into a single efficient call.
  • Aggregation API: Aggregate statistics (count, sum, avg, min, max) over table records.
  • Documents API: Document Management — create, explore, version, and stream documents.
  • Activity Subscriptions API: Follow objects and manage activity-stream subscriptions.

CMDB & CSDM

Customer Service

Configuration Data Management

Design philosophy

  • Idiomatic Go: Uses standard Go patterns for error handling, context support, and naming.
  • Fluent & Standard Builders: Offers both a fluent API for ease of use and standard builders for more manual control — see Core Concepts for when to use which.
  • Cross-module consistency: Every module follows the same structural pattern (constructor triad, per-verb configurations, shared error mapping), so learning one module means learning them all. The pattern is documented in Add a new API module.

Explore the following subsections for implementation details, code snippets, and specific endpoint documentation.

Was this page helpful?