Set a listing’s visit hoursComing soon
Replaces the listing’s visit settings.
Coming soon. Replaces the listing’s visit settings.
Scopes: calendar:write and listings:write
Pricing: Included with the connection.
AuthorizationBearer <matchai_<base62>>A personal API key, sent as Authorization: Bearer matchai_…. Create keys in Matchai under Settings → Connectors → Advanced (for developers). A key starts with matchai_ followed by letters and digits, carries the scopes chosen when it was created, and can be revoked at any time. Keys reach only the account that created them: to serve other professionals, use Connect with Matchai.
Scope: calendar:write, listings:write
listing_id*stringListing id, or its slug.
1 <= length <= 200application/json- body
When visitors can book a visit of this listing. It narrows your own availability; it never widens it.
enabled*booleanWhether visits can be booked from the listing page.
durations_minutes*array<>Visit lengths a visitor can choose.
1 <= items <= 6weekly_hours*array<>Showing hours. Empty means "whenever I am available".
Visit settings.
application/json- response
When visitors can book a visit of this listing. It narrows your own availability; it never widens it.
enabled*booleanWhether visits can be booked from the listing page.
durations_minutes*array<>Visit lengths a visitor can choose.
1 <= items <= 6weekly_hours*array<>Showing hours. Empty means "whenever I am available".
curl -X PUT 'https://api.matchai.co/v1/listings/string/availability' \ -H 'Content-Type: application/json' \ -d '{ "enabled": true, "durations_minutes": [ 5 ], "weekly_hours": [ { "day": "monday", "start": "string", "end": "string" } ]}'{ "enabled": true, "durations_minutes": [ 5 ], "weekly_hours": [ { "day": "monday", "start": "string", "end": "string" } ]}