Authorization header.
Getting an API key
You can create and manage API keys inside your developer dashboard:- Log in to app.connextify.com/login.
- Go to Dashboard → API Keys (or open app.connextify.com/dashboard/api-keys).
- Click Create New API Key, label it (e.g.
staging-workerorprod-backend), and select the permissions your application needs. - Copy the key immediately and save it in your project’s
.envfile or secrets manager.
Making authenticated requests
Pass the key as a Bearer token in your HTTP headers:Query parameter fallback (legacy only)
For quick CLI testing or legacy systems that cannot set custom HTTP headers, you can pass the key in the query string:API key permissions & workspace roles
Dashboard API keys are issued with channel access (api, mcp, or both) and inherit the active permissions of the account or Team Workspace they belong to:
- Personal Workspace: Keys act directly under your user account’s plan limits and features.
- Team Workspaces: Keys created while switched into a shared workspace are bound to that workspace (
workspaceOwnerUid). Every API request checks your live Workspace Role Group (api_access/mcp_access/analytics_access), tool CRUD permissions (view,create,edit,delete), and asset visibility scope (allvsown).
Team workspaces & header scoping
If you collaborate inside shared Team Workspaces, authentication resolves both the target workspace owner and the acting team member:- Workspace-bound API keys & OAuth tokens: API keys created while switched into a Team Workspace (and OAuth apps authorized for a Team Workspace) are automatically bound to that workspace owner (
workspaceOwnerUid) and require theapi_accessormcp_accesscapability on your role. X-Workspace-Idheader: PassX-Workspace-Id: <workspace_owner_uid>on Firebase/session requests to target a specific joined workspace (or"personal"/ your own UID for your Personal Workspace). An explicitX-Workspace-Idpointing to an unauthorized or revoked workspace fails closed with403 WORKSPACE_ACCESS_REVOKED, and passing anX-Workspace-Idheader that conflicts with a workspace-bound API key or OAuth token returns403 WORKSPACE_SCOPE_MISMATCH. Stale browser workspace cookies (without an explicitX-Workspace-Idheader) automatically clear and fall back to your Personal Workspace.- Automatic revocation: If you leave a team, have your membership revoked, or lose
api_access/mcp_access, workspace-bound keys immediately return403 WORKSPACE_ACCESS_REVOKEDor403 CAPABILITY_DENIED.
Security checklist
- Keep keys in environment variables: Never commit API keys to Git repositories or hardcode them in your client-side JavaScript.
- Separate keys by environment: Create distinct keys for local development, staging, and production so revoking a compromised local key does not break your live production traffic.
- Scope workspace roles carefully: Grant Team Workspace members only the capabilities (
api_access,mcp_access,analytics_access) and tool CRUD permissions (view,create,edit,delete) they require. - Rotate keys periodically: If an engineer leaves or a server is decommissioned, revoke old keys from the dashboard.
Authentication error responses
If an authenticated request fails, the API returns a401 Unauthorized or 403 Forbidden with a JSON body explaining why:
Missing API key (401)
Invalid or revoked key (401)
Missing permission or workspace access (403)
code fields including ACTION_PERMISSION_DENIED, SCOPE_ACCESS_DENIED, WORKSPACE_SCOPE_MISMATCH, and WORKSPACE_ACCESS_REVOKED. See Error Codes for remediation steps.
Next steps
Rate Limits
Check request limits per plan and how to handle 429 retries.
Error Codes
Full list of HTTP status codes and error payloads.