Get Consent Set by ID
Consent
Get Consent Set by ID
Retrieve a specific consent set with all consent records
GET
Get Consent Set by ID
Overview
Retrieves a specific consent set by its UUID, including all consent records with detailed metadata.Use this endpoint when you have a
consentSetId and need to retrieve the complete consent set details.Endpoint
Headers
| Header | Required | Description |
|---|---|---|
x-client-key | ✅ | Your public API key |
x-us-env | ❌ | Set to true for US region routing |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
consentSetId | string (UUID) | ✅ | UUID of the consent set to retrieve |
Response
200 OK
Response Fields
| Field | Type | Description |
|---|---|---|
consentSetId | string (UUID) | Unique identifier for this consent set |
userId | string|null | User identifier (null if not yet linked) |
onboardingId | string | Temporary onboarding identifier |
tenantId | string | Tenant identifier |
policyType | string | Policy type: global or US |
completedAt | string|null | When user was linked (null if pending) |
createdAt | string (ISO 8601) | When consent set was created |
updatedAt | string (ISO 8601) | Last update timestamp |
consents | array | Array of consent records |
404 Not Found
Code Examples
TypeScript
Python
cURL
Use Cases
Verify Linking Status
Verify Linking Status
Check if a consent set has been linked to a user:
Retrieve Specific Consent
Retrieve Specific Consent
Find a specific consent within the set:
Policy Verification
Policy Verification
Verify the policy type for a consent set:
Related Endpoints
Get by Onboarding ID
Retrieve consent sets by onboarding ID
Get User Consent Status
Get consent status by userId
Link User to Consent
Link userId to this consent set