Ask Question
ask_questionAsk a person a question with 2-4 tappable options, then block on their answer (pair with wait_for_answer). Delivered as a push they can answer from the lock screen or in-app; the first valid answer wins. Rate-limited.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | Seconds the question stays open before it expires. | |
| data | No | Arbitrary structured context (max 25 keys / 8KB). Read surfaces return it after connector privacy filtering; do not put secrets in data. data.location is reserved for a shareable location. | |
| prompt | Yes | The question the person reads. | |
| context | No | Optional secondary line, e.g. a build number. | |
| options | No | Answer options in display order. Omit for a default Approve/Deny. | |
| reply_to | No | Optional routing pointer, echoed back unchanged. | |
| text_input | No | Invite a typed answer (on its own, or alongside options). max_length is capped at 60. | |
| invite_code | Yes | Room invite code. | |
| attachment_ids | No | Ids of up to 4 uploaded attachments (see upload_attachment) to include. Uploading requires a Pro account. | |
| correlation_id | No | Your own id, echoed back unchanged on read. | |
| idempotency_key | No | Stable key so a retried call cannot create a second one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Purpose-built PingRoom result with credential and account fields removed. |