Users

User actions

Get all information about your profile

GET https://app.zencal.io/api/v1/profile

The method returns information on the user to whom the API key applies

Headers

NameTypeDescription

X-Zencal-Api-Key*

String

Zencal Api key

Content-Type*

String

application/json

Accept*

String

application/json

{
    "email": "joe.smith@hotmail.com"
    "username": "joe-smith",
    "phone": "+32100200300",
    "firstName": "Joe",
    "lastName": "Smith",
    "avatar": "https://cdn.zencal.io/avatar.png",
    "availableMeetingPlaces": [
        {
            "value": "zoom",
            "name": "Zoom"
        },
        {
            "value": "google-meet",
            "name": "Google Meet"
        }
    ]
}

Update your profile information

PATCH https://app.zencal.io/api/v1/profile

Headers

NameTypeDescription

X-Zencal-Api-Key*

String

Zencal Api key

Content-Type*

String

application/json

Accept*

String

application/json

Request Body

NameTypeDescription

email

String

User's email

firstName

String

User's first name

lastName

String

User's last name

phone

String

Phone number

phonePrefix

String

Phone number prefix eg. 43

It's required if phone is sent

{
    "email": "joe.smith@hotmail.com"
    "username": "joe-smith",
    "phone": "+32100200300",
    "firstName": "Joe",
    "lastName": "Smith",
    "avatar": "https://cdn.zencal.io/avatar.png",
    "availableMeetingPlaces": [
        {
            "value": "zoom",
            "name": "Zoom"
        },
        {
            "value": "google-meet",
            "name": "Google Meet"
        }
    ]
}

Last updated