When to use this. Before a third-party client can obtain org-scoped tokens through the
“Login with Delogue” flow, its administrator needs three values: the organisation’s Auth0
organization id, the Auth0 tenant domain, and the Delogue.API audience. This read-only endpoint
hands those to a company administrator, along with the OAuth scopes available today.
The workflow
Integration access is a per-organisation lookup. A company administrator reads the values here, then configures the external OAuth client with them.1
Read integration access
GET /api/organizations/{organizationId}/integration-access for your own organisation.2
Register the OAuth client
Configure the third-party client with the returned
auth0Domain, auth0OrgId, and
audience, requesting the scopes you need.3
Start the org-scoped login
Pass
auth0OrgId as the organization login parameter so tokens are scoped to the
organisation.Walkthrough
Look up the integration-access info for your organisation. The response wraps the values in the standard envelope.auth0OrgId, auth0Domain, and audience to whoever configures the external OAuth client;
scopes lists what that client may request.
Field reference
The fields returned by the lookup:Roles & permissions
This endpoint is available only to aCompanyAdmin on a designer (brand) organisation,
and only for that admin’s own organisation id — any other id is denied. It is gated behind the
Auth0 organisations feature, so it returns a 403 where that feature is not enabled. Supplier
accounts have no access.
When things go wrong
Errors use the standard envelope (status: "error", a code, and error.details[]). An
organisation that has not yet been provisioned in Auth0 returns a 404, and a caller who is not a
company administrator, is on a supplier organisation, or requests another organisation’s id
receives a 403. See Errors & responses for the full list of codes and how to
resolve them.
What to call next
Authentication
How to get and send your
X-Auth-Token API key.Styles
The
read:styles scope lets an integration read styles: GET /api/styles.