Azure Active Directory (AAD)

Get authorization URL for Active Directory

get

Generates and returns the authorization URL for Active Directory with the provided company ID.

Query parameters
company_idintegerRequired

The ID of the company for which the authorization URL is generated.

Example: 98765
Responses
200

success

application/json
get
/aad
200

success

Remove connected Active Directory account

delete

Removes the Active Directory integration account for the specified company ID.

Body
company_idintegerRequired

The ID of the company for which the Active Directory account will be removed.

Example: 98765
Responses
200

success

application/json
delete
/aad
200

success

Get access token

get

Exchanges the provided authorization token for an access token using the company ID and user session.

Query parameters
company_idintegerRequired

The ID of the company for which the token is being requested.

Example: 98765
auth_tokenstringRequired

The authorization token received from the authorization URL.

Example: abcdef123456
Responses
200

success

application/json
get
/aad/token
200

success

Update users from Azure Active Directory

put

Synchronizes the user data from Azure Active Directory for the specified company ID.

Body
company_idintegerRequired

The ID of the company for which the users will be synchronized.

Example: 98765
Responses
200

success

application/json
put
/aad/users
200

success

Update Azure AD configuration

put

Updates the configuration settings for Azure Active Directory integration for a specified company.

Body
company_idintegerRequired

The ID of the company whose configuration is being updated.

Example: 98765
azure_groupsstringRequired

Comma-separated list of Azure group IDs.

Example: azure-group-id-1,azure-group-id-2,azure-group-id-3
frequencyone ofRequired

Frequency of synchronization (e.g., day, week).

Example: day
stringOptionalExample: day
or
stringOptionalExample: week
or
stringOptionalExample: month
field_mappingsobject[]Optional

Mapping of fields between Azure AD and the application.

Example: [{"company":["companyName"]},{"name":["displayName","givenName"]}]
fetch_fieldsstringOptional

Fields to fetch from Azure AD during synchronization.

Example: displayName, companyName
invitation_emailone ofOptional

Whether to send an invitation email to new users.

integerOptionalExample: 1
or
integerOptionalExample: 0
send_walletone ofOptional

Flag indicating whether to send a wallet card to new users.

integerOptionalExample: 1
or
integerOptionalExample: 0
Responses
200

success

application/json
put
/aad/config
200

success

Retrieve Azure AD groups

get

Fetches Azure Active Directory groups for a specified company. Optionally, specific group IDs can be provided.

Query parameters
company_idintegerRequired

The ID of the company for which the groups are being fetched.

Example: 98765
group_idsstringOptional

Comma-separated list of group IDs to fetch specific groups.

Example: group1,group2,group3
Responses
200

success

application/json
get
/aad/group
200

success

get

Searches for Azure Active Directory groups based on a query string for a specified company.

Query parameters
company_idintegerRequired

The ID of the company within which the search is conducted.

Example: 98765
querystringRequired

The search query used to find matching groups.

Example: marketing
Responses
200

success

application/json
get
/aad/groups/search
200

success

Get connected user and configuration status

get

Retrieves the connected user's details and configuration status for a specified company from Azure Active Directory.

Query parameters
company_idintegerRequired

The ID of the company for which the status is being retrieved.

Example: 98765
Responses
200

success

application/json
get
/aad/status
200

success

Last updated