Open sergeychernyshev opened 3 years ago
Create a new POST /v1/invitations/send endpoint
POST /v1/invitations/send
Only register these endpoints if invitations are allowed ($enableInvitations).
$enableInvitations
Parameters accepted:
name
string
invitation_email
invitation_note
invite_to_account
integer
Returns no object if successful
Exceptions
UnauthorizedException
NotFoundException
Create a new
POST /v1/invitations/send
endpointOnly register these endpoints if invitations are allowed (
$enableInvitations
).Parameters accepted:
name
-string
(invited person’s name)invitation_email
-string
(invited person’s email)invitation_note
-string
(invitation note)invite_to_account
-integer
(optional - account id, if invited to join account)Returns no object if successful
Exceptions
UnauthorizedException
- if user is inviting to account they are not a member ofNotFoundException
- if user is not a member of the account they are inviting a user to or account is individual and can’t have multiple users