curl --request GET \
--url https://api.cal.com/v2/oauth-clients/{clientId}/users/{userId} \
--header 'x-cal-secret-key: <x-cal-secret-key>'
{
"status": "success",
"data": {
"id": 1,
"email": "alice+cluo37fwd0001khkzqqynkpj3@example.com",
"username": "alice",
"name": "alice",
"bio": "bio",
"timeZone": "America/New_York",
"weekStart": "Sunday",
"createdDate": "2024-04-01T00:00:00.000Z",
"timeFormat": 12,
"defaultScheduleId": null,
"locale": "en",
"avatarUrl": "https://cal.com/api/avatar/2b735186-b01b-46d3-87da-019b8f61776b.png",
"metadata": {
"key": "value"
}
}
}
OAuth client secret key
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.cal.com/v2/oauth-clients/{clientId}/users/{userId} \
--header 'x-cal-secret-key: <x-cal-secret-key>'
{
"status": "success",
"data": {
"id": 1,
"email": "alice+cluo37fwd0001khkzqqynkpj3@example.com",
"username": "alice",
"name": "alice",
"bio": "bio",
"timeZone": "America/New_York",
"weekStart": "Sunday",
"createdDate": "2024-04-01T00:00:00.000Z",
"timeFormat": 12,
"defaultScheduleId": null,
"locale": "en",
"avatarUrl": "https://cal.com/api/avatar/2b735186-b01b-46d3-87da-019b8f61776b.png",
"metadata": {
"key": "value"
}
}
}
curl --request GET \
--url https://api.cal.com/v2/oauth-clients/{clientId}/users/{userId} \
--header 'x-cal-secret-key: <x-cal-secret-key>'
{
"status": "success",
"data": {
"id": 1,
"email": "alice+cluo37fwd0001khkzqqynkpj3@example.com",
"username": "alice",
"name": "alice",
"bio": "bio",
"timeZone": "America/New_York",
"weekStart": "Sunday",
"createdDate": "2024-04-01T00:00:00.000Z",
"timeFormat": 12,
"defaultScheduleId": null,
"locale": "en",
"avatarUrl": "https://cal.com/api/avatar/2b735186-b01b-46d3-87da-019b8f61776b.png",
"metadata": {
"key": "value"
}
}
}
OAuth client secret key
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.cal.com/v2/oauth-clients/{clientId}/users/{userId} \
--header 'x-cal-secret-key: <x-cal-secret-key>'
{
"status": "success",
"data": {
"id": 1,
"email": "alice+cluo37fwd0001khkzqqynkpj3@example.com",
"username": "alice",
"name": "alice",
"bio": "bio",
"timeZone": "America/New_York",
"weekStart": "Sunday",
"createdDate": "2024-04-01T00:00:00.000Z",
"timeFormat": 12,
"defaultScheduleId": null,
"locale": "en",
"avatarUrl": "https://cal.com/api/avatar/2b735186-b01b-46d3-87da-019b8f61776b.png",
"metadata": {
"key": "value"
}
}
}