The Extend API uses Bearer token authentication for all API requests. You’ll need to use your API token when instantiating the client if you’re using the SDK or in the Authorization header of each request if you’re using the API directly.
Important: Keep your API tokens secure and never share them publicly. Rotate them regularly and immediately if they’re ever compromised.
API keys have a scope of either organization or workspace:
X-Extend-Workspace-Id header to specify the workspace. Only org admins can create keys with organization scope.If authentication fails, you’ll receive a 401 Unauthorized response. Common causes include: