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