Consent Prompt APIs

Provides access to consent and privacy operations.

Retrieve consent prompts for a specific user.

post

This endpoint provides the available consent prompts tailored for the user based on their consent history and applicable business rules. It may return zero, one, or multiple prompts that the user needs to review and respond to. The prompts can vary in scope, including application-wide consents or specific acknowledgments.

💻 Service Credentials is required to access this service.

Authorizations
OAuth2authorizationCodeRequired

An OIDC service account that was authenticated.

Token URL:
Body
subject_idstringRequired

Subject identitifer to get consent prompts for.

client_idstringRequired

Client to get consent prompts against.

experiment_idstringOptional

Optional experiment ID to ask for consent against.

agreementsstring[]Optional

Optional the type of agreements you want to prompt against.

scopesstring[]Required

Consent scopes being requested by the application or service.

localestringOptional

The locale of the current user for internationalization.

Responses
200

The consent prompt information to collect from the user.

*/*
post
/consent/admin/{userId}/prompts

Admin submits onboarding agreement prompt for user.

post

This endpoint allows administrators to submit onboarding agreement prompts for users. It handles the necessary logic for delivering agreements and ensures compliance with privacy and consent regulations. Use this API to manage user consent effectively and maintain clear communication regarding onboarding processes.

💻 Service Credentials is required to access this service.

🔒 Permission: user.consent.update is required in order for the call to succeed. You must configure permissions for the person or service calling this endpoint and add this permission to their identity.

Authorizations
OAuth2authorizationCodeRequired

An OIDC service account that was authenticated.

Token URL:
Body
idstringOptional
ipstringOptional
session_idstringOptional
subject_idstringOptional
actstringOptional
client_idstringOptional
timestampstring · date-timeOptional
skippedbooleanOptional
scopesstring[]Optional
Responses
200

Handles the logic for when onboarding agreements are delivered.

No content

post
/consent/admin/{userId}/prompts/agreements

No content

Admin submits application consent prompt.

post

This endpoint allows an admin to submit a consent prompt for an application. It processes the necessary onboarding information related to user consent. Ensure that the appropriate permissions are in place to access this functionality.

💻 Service Credentials is required to access this service.

🔒 Permission: user.consent.update is required in order for the call to succeed. You must configure permissions for the person or service calling this endpoint and add this permission to their identity.

Authorizations
OAuth2authorizationCodeRequired

An OIDC service account that was authenticated.

Token URL:
Body
idstringOptional
ipstringOptional
session_idstringOptional
subject_idstringOptional
actstringOptional
client_idstringOptional
timestampstring · date-timeOptional
skippedbooleanOptional
scopesstring[]Optional
Responses
200

Handles the logic for when consenting to an applications consent.

No content

post
/consent/admin/{userId}/prompts/apps

No content

Submit consent for experiment prompts as an admin.

post

This endpoint processes consent for experiment prompts specifically for admin users. It ensures that the necessary privacy and consent protocols are followed when handling user experiment data. Use this API to manage experiment-related consent effectively.

💻 Service Credentials is required to access this service.

🔒 Permission: user.consent.update is required in order for the call to succeed. You must configure permissions for the person or service calling this endpoint and add this permission to their identity.

Authorizations
OAuth2authorizationCodeRequired

An OIDC service account that was authenticated.

Token URL:
Body
idstringOptional
ipstringOptional
session_idstringOptional
subject_idstringOptional
actstringOptional
client_idstringOptional
timestampstring · date-timeOptional
skippedbooleanOptional
scopesstring[]Optional
Responses
200

Handles the logic for when consenting to experiments.

No content

post
/consent/admin/{userId}/prompts/experiments

No content

Admin submits onboarding response for user prompts.

post

This endpoint allows administrators to process onboarding responses related to user prompts. It ensures that the necessary onboarding information is handled efficiently. Use this API to manage consent and privacy operations effectively within the admin context.

💻 Service Credentials is required to access this service.

🔒 Permission: user.consent.update is required in order for the call to succeed. You must configure permissions for the person or service calling this endpoint and add this permission to their identity.

Authorizations
OAuth2authorizationCodeRequired

An OIDC service account that was authenticated.

Token URL:
Body
idstringOptional
ipstringOptional
session_idstringOptional
subject_idstringOptional
actstringOptional
client_idstringOptional
skippedbooleanOptional
timestampstring · date-timeOptional
promptone ofOptional
or
or
or
Responses
200

Handles the logic for when onboarding prompts are delivered.

No content

post
/consent/admin/{userId}/prompts/onboarding

No content

Admin submits supervised account prompt for approval

post

This operation allows an admin to submit a request for a supervised account to seek approval from the account owner. It is specifically designed for age-restricted accounts, ensuring that parental consent is obtained before granting access. This enhances the safety and compliance of child accounts in the system.

💻 Service Credentials is required to access this service.

🔒 Permission: user.consent.update is required in order for the call to succeed. You must configure permissions for the person or service calling this endpoint and add this permission to their identity.

Authorizations
OAuth2authorizationCodeRequired

An OIDC service account that was authenticated.

Token URL:
Body
idstringOptional
ipstringOptional
session_idstringOptional
subject_idstringOptional
actstringOptional
client_idstringOptional
timestampstring · date-timeOptional
challenge_idstringOptional
skippedbooleanOptional
scopesstring[]Optional
Responses
200

Will request to the supervised account owner of this account to approve the login or access. This is for age restricted accounts.

No content

post
/consent/admin/{userId}/prompts/supervised

No content

Last updated