Skip to main content
POST
/
meetings
/
{meeting_sid}
/
durations
Create a new duration
curl --request POST \
  --url https://{your-workspace}.neetocal.com/api/external/v1/meetings/{meeting_sid}/durations \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <x-api-key>' \
  --data '{
  "duration": 45,
  "is_default": false
}'
{
  "message": "Duration created successfully",
  "duration": {
    "id": "4ece6b6b-4b5f-4c15-9122-a85af189198c",
    "duration": 30,
    "is_default": true,
    "created_at": "2025-01-15T10:30:00Z",
    "updated_at": "2025-01-15T10:30:00Z"
  }
}
Replace {your-workspace} with your workspace’s subdomain.
Learn how to find your subdomain in Identifying your subdomain.

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 identifier (SID) of the scheduling link you want to use. You can get sid in different ways. Visit the scheduling link page and then click on "Settings" > "Show SID". That will give you sid. You can also get this from the response of the List all scheduling links endpoint, where it appears as the sid property for each scheduling link in the response.

Example:

"vj5pgkh"

Body

application/json
duration
integer
required

The duration in minutes (1-1440).

Required range: 1 <= x <= 1440
Example:

45

is_default
boolean

Whether this duration should be the default option (defaults to false).

Example:

false

Response

200 - application/json

OK - Request succeeded

message
string
Example:

"Duration created successfully"

duration
object
I