Request
Body Params  application/json
{
    "team_id": 0,
    "cal_name": "string",
    "description": "string",
    "timezone": "string",
    "workdays": [
        0
    ],
    "extra_cal_ids": [
        "string"
    ]
}
Request Code Samples
curl --location --request POST 'http://prod-cn.your-api-server.com/calendar/create' \
--header 'Content-Type: application/json' \
--data-raw '{
    "team_id": 0,
    "cal_name": "string",
    "description": "string",
    "timezone": "string",
    "workdays": [
        0
    ],
    "extra_cal_ids": [
        "string"
    ]
}'
Responses
application/json {
    "error": {
        "code": "InvalidParameter",
        "message": "string"
    },
    "data": {
        "cal_id": "string",
        "cal_name": "string"
    }
}
Modified at 2025-01-22 10:14:38