How authentication works
When you sign in to Synq, the platform issues a signed identity token that encodes your identity and your assigned role. You attach this token to your API requests as a standardAuthorization: Bearer header. The Synq API verifies the token on every request and rejects anything that is missing, expired, or malformed.
Required request headers
Include all three headers on every API request. Omitting any one of them results in a401 or 403 error.
| Header | Required | Description |
|---|---|---|
Authorization | ✅ Yes | Your Synq identity token, prefixed with Bearer . Example: Bearer eyJhbGci... |
X-Tenant-ID | ✅ Yes | Your Synq Tenant ID, provided when your account is provisioned. |
X-Org-ID | ✅ Yes | Your Synq Organization ID, scoped within your tenant. |
Your Tenant ID and Org ID are fixed values tied to your account — they do not change between requests. Retrieve them from your account settings in the Synq Dashboard.
Getting your API token
Sign in to the Synq Dashboard with your Synq credentials. Navigate to your account settings and copy your API token. This token is your Bearer credential for all API calls. Tokens expire after one hour. Return to your account settings to obtain a fresh token, or use the programmatic token refresh described below if you are building an application.Example authenticated requests
Refreshing tokens in your application
If you are building an application that signs users in directly with their Synq credentials, request a fresh token before it expires and store it for subsequent API calls. Build refresh logic into your request retry flow so that a401 response automatically triggers a new sign-in and retries the original request.
Common authentication errors
| HTTP Status | Error | What it means |
|---|---|---|
401 Unauthorized | Missing or invalid Authorization header | Your request did not include a Bearer token, or the token is expired, malformed, or has been revoked. Obtain a fresh token and retry. |
403 Forbidden | Missing or invalid tenant/org headers | Your token is valid but does not carry the required tenant or org claims, or you lack the role required for this endpoint. Contact your account administrator to verify your permissions. |
A
403 on a valid token usually means your account has not been fully provisioned, or you are attempting to access a resource outside your organization’s scope. Reach out to Synq support if you believe your credentials are configured correctly.