Core resources


Administration


Booking flow

Invite member

Invite a member to your organization. The member will receive an email with a link to accept the invitation. The member will have the user role. To make a member admin or superuser use the dashboard.

Body

emailrequiredstring

The email address of the member to invite.

namestring

The name of the member to invite.

Responses

201

The invited member

POST/invite-member
curl -X POST "https://api.bookingmood.com/v1/invite-member" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{"email":"johndoe@example.com","name":"John Doe"}'
Example response
{
"id": "00000000-0000-0000-0000-000000000000",
"organization_id": "00000000-0000-0000-0000-000000000000",
"user_id": "00000000-0000-0000-0000-000000000000",
"created_at": "2024-05-22T01:17:34.296Z",
"updated_at": "2024-05-22T01:17:34.296Z",
"role": "user",
"user_profile": {
"user_id": "00000000-0000-0000-0000-000000000000",
"created_at": "2024-05-22T01:17:34.296Z",
"updated_at": "2024-05-22T01:17:34.296Z",
"avatar": "",
"email": "",
"first_week_contains_date": 0,
"last_login_at": "2024-05-22T01:17:34.296Z",
"locale": "en-US",
"name": "",
"referred_by": "",
"source": "",
"week_starts_on": 0
}
}