Authorization header — the platform validates it and resolves your organization and scopes server-side.
Use an organization API key for backend integrations that act on one organization. Use a personal access token for tooling that spans several of your organizations.
Create a credential
- Organization API key
- Personal access token
- Open API Keys from the sidebar.
- Click New API key and give it a descriptive name.
- Copy the full secret (
ak_<id>.<secret>) — it is shown only once. Store it in your secret manager.
Use it
Pass the credential as a bearer token:X-Anyreach-Org header to tell Anyreach which organization to act on:
Rotation
Tokens don’t expire unless you set an expiry. Rotate them when:- A teammate with access leaves
- A token may have been exposed in logs or version control
- Your security policy requires periodic rotation
401.
Scope and permissions
A credential can do whatever the issuing user (or organization role) can do, governed by roles and fine-grained scopes. See Roles and permissions for the full model. For automated integrations, issue the credential from a user with the minimum role required.Public endpoints
Some endpoints accept unauthenticated calls for browser or webhook embedding — for example public workflow execution and the public web-widget endpoints. Never send apat_ or ak_ credential from a browser.
