Create availability request
create_availability_requestCreate an availability request in an organization (requires scheduler/CRM-manager access). request_mode defaults to TIME_WINDOW (requires start_time and end_time); use request_mode=DAY for a date-only request. If you pass recipient_ids the request is created AND sent after confirmation. Who is told: those recipients are notified of the request; without recipient_ids it stays a DRAFT and nobody is told. Omit recipients to create an unsent request (status DRAFT). Confirmation-gated only when recipient_ids is passed; a DRAFT applies on the first call. Pass event_id when the request is for a gig: its time zone sets the clock times shown in the response (event_timezone); without one they fall back to the organization time zone, which may be UTC. Read it back with list_availability_requests scope=organization (add request_id for just this one).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"title": "<title>",
"date": "<date>"
},
"name": "create_availability_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | the date availability is needed (YYYY-MM-DD) | |
| title | Yes | short title for the request | |
| end_time | No | RFC3339; required when request_mode is TIME_WINDOW; must be after start_time | |
| event_id | No | optional event to associate; must belong to the org. Its time zone sets the request's clock zone | |
| expires_at | No | optional RFC3339 expiry | |
| start_time | No | RFC3339; required when request_mode is TIME_WINDOW | |
| description | No | longer explanation of the request, beyond its title | |
| request_mode | No | TIME_WINDOW (default — requires start_time and end_time) or DAY (date only) | |
| recipient_ids | No | user ids to ask. IMPORTANT: if provided, the request is created AND SENT immediately. Omit to create a DRAFT. | |
| organization_id | No | organization to act in, an id from get_me; omit to use your active organization | |
| org_position_ids | No | org position ids from list_org_positions that the request targets | |
| confirmation_token | No | only when recipient_ids is passed: leave empty on the first call; the server returns confirmation_required + a token, then resend the SAME args with that token |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | true on success (including confirmation_required prompts) | |
| data | No | when the tool asks first: { status: "confirmation_required", confirmation_token, summary, expires_in_seconds, instructions } and nothing is changed; once confirmed, the API response { status (HTTP status), data: { created_by_id, date, days [{ date, effective_end_time, effective_start_time, end_time, id, start_time }], description, end_time, event_id, event_status, event_title, event_type, event_timezone, expires_at, id, org_position_ids, recipients [{ availability_id, day_responses, email, email_bounced_at, email_delivered_at, email_opened_at, id, name, and 8 more fields }], request_mode, sent_at, start_time, status, and 1 more field } } | |
| error | No | when ok is false |