Skip to main content
GET
Get an inter-session ask

Path Parameters

askId
string<uuid>
required

The inter-session ask's id.

Response

The ask and, when answered, its answer.

A blocking question one session asked another. The answer also arrives on the event stream as an intercom-message event.

id
string<uuid>
required
status
enum<string>
required

expired means the deadline passed with no answer. It is the refusal a waiting caller acts on: the question is closed, the asking lane is released, and the same question may be asked again. It exists because the other end is a program — a question put to a PERSON waits forever on purpose, since the only thing a timeout there could mean is "they were slow", while a program that is wedged or gone will never notice it was asked.

Available options:
pending,
answered,
expired
askedAt
string<date-time>
required
answer
string

The answer, once given.

deadline
string<date-time>

When an unanswered ask gives up. Reading a pending ask past this moment settles it first, so a poller never reads pending for a question that has already run out of time.

answeredAt
string<date-time>