/
Accept an invite
Public. Creates a member with the given email and password in the invite's company and logs them in: returns a session token and the new member's API key. If the invite names an email, only that email is accepted. One email can belong to one company only.
- Mock serverhttps://b2b-app.lumowallet.io/_mock/apis/auth/invites/{token}/accept
- Productionhttps://b2b.lumowallet.io/auth/invites/{token}/accept
- Staginghttps://b2b-staging.lumowallet.io/auth/invites/{token}/accept
curl -i -X POST \
'https://b2b-app.lumowallet.io/_mock/apis/auth/invites/{token}/accept' \
-H 'Content-Type: application/json' \
-d '{
"email": "[email protected]",
"password": "stringst"
}'Ответ
{ "company": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "email": "[email protected]" }, "token": "string", "apiKey": "lb2b_7d0e9c8b6a5f4e3d2c1b0a9f8e7d6c5b" }