Core resources


Administration


Booking flow

User profiles

User profiles

The user profile object

Attributes

user_iduuid

Unique identifier

created_attimestamp with time zone

Creation timestamp

updated_attimestamp with time zone

Last modification timestamp

avatartext | null

URL of the avatar image

emailtext

User email address

first_week_contains_datesmallint | null

First week of the year. Either 1 (first week with a Thursday) or 4 (first week with a Monday)

ftstsvector

Full text search index

last_login_attimestamp with time zone | null

Timestamp at which the user last logged in

localetext

User language

nametext | null

User name

referred_bytext | null

Identifier of the user that referred this user

sourcetext | null

Source of the user

week_starts_onsmallint | null

First day of the week. Either 1 or 0

The user profile object
{
"user_id": "00000000-0000-0000-0000-000000000000",
"created_at": "2024-10-18T03:59:32.248Z",
"updated_at": "2024-10-18T03:59:32.248Z",
"avatar": "",
"email": "",
"first_week_contains_date": 0,
"last_login_at": "2024-10-18T03:59:32.248Z",
"locale": "en-US",
"name": "",
"referred_by": "",
"source": "",
"week_starts_on": 0
}

List user profiles

Filters

user_idFilter<>

Unique identifier

created_atFilter<>

Creation timestamp

updated_atFilter<>

Last modification timestamp

avatarFilter<>

URL of the avatar image

emailFilter<>

User email address

first_week_contains_dateFilter<>

First week of the year. Either 1 (first week with a Thursday) or 4 (first week with a Monday)

ftsFilter<>

Full text search index

last_login_atFilter<>

Timestamp at which the user last logged in

localeFilter<>

User language

nameFilter<>

User name

referred_byFilter<>

Identifier of the user that referred this user

sourceFilter<>

Source of the user

week_starts_onFilter<>

First day of the week. Either 1 or 0

Responses

200

A list of user profiles with the selected columns

206

Partial Content

GET/user_profiles
curl -X GET "https://api.bookingmood.com/v1/user_profiles?select=*" \
  -H "Authorization: Bearer YOUR_API_KEY"

Update user profiles

Filters

user_idFilter<>

Unique identifier

created_atFilter<>

Creation timestamp

updated_atFilter<>

Last modification timestamp

avatarFilter<>

URL of the avatar image

emailFilter<>

User email address

first_week_contains_dateFilter<>

First week of the year. Either 1 (first week with a Thursday) or 4 (first week with a Monday)

ftsFilter<>

Full text search index

last_login_atFilter<>

Timestamp at which the user last logged in

localeFilter<>

User language

nameFilter<>

User name

referred_byFilter<>

Identifier of the user that referred this user

sourceFilter<>

Source of the user

week_starts_onFilter<>

First day of the week. Either 1 or 0

Body

Partial<UserProfile>

Responses

204

The updated user profiles with the selected columns

PATCH/user_profiles
curl -X PATCH "https://api.bookingmood.com/v1/user_profiles" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{}'