curl --request PATCH \
--url https://api.cal.com/v2/me \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "<string>",
"name": "<string>",
"timeFormat": 12,
"defaultScheduleId": 123,
"weekStart": "Monday",
"timeZone": "<string>",
"locale": "en",
"avatarUrl": "https://cal.com/api/avatar/2b735186-b01b-46d3-87da-019b8f61776b.png",
"bio": "I am a bio",
"metadata": {
"key": "value"
}
}
'{
"status": "success",
"data": {
"id": 123,
"username": "<string>",
"email": "<string>",
"name": "<string>",
"avatarUrl": "<string>",
"bio": "<string>",
"timeFormat": 123,
"defaultScheduleId": 123,
"weekStart": "<string>",
"timeZone": "<string>",
"organizationId": 123,
"organization": {
"isPlatform": true,
"id": 123
}
}
}curl --request PATCH \
--url https://api.cal.com/v2/me \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "<string>",
"name": "<string>",
"timeFormat": 12,
"defaultScheduleId": 123,
"weekStart": "Monday",
"timeZone": "<string>",
"locale": "en",
"avatarUrl": "https://cal.com/api/avatar/2b735186-b01b-46d3-87da-019b8f61776b.png",
"bio": "I am a bio",
"metadata": {
"key": "value"
}
}
'{
"status": "success",
"data": {
"id": 123,
"username": "<string>",
"email": "<string>",
"name": "<string>",
"avatarUrl": "<string>",
"bio": "<string>",
"timeFormat": 123,
"defaultScheduleId": 123,
"weekStart": "<string>",
"timeZone": "<string>",
"organizationId": 123,
"organization": {
"isPlatform": true,
"id": 123
}
}
}value must be Bearer <token> where <token> is api key prefixed with cal_ or managed user access token
Must be 12 or 24
12, 24 12
Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday "Monday"
ar, ca, de, es, eu, he, id, ja, lv, pl, ro, sr, th, vi, az, cs, el, es-419, fi, hr, it, km, nl, pt, ru, sv, tr, zh-CN, bg, da, en, et, fr, hu, iw, ko, no, pt-BR, sk, ta, uk, zh-TW, bn "en"
URL of the user's avatar image
"https://cal.com/api/avatar/2b735186-b01b-46d3-87da-019b8f61776b.png"
Bio
"I am a bio"
You can store any additional data you want here. Metadata must have at most 50 keys, each key up to 40 characters, and values up to 500 characters.
{ "key": "value" }success, error "success"
Show child attributes
Was this page helpful?