Skip to content

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

Description

@sergeychernyshev

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions