Add/update a directory integration (white-label)

Creates or updates (by directoryName) a white-label directory integration used to build employee lists — using your OWN Microsoft Entra ID (Azure AD) app registration or Google Workspace service account, with no browser consent required. An integration with the same name is overwritten. Secrets (client secret / service-account private key) are stored securely and are never returned by any endpoint. An Entra ID app registration can use a federated credential instead of a client secret (entraConfig.credentialType "federated"), for tenants that block new client secrets: add a federated credential to the app registration with issuer https://id.caniverify.com, subject workspace:{tenantID}:directory:{directoryName as stored} and the audience Entra fills in (api://AzureADTokenExchange in the global cloud; US Government and China tenants get their cloud's own). Entra details are tested (a token and one group) before anything is saved.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
string
required

Display name, and the upsert key. Non-alphanumeric characters are replaced with hyphens.

string
enum
required

Which directory provider to configure; determines which config object is read.

Allowed:
entraConfig
object

Required when provider is "entra". Your Microsoft Entra ID (Azure AD) app registration.

googleConfig
object

Required when provider is "google". Your Google Workspace service account (with domain-wide delegation).

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json