API referenceConversation Autopilot

Poll a single verification wait

Fetches one verification wait by waitId so you can poll for its outcome instead of, or alongside, the webhook event.

Endpoint
GET https://api.dairo.app/v1/inboxes/{inbox}/verification-waits/{waitId}

Fetches one verification wait by waitId so you can poll for its outcome instead of, or alongside, the webhook event. While status is pending the resolution fields are null; once it flips to resolved, result holds the extracted value and from, messageId, and resolvedAt identify the message that satisfied it. A wait that lapsed past expiresAt reads expired with expiredAt set, while one you canceled reads canceled with canceledAt set — so you can tell a deadline lapse from a deliberate cancel. The {inbox} segment accepts the inbox UUID or full address; a waitId that does not belong to that inbox returns 404.

Scope: inboxes:read. Send the API key as a bearer token; Scopes lists what each one reaches.

Request

cURL
curl "https://api.dairo.app/v1/inboxes/support/verification-waits/3fa85f64-5717-4562-b3fc-2c963f66afa6" \
  -H "Authorization: Bearer $DAIRO_API_KEY"

Path parameters

NameTypeRequiredDescription
inboxstringyesInbox UUID or full address (e.g. agent@dairo.app).
waitIdstring (uuid)yesVerification wait id returned by the register call.

Response

200 Success. Body: application/json, VerificationWait.

FieldTypeRequiredDescription
waitIdstring (uuid)yes
inboxIdstring (uuid)yes
agentIdstring (uuid) or nullnoThe Agent Passport that registered this wait, when the API key was agent-bound.
status"pending", "resolved", "expired"yes
fromHintstring or nullno
instructionstring or nullnoThe natural-language matcher instruction this wait was registered with.
resultstring or nullnoThe value the AI matcher extracted per the instruction (present once resolved) — a code, a link, or a quoted line.
fromstring or nullnoThe From address of the message that resolved the wait.
messageIdstring (uuid) or nullnoThe inbound message that resolved the wait.
idempotencyKeystring or nullno
expiresAtstring (date-time)yes
createdAtstring (date-time)yes
resolvedAtstring (date-time) or nullno
expiredAtstring (date-time) or nullno
200
{
  "waitId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "inboxId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "agentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "status": "pending",
  "fromHint": null,
  "instruction": null,
  "result": null,
  "from": null,
  "messageId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "idempotencyKey": null,
  "expiresAt": "2026-10-19T09:30:00Z",
  "createdAt": "2026-10-19T09:30:00Z",
  "resolvedAt": "2026-10-19T09:30:00Z",
  "expiredAt": "2026-10-19T09:30:00Z"
}

Errors

Every error has the same body, {"error": {"type", "code", "message", "param"}}; branch on code. Errors lists every code.

StatusMeaning
400The request is malformed or a value is invalid (invalid_request, invalid_domain, idempotency_key_mismatch).
401The API key is missing or invalid.
403The key lacks the scope this endpoint needs (scope_missing) or may not do this (not_permitted).
404No such resource in this account (resource_not_found).
409The resource already exists or its state does not allow this (duplicate_resource or a condition-specific code).
422The request is well-formed but a field failed validation (validation_failed).
429Rate limit, plan limit, budget or spend cap reached (rate_limited, plan_limit_reached, budget_exceeded, spend_cap_reached).
500An unexpected error; retry with backoff, then contact support (internal_error).

On this page