Core resources


Administration


Booking flow

User profiles

User profiles

The user profile object

Attributes

referrer_iduuid | null
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

sourcetext | null

Source of the user

week_starts_onsmallint | null

First day of the week. Either 1 or 0

The user profile object
{
"referrer_id": "00000000-0000-0000-0000-000000000000",
"user_id": "00000000-0000-0000-0000-000000000000",
"created_at": "2024-11-24T05:18:40.429Z",
"updated_at": "2024-11-24T05:18:40.429Z",
"avatar": "",
"email": "",
"first_week_contains_date": 0,
"last_login_at": "2024-11-24T05:18:40.429Z",
"locale": "en-US",
"name": "",
"source": "",
"week_starts_on": 0
}

List user profiles

Filters

referrer_idFilter<>
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

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

referrer_idFilter<>
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

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 '{}'