Gateway Client SDKs

Multi-language client libraries for the Airlock Integrations Gateway, built on the HARP protocol.

For PAT-first auth, pre-generated pairing codes, and the full enforcer lifecycle, see the Developer Guide.

All SDKs cover the enforcer-side Integrations Gateway API: artifact submission, decision polling, exchange management, pairing (including pre-generated codes), presence heartbeats, policies, and discovery. For user-scoped calls, use a Personal Access Token (PAT) via the X-PAT header (recommended for CLIs/scripts), or a Bearer JWT from the Device Authorization Grant, together with your app credentials where required.

Default production base URL: https://igw.airlocks.io

Recommended artifact type for command review flows: command.review

Choose Your Language

Gateway API Surface

Method Endpoint Description
GET/v1/integrations/discoveryDiscover IdP configuration (device auth setup)
GET/echoGateway discovery and health check
POST/v1/artifactsSubmit an artifact for approval
GET/v1/exchanges/{requestId}Get exchange status
GET/v1/exchanges/{requestId}/waitLong-poll for a decision
POST/v1/exchanges/{requestId}/withdrawWithdraw a pending exchange
POST/v1/pairing/initiateStart a new pairing session
GET/v1/pairing/{nonce}/statusPoll pairing status
POST/v1/pairing/revokeRevoke an active pairing
POST/v1/pairing/pre-generatePre-generate a pairing code (30-minute TTL)
POST/v1/pairing/claimClaim a pre-generated pairing code
POST/v1/presence/heartbeatSend a presence heartbeat
GET/v1/policy/dnd/effectiveFetch effective DND policies for an enforcer/workspace/session
GET/v1/consents/checkCheck user consent for an enforcer app