Users

Submit invitation request to join organization

Submit a request to join a specific organization.

Process:

  1. Validates user information and organization
  2. Checks for existing invitations (auto-approves if found)
  3. Creates invitation request record
  4. Sends notifications to organization admins
  5. Sends confirmation to requesting user

Auto-Approval: If the user already has a valid invitation from the organization, the request is automatically approved and user account created.

Request Body:

{
    "email": "user@example.com",
    "first_name": "John",
    "last_name": "Doe",
    "mobile": "+1234567890",
    "requested_to": 123,
    "organization": 456,
    "password": "securepassword"
}

Returns: Invitation request details or auto-approval confirmation

post/invitation_requests

Request body

idinteger
emailstring required

Email address of the would-be user.

mobilestring nullable

Cell phone number of the would-be user.

first_namestring required

First name of the would-be user.

last_namestring required

Last name of the would-be user.

requested_tostring required
requested_to_organizationstring
password1string required
password2string required
requested_atstring date-time nullable

Timestamp when the would-be user requested access.

approved_atstring date-time nullable

Timestamp when the would-be user was approved.

rejected_atstring date-time nullable

Timestamp when the would-be user was rejected.

Response

Created

idinteger
emailstring required

Email address of the would-be user.

mobilestring nullable

Cell phone number of the would-be user.

first_namestring required

First name of the would-be user.

last_namestring required

Last name of the would-be user.

requested_tostring required
requested_to_organizationstring
password1string required
password2string required
requested_atstring date-time nullable

Timestamp when the would-be user requested access.

approved_atstring date-time nullable

Timestamp when the would-be user was approved.

rejected_atstring date-time nullable

Timestamp when the would-be user was rejected.

Changes