Manage reseller domains
The White-label Domains API operates on the authenticated reseller:- Read
GET /api/v2/domains. - Register a domain with
POST /api/v2/domainafter completing the domain setup provided during Vida onboarding. - Re-read the list and confirm the domain appears.
- Select it with
POST /api/v2/domain/defaultwhen it should become the reseller’s default. - Re-read the list and verify exactly one intended domain is marked
default:true.
DELETE /api/v2/domain with the exact domain in the domain query parameter. Re-read the domain list after removal.
Domain registration does not prove DNS, certificate, or application availability. Open the final HTTPS URL and verify the customer-facing experience before announcing it.
Embed authenticated Vida access
Generate one-time authentication tokens only from your trusted backend:- Resolve the customer organization using your stored Vida account ID or
externalAccountId. - Verify that the signed-in user belongs to that customer in your own system.
- Call
GET /api/v2/auth/account/oneTimeAuthTokenwith the user’s email and, when needed, the customer’s external account ID. - Return only the short-lived token and required embed data to your frontend.
- Load
https://<your-vida-domain>/app/embedwith the URL-encodedauthTokenandemailquery values.
redirectUrl. Treat every prefill value as a suggestion: the resulting organization and Agent still need normal read, test, publish, and verification steps.
For a complete integration example, see Embed the Vida app.