Redeem an invitation token: set the password, activate the account and mint a session (the single-use token is the gate; no authentication)
const url = 'https://example.com/v1/invites/accept';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"password":"example","token":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/v1/invites/accept \ --header 'Content-Type: application/json' \ --data '{ "password": "example", "token": "example" }'Redeems an invitation token: sets the password, activates the account and mints a session. Unauthenticated — the single-use token is the gate; a browser session additionally receives the cookie envelope.
Authorizations
Section titled “ Authorizations ”- None
Request Body required
Section titled “ Request Body required ”object
Example generated
{ "password": "example", "token": "example"}Responses
Section titled “ Responses ”OK
object
Opaque session token (olvs_…)
object
Example generated
{ "expires_at": "2026-04-15T12:00:00Z", "session_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "token": "example"}Bad request
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}Unauthenticated
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}Forbidden
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}Not found
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}Conflict / setup required
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}Rate limited
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}