v4

latestOpenAPI 3.1.02026-08-02261331761.5 KB
Invites

Invite Members To Organization

Invite new members into the organization.

post/v2/orgs/{org_id}/invites

Path parameters

org_idstring required

Either the unique id of the organization, or the URL-friendly key of the organization (i.e: the "slug").

Either the unique id of the organization, or the URL-friendly key of the organization (i.e: the "slug").

Query parameters

inviter_namestring
inviter_emailstring

Request body

member_idstring uuid

Unique id of the invite

emailstring email required

The invited member's email address

role'admin' | 'write' | 'read' | 'no_access'

An enumeration.

Response

Successful Response

Example response

{
  "success": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
      "invite_code": "40ef0e48-a11f-4963-a229-e396c9eeefff",
      "email": "jane@coolcompany.com",
      "role": "admin",
      "created_at": "2019-08-24T14:15:22Z",
      "status": "pending",
      "failed_reason": ""
    }
  ]
}