Skip to main content
PUT
/
meetings
/
{meeting_sid}
/
durations
/
{id}
Update a duration
curl --request PUT \
  --url https://{your-workspace}.neetocal.com/api/external/v1/meetings/{meeting_sid}/durations/{id} \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <x-api-key>' \
  --data '{
  "duration": 60,
  "is_default": true
}'
{
  "message": "Duration updated 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"

id
string
required

The unique identifier of the duration. You can get this id from the response of the List durations for a meeting endpoint, where it appears as the id property for each duration in the response.

Example:

"4ece6b6b-4b5f-4c15-9122-a85af189198c"

Body

application/json
duration
integer
required

The new duration in minutes (1-1440).

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

60

is_default
boolean

Whether this duration should be the default option.

Example:

true

Response

200 - application/json

OK - Request succeeded

message
string
Example:

"Duration updated successfully"

duration
object
I