Scheduling Links
Toggle link state
Disable an active or pending link, or enable a disabled or archived link. An enabled link that can't take bookings yet becomes pending.
post/v1/links/{link_id}/toggle
Request
- Base URLhttps://api.savvycal.com
- Auth
- OAuth 2Authorization code/oauth/authorizeToken URL/oauth/token
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
link_idstring required
Response
Success
Example response
{
"default_duration": 30,
"description": "<p>A brief meeting to discuss your needs</p>",
"durations": [
15,
30,
45
],
"fields": [
{
"id": "field_123",
"is_required": true,
"label": "Company",
"options": [],
"type": "short_text"
}
],
"id": "link_01J5KC2G3MHPCECSQ6KM6FMDPC",
"increment": 15,
"name": "30 Minute Meeting",
"private_name": "Quick sync with prospects",
"scope": {
"id": "scope_01J5KC4R7NHQFGT8V2WD9Y8H6X",
"name": "Sales Team",
"slug": "sales"
},
"slug": "30min",
"state": "active"
}Changes
No recorded changes to this operation across all 1 revision of this API.