Invite User
POST https://{server_address}/api/v1/organization/users/invite
Invite a new user to a specific organization. This endpoint will send the invitation email to the specified email address.
Headers
Authorization*
Bearer {access_token}
Content-Type*
application/json
Request Body
name*
John
New user's name, string.
roleId*
3
New user's role identifier, integer.
orgId
1
Organization, where user should be invited to, integer. The OAuth Client organization is used by default.
locale
en_US
New user's locale, string. The locale is consist of two-letter language code defined by ISO 639-1 (e.g., "en" for English) and a two-letter country code defined by ISO 3166-1 alpha-2 (e.g., "US" for the United States) separated by underscore.
{
"id": 1078,
"name": "John Doe",
"email": "[email protected]",
"title": "John",
"nickName": "john",
"phoneNumber": "+3801234567",
"roleId": 3,
"orgId": 703,
"tz": "Europe/Kiev",
"locale": "en_US",
"status": "Active",
"lastModifiedTs": 1702985292062,
"lastLoggedAt": 1702985292062,
"registeredAt": 1702985292062,
"isDev": false
}{
"error": {
"message": "Organization is not found or you don't have access to it."
}
}Request examples:
Last updated
Was this helpful?

