Skip to content

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

@sergeychernyshev

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

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