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-12-06T04:15:35.774Z",
"updated_at": "2024-12-06T04:15:35.774Z",
"role": "user",
"user_profile": {
"referrer_id": "00000000-0000-0000-0000-000000000000",
"user_id": "00000000-0000-0000-0000-000000000000",
"created_at": "2024-12-06T04:15:35.774Z",
"updated_at": "2024-12-06T04:15:35.774Z",
"avatar": "",
"email": "",
"first_week_contains_date": 0,
"last_login_at": "2024-12-06T04:15:35.774Z",
"locale": "en-US",
"name": "",
"source": "",
"week_starts_on": 0
}
}