Companies/Entities

Invite a user to a company

Changed on

Invite a user to a company. Can be used to invite teammates to your own company or invite users into a company that you manage.

post/v1/companies/{company_id}/inviteuser

Request

  • Base URL
    https://api.newmoneycompany.com
  • Auth
    HTTP basic

Path parameters

company_idstring required

Company ID (c_xxxxxxxx)

Request body

emailstring required

Email address to invite

given_namestring
family_namestring
should_send_invite_emailboolean

Indicates whether or not NMC should send an invitation email or if we should return a URL so that it can be sent separately. This only applies to companies you manage

Example request

{
  "email": "test@newmoneycompany.com"
}

Response

Invite object

Example response

{
  "data": {
    "id": "in_qaz2wsx3",
    "email": "test@newmoneycompany.com",
    "company_id": "c_htrgfb12"
  }
}

Changes