List Availability Rules BETA

Description

Retrieves all availability rules saved against an account.

URL format

api.cronofy.com/v1/availability_rules

Example Request

GET /v1/availability_rules HTTP/1.1
Host: api.cronofy.com
Authorization: Bearer {ACCESS_TOKEN}

Example Response

HTTP/1.1 200 Success

{
  "availability_rules": [
    {
      "availability_rule_id": "default",
      "tzid": "America/Chicago",
      "calendar_ids": [
        "cal_n23kjnwrw2_jsdfjksn234"
      ],
      "weekly_periods": [
        {
          "day": "monday",
          "start_time": "09:30",
          "end_time": "12:30"
        },
        {
          "day": "wednesday",
          "start_time": "09:30",
          "end_time": "12:30"
        }
      ]
    }
  ]
}

Response parameters

availability_rules  #

An array of Availability Rules. See Read Availability Rule for details of the Availability Rule parameters.

Search