Get the guests' answers to a calendar event
get_message_responsesSee how the guests answered a calendar event: going, not going or maybe.
Only works on a calendar event; any other message answers
invalid_request: message_not_calendar.
The answer has counts (how many guests are going, not going or
maybe, and how many extra guests those who are going or maybe are
bringing) and responses, one entry per guest with who they are, their
answer, any extra guests they bring and when they answered. A guest who
changes their mind leaves one entry showing the latest answer, so this
is a current snapshot and not a history. To be told as answers come in,
watch for message.calendar_responded with list_events.
An event nobody has answered yet returns zero counts and an empty list, which is the normal answer and not an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes | Message id (`msg_…`), as returned by a send or by `list_messages`. | |
| number_alias | No | Which of the organization's WhatsApp numbers this acts on: `main`, the alias of an extra number, or the number's `id` (`num_…`), which stays the same when the alias is renamed. Call `list_numbers` to see them. Defaults to the main number. | main |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||