NOCK
API

API Keys

Create scoped API keys, project access, webhook endpoints, and delivery diagnostics from workspace integrations.

Workspace admins create Public API keys and webhook endpoints from workspace integrations.

Use API keys for server-side automation, AI agents, no-code workflows, and external adapters. Do not put API keys in browser code.

Create an API key

Open workspace integrations

Open your workspace settings and go to the integrations area for API keys and webhooks.

Name the key

Use a clear name such as Zapier production, AI triage agent, or GitHub adapter.

Choose project access

Select All projects or a specific project.

Choose scopes

Select the smallest set of scopes the integration needs.

Create key

Copy the plaintext token immediately. NOCK shows it only once.

Scopes

ScopeMeaning
tickets:readRead project metadata, ticket lists and ticket details.
tickets:writeCreate tickets and update ticket fields.
tickets:replyAdd customer-visible replies through Public API or MCP.
tickets:notes:writeAdd private MCP internal notes.
webhooks:writeManage webhooks and delivery retries.
mcp:accessAuthenticate against /mcp.

New general API keys default to tickets:read and tickets:write. Agent Keys default to mcp:access and tickets:read. Add reply, notes, or webhook scopes only when the integration needs them.

Project access

AccessBehavior
All projectsThe key can access every project in the workspace, subject to scopes.
Specific projectThe key can access only that project. Cross-project requests are rejected.

Prefer project-scoped keys for vendors, customer-specific automation, and AI agents.

Key list

The integrations table shows:

ColumnMeaning
NameHuman-readable key name.
ProjectAll projects or a specific project.
TokenPrefix and last four characters for identification.
ScopesAssigned Public API scopes.
Last usedLast observed API usage, or Never.
ActionsRevoke the key.

Revoked keys stop working immediately.

Webhook endpoints

The same integrations area lets you create signed webhook endpoints.

FieldMeaning
Endpoint URLPublic HTTPS URL that receives NOCK events.
ProjectAll projects or a specific project.
Eventsticket.created, ticket.updated, ticket.status_changed, ticket.note.created.
Signing secretPlaintext secret shown once when the endpoint is created.

Store the signing secret in your webhook consumer and verify x-nock-signature before triggering side effects.

Recent deliveries

Recent deliveries show outbound webhook attempts across the workspace:

FieldMeaning
EndpointTarget URL or deleted endpoint ID.
EventWebhook event type.
StatusDelivery state.
AttemptsCurrent attempt count and max attempts.
HTTPLast response status when available.
Last attemptMost recent delivery attempt.
Next retryScheduled retry time when applicable.

Use this table to debug failed automations before changing code.

On this page