Get Consent Sets by Onboarding ID
Consent
Get Consent Sets by Onboarding ID
Retrieve all consent sets associated with an onboarding ID
GET
Get Consent Sets by Onboarding ID
Overview
Retrieves all consent sets associated with a specificonboardingId. Useful for recovering consent set information during registration flows.
This endpoint returns all consent sets created with the given
onboardingId, including those that may have already been linked to users.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 |
|---|---|---|---|
onboardingId | string | ✅ | Onboarding identifier used during consent creation |
Response
200 OK
404 Not Found
Code Examples
TypeScript
Python
cURL
Use Cases
Session Recovery
Session Recovery
Recover consent set ID from onboarding ID:
Duplicate Detection
Duplicate Detection
Check if onboarding ID has already been used:
Link Status Check
Link Status Check
Verify if consent set has been linked:
Related Endpoints
Get by Consent Set ID
Retrieve specific consent set
Link User to Consent
Link userId to consent set
Create Onboarding Consent
Create new consent set with onboarding ID