cURL
curl --request POST \ --url https://b2b-api.dev-riseworks.io/v2/invites/manager \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "emails": [ "jsmith@example.com" ], "role": "team_admin", "nanoid": "<string>" } '
{ "success": true, "data": { "invites": [ "<string>" ], "typed_data": { "domain": { "name": "<string>", "version": "<string>", "chainId": 123, "verifyingContract": "<string>" }, "types": { "SetRolesForwardRequest": [ { "name": "<string>", "type": "<string>" } ], "SetRole": [ { "name": "<string>", "type": "<string>" } ] }, "typed_data": { "from": "<string>", "to": "<string>", "salt": "<string>", "expires": "<string>", "data": [ { "role": "<string>", "account": "<string>" } ] }, "primary_type": "<string>" } } }
Create admin invites for a company or team. This is used to invite users to the company or team.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
1 - 100
team_admin
team_finance_admin
team_viewer
TeamNanoid
15
Default Response
true
false
Show child attributes