capabilities.work

Create a Consent User and Assign an Internal ID

A 3-step recipe with Didomi. We can help you get access.

Recipe · 3 steps

Create a Consent User and Assign an Internal ID

with Didomi

Create a consent user, assign an internal organization user ID, and read it back.

  1. Create a new end user under the organization and store its consent status. organization_id is supplied as a required query parameter.
  2. Patch the user to assign your organization's internal user ID and country, linking the Didomi user to your own systems.
  3. Read the user back by its ID to confirm the internal ID assignment.
What you'll need to have ready
  • token: A valid Didomi JWT used as the bearer token for the Authorization header.
  • organizationId: The ID of the organization that owns the user.
  • organizationUserId: A unique user ID internal to your organization (email, phone or client ID).
  • country: Optional two-letter ISO country code for the user.
For your developer

Arazzo workflow didomi:create-and-assign-consent-user, 3 operations: {$sourceDescriptions.consentsUsersApi.url}#/paths/~1consents~1users/post → {$sourceDescriptions.consentsUsersApi.url}#/paths/~1consents~1users~1{id}/patch → {$sourceDescriptions.consentsUsersApi.url}#/paths/~1consents~1users~1{id}/get. Specs on APIs.io.