Перейти к содержимому

List active invites

Запрос

Not yet accepted and not expired invites. Requires members.read.

Безопасность
apiKeyAuth
curl -i -X GET \
  https://b2b-app.lumowallet.io/_mock/apis/members/invites \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Ответы

Active invites

Телоapplication/json
Array [
idstring, (uuid)
tokenstring
emailstring or null, (email)
rolestring
Enum:"admin""member"
permissionsArray of strings
expiresAtstring, (date-time)

7 days after creation

createdAtstring, (date-time)
urlstring

Link to the cabinet page where the invite is accepted

]
Ответ
[ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "token": "string", "email": "[email protected]", "role": "admin", "permissions": [ … ], "expiresAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "url": "string" } ]