curl --request GET \
--url https://api.cal.com/v2/me \
--header 'Authorization: <authorization>'
{
"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 GET \
--url https://api.cal.com/v2/me \
--header 'Authorization: <authorization>'
{
"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?