Skip to main content

Send your API key

The production API base URL is https://api.protodesk.io/v1. Send your key in the Authorization header:
Keys are bound to one workspace. Use GET /me to inspect the workspace and scopes before writing data. Public API requests do not need X-Workspace-Id. Use the returned workspaceId when an integration asks for the workspace ID; the address shown in General settings is a slug and is not interchangeable with this ID.

Choose permissions

Create and manage keys in Settings → API. Grant the permissions your integration needs. This table covers the workflows in these guides. A permission name alone does not guarantee a public endpoint; use the API reference to check endpoint availability. API key administration is available in the dashboard.

Help Center access

An owner or admin grants Help Center access and confirms that article content may be shared with the connected AI tool. Help-enabled keys have an expiry between 1 and 90 days. If a key combines Help Center and other permissions, expiry applies to the whole key. Proposal permission allows an assistant to submit changes for review. It does not let the assistant approve proposals or publish articles. Choose Draft to also create and edit unpublished articles directly, Publish to include publication and live edits, or Full Access to also manage collections, settings, imports, proposal decisions, and deletion. Existing keys retain their permissions: edit the key to explicitly grant additional permissions. OAuth clients must reconnect and approve the new scopes.

Store and rotate secrets

Keep keys in server-side configuration or a secret manager. Never expose a key in a browser bundle. Create a replacement key, update your integration, verify a request, then revoke the old key from the dashboard. New keys start with pk_. Existing keys with older pk_live_ or pk_test_ prefixes remain valid; those prefixes never isolated workspace data.

Troubleshoot access

  • 401: Check the Bearer header, secret, expiry, and whether the key was revoked.
  • 403: Check the key’s scopes and whether the operation is allowed for that connection.
  • Wrong workspace: Stop writes and select the correct workspace before creating a replacement key.