Schedule viewing
schedule_viewingStage a viewing in the agent's own CRM diary, with the client and the listing on it. Returns a preview and an action_id; NOTHING is saved until you call confirm_action with that id, after the agent has said yes.
The listing can be the agency's own or a shared MLS listing. This only books the agent's diary: for an MLS listing, the listing agency is not contacted, so the agent arranges access with them. Times are read in Spanish time (Europe/Madrid) unless they carry an offset.
Requires a linked PropertyList account: the change is made in the agent's own name, with their CRM permissions, so an agency API key alone cannot make it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Optional. | |
| starts_at | Yes | ISO 8601 date and time, e.g. '2026-10-08T11:00'. | |
| contact_id | Yes | The client, from find_contacts. | |
| duration_minutes | No | ||
| property_reference | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| details | Yes | ||
| summary | Yes | What confirming will do, to show the agent. | |
| action_id | Yes | Pass to confirm_action to make the change, or cancel_action to drop it. | |
| expires_at | Yes | ISO 8601, UTC. After this the preview must be staged again. |