cURL
curl --request POST \ --url https://api.lumx.io/customers/{id}/tos \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "redirectUrl": "https://yourapp.com/onboarding/next-step" } '
{ "url": "https://dashboard.lumx.io/tos/eyJhbGciOiJSUzI1...", "expiresAt": "2026-04-09T16:00:00Z" }
This endpoint generates a terms of service acceptance URL for a customer.
Bearer authentication header on the format Bearer <API_KEY>.
Bearer <API_KEY>
Customer's unique identifier.
URL to redirect the customer to after they accept the terms of service.
Terms of service URL successfully generated.
The acceptance link for the customer to accept the terms of service.
Expiration date and time of the acceptance link. The link expires after 24 hours.