Skip to main content
POST
/
meetings
/
{meeting_sid}
/
availability
/
create
Create an availability for a scheduling link
curl --request POST \
  --url https://{your-workspace}.neetocal.com/api/external/v1/meetings/{meeting_sid}/availability/create \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <x-api-key>' \
  --data '
{
  "email": "[email protected]",
  "name": "Meeting Specific Availability",
  "periods": [
    {
      "wday": "monday",
      "start_time": "09:00 AM",
      "end_time": "05:00 PM"
    },
    {
      "wday": "friday",
      "start_time": "10:00 AM",
      "end_time": "04:00 PM"
    }
  ],
  "overrides": [
    {
      "date": "2025-03-07",
      "periods": [
        {
          "wday": "friday",
          "start_time": "11:00 AM",
          "end_time": "04:00 PM"
        }
      ]
    }
  ]
}
'
{
  "availability_id": "<string>",
  "member_id": "<string>",
  "meeting_id": "<string>",
  "availability": {
    "id": "01ea5ddf-ed00-4bed-bfa3-ba8ea80a856a",
    "sid": "2nq7q5c",
    "name": "Availability for custom user",
    "default": false,
    "after_buffer_time": 0,
    "before_buffer_time": 0,
    "periods": [
      {
        "id": "21c812a7-3859-4f01-b214-850e6f11caad",
        "wday": "monday",
        "start_time": "09:00 AM",
        "end_time": "05:00 PM"
      }
    ],
    "overrides": [
      {
        "date": "2025-03-07",
        "periods": [
          {
            "wday": "friday",
            "start_time": "10:00 AM",
            "end_time": "03:00 PM"
          }
        ]
      }
    ],
    "user": {
      "id": "b6d02dfa-8ef6-453d-b9f7-67a6f20bcaa6",
      "name": "Oliver Smith",
      "email": "[email protected]"
    }
  }
}
Replace {your-workspace} with your workspace’s subdomain.
Learn how to find your subdomain in Identifying your subdomain.
The created availability will be associated with the specified team member for this specific scheduling link. If the team member already has an availability for this meeting, it will be updated to use the newly created availability.

Headers

X-Api-Key
string
required

X-Api-Key is used to authenticate requests using an API key. Provide your API key in this header to access protected endpoints. Refer to Authentication for more information.

Path Parameters

meeting_sid
string
required

The unique SID of the scheduling link. You can get sid in different ways. Visit the scheduling link page and then click on "Settings" > "Show SID". That will give you sid. The other way you can get sid is by listing scheduling links using our List all scheduling links API. Here you will see sid for each scheduling link.

Body

application/json
email
string<email>
required

Email of the team member who is a member of this scheduling link.

name
string
required

Name for the custom availability.

Example:

"Meeting Specific Availability"

periods
object[]
required
Example:
[
{
"wday": "monday",
"start_time": "09:00 AM",
"end_time": "05:00 PM"
},
{
"wday": "friday",
"start_time": "10:00 AM",
"end_time": "04:00 PM"
}
]
overrides
object[]

Set an override for specific days. To set a date as unavailable, pass a blank array to the periods property. You can remove existing overrides by omitting the periods property.

Example:
[
{
"date": "2025-03-07",
"periods": [
{
"wday": "friday",
"start_time": "11:00 AM",
"end_time": "04:00 PM"
}
]
}
]

Response

200 - application/json

OK - Availability created and associated with meeting member successfully

availability_id
string

Unique identifier of the created availability.

member_id
string

Unique identifier of the team member.

meeting_id
string

Unique identifier of the meeting.

availability
object