Retrieves the registration settings for a specific product, identified by token_id and collection (slug or ID).
curl --request GET \
--url https://api.oneofnone.io/v1/access/registration-settings \
--header 'x-api-key: <api-key>'{
"url": "https://example.com/register/123",
"registration_settings": {
"triggerButton": {
"active": true,
"unregisteredLabel": "<string>",
"registeredLabel": "<string>",
"className": "<string>"
},
"auth": {
"title": "<string>",
"message": "<string>",
"image": "<string>"
},
"form": {
"title": "<string>",
"message": "<string>",
"fields": {
"firstName": true,
"lastName": true,
"postalCode": true,
"phoneNumber": true
},
"consents": [
{
"id": "<string>",
"title": "<string>",
"label": "<string>",
"required": true
}
]
},
"success": {
"title": "<string>",
"message": "<string>",
"image": "<string>",
"button": {
"label": "<string>",
"url": "<string>",
"className": "<string>"
},
"discountCode": "<string>"
}
}
}The API key required for accessing protected routes. It should be included in the request headers as x-api-key.
The token ID of the product.
x >= 1The slug of the collection containing the product.
The UUID of the collection containing the product.
Registration settings retrieved successfully.
The URL associated with the product registration.
"https://example.com/register/123"
Configuration settings for the product registration system including UI screens, form fields, and user flow.
Show child attributes
Configuration for the initial trigger button that starts the registration process.
Show child attributes
Whether the trigger button is active and should be displayed.
Label text for the trigger button when the product is not yet registered.
Label text for the trigger button when the product is already registered.
CSS class name for styling the trigger button.
Configuration for the authentication screen shown before registration.
Show child attributes
Title text displayed on the authentication screen.
Message text displayed on the authentication screen.
URL of the image to display on the authentication screen.
Configuration for the registration form screen including fields and consents.
Show child attributes
Title text displayed on the registration form screen.
Message text displayed on the registration form screen.
Configuration for which fields to capture during registration.
Show child attributes
Whether to capture the user's first name during registration.
Whether to capture the user's last name during registration.
Whether to capture the user's postal code during registration.
Whether to capture the user's phone number during registration.
Array of consent items to capture during registration.
Show child attributes
Unique identifier for the consent item.
Internal title of the consent used for data exports and management.
Label text for the agreement checkbox (e.g., "I agree to the Terms of Service").
Whether this consent is required for registration to proceed.
Configuration for the success screen shown after successful registration.
Show child attributes
Title text for the success screen. Can use template variables {{email}}, {{firstName}}, {{lastName}} if they exist.
Message text for the success screen. Can use template variables {{email}}, {{firstName}}, {{lastName}} if they exist.
URL of the image to display on the success screen.
Configuration for the call-to-action button on the success screen.
Show child attributes
Label text for the success button.
URL that the success button should navigate to.
CSS class name for styling the success button.
Optional discount code to display on the success screen for promotional purposes.
curl --request GET \
--url https://api.oneofnone.io/v1/access/registration-settings \
--header 'x-api-key: <api-key>'{
"url": "https://example.com/register/123",
"registration_settings": {
"triggerButton": {
"active": true,
"unregisteredLabel": "<string>",
"registeredLabel": "<string>",
"className": "<string>"
},
"auth": {
"title": "<string>",
"message": "<string>",
"image": "<string>"
},
"form": {
"title": "<string>",
"message": "<string>",
"fields": {
"firstName": true,
"lastName": true,
"postalCode": true,
"phoneNumber": true
},
"consents": [
{
"id": "<string>",
"title": "<string>",
"label": "<string>",
"required": true
}
]
},
"success": {
"title": "<string>",
"message": "<string>",
"image": "<string>",
"button": {
"label": "<string>",
"url": "<string>",
"className": "<string>"
},
"discountCode": "<string>"
}
}
}