Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New POST /v1/invitations/send API Endpoint #297

Open
sergeychernyshev opened this issue Feb 28, 2021 · 0 comments
Open

New POST /v1/invitations/send API Endpoint #297

sergeychernyshev opened this issue Feb 28, 2021 · 0 comments
Labels

Comments

@sergeychernyshev
Copy link
Member

Create a new POST /v1/invitations/send endpoint

Only 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 of
  • NotFoundException - 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant