cURL
curl --request POST \ --url https://www.closient.com/account/api/v1/organizations/{org_id}/members \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "email": "<string>", "role": "editor" } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "user_email": "<string>", "user_name": "<string>", "role": "<string>", "role_display": "<string>" }
Invite a user to the organization by email. Creates the user if they do not exist.
UUID of the organization.
Request schema for inviting a member to an organization.
Email address of the user to invite.
Role to assign: owner, manager, editor, billing, or viewer.
OK
Response schema for a membership record.