cURL
curl --request POST \ --url https://{defaultHost}/v1/auth/{app_id}/magic_links/confirm_invite \ --header 'Authorization: Bearer <token>' \ --header 'X-Authorization: <api-key>'
{ "access": "<string>", "refresh": "<string>", "csrf": "<string>", "access_expires_at": "2023-11-07T05:31:56Z", "refresh_expires_at": "2023-11-07T05:31:56Z", "user_id": "<string>", "key_id": "<string>" }
Confirm a workspace invitation using magic link token and optionally provide required user metadata. Returns session tokens upon successful confirmation.
API Secret token
User Access token
App ID
invitation confirmed successfully
JWT access token
JWT refresh token
CSRF token
App user ID
App key ID
Was this page helpful?