Availability requests
list_availability_requestsList availability requests, or pass request_id to read one. scope=received lists the requests sent to you (user_id defaults to you); status filters on YOUR reply: PENDING, AVAILABLE, UNAVAILABLE, EXPIRED, WITHDRAWN. scope=organization lists every request an organization created, including drafts; it needs crm.manage there, takes organization_id (defaults to your active organization) and event_id, and status filters on the request itself: DRAFT, OPEN, CLOSED, EXPIRED, CANCELLED. With scope omitted: user_id means received; organization_id, event_id, or a status only a request has (DRAFT, OPEN, CLOSED, CANCELLED) means organization; otherwise received. A status or filter that does not belong to the chosen scope is rejected rather than ignored. With request_id the list filters are ignored: scope=received reads it as a recipient (recipients filtered to you; a request you were not sent returns 404), scope=organization reads it as the manager with every recipient and reply (use it to read back a request you created, including a DRAFT); with scope omitted, organization_id means organization, otherwise the recipient view is tried first and a 404 falls back to your active organization.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_availability_requests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | max 100, default 25 | |
| scope | No | received = requests sent to you; organization = requests your organization created (needs crm.manage) | |
| offset | No | rows to skip before this page; omit to start at the first row | |
| status | No | received: PENDING|AVAILABLE|UNAVAILABLE|EXPIRED|WITHDRAWN; organization: DRAFT|OPEN|CLOSED|EXPIRED|CANCELLED | |
| user_id | No | received scope only; defaults to the signed-in user | |
| event_id | No | organization scope only; requests for this gig | |
| request_id | No | read this one availability request instead of listing | |
| organization_id | No | scope=organization only: an organization id from get_me; your active organization when omitted |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | true on success (including confirmation_required prompts) | |
| data | No | the API response { status (HTTP status), data: a list: [{ 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 }]; one request (request_id): { 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 |