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>",
"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>",
"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
The response is of type object
.
Was this page helpful?