Poll an interaction for the phone's answer
Returns the current state of an interaction created via POST /v1/interactions. wait requests a bounded server-side wait: the call holds the connection open and returns early as soon as the phone answers, or once the wait budget is spent — whichever comes first — so a single poll can replace a naive tight loop. Cross-principal reads and unknown ids are indistinguishable — both return 404 rather than confirming an id exists to the wrong owner.
Authorizations
Opaque bearer token created on your paired Android phone. The format is rfk_live_ followed by 32 URL-safe alphanumeric characters (≥160 bits of entropy). Test tokens use the rfk_test_ prefix.
Path Parameters
The interaction id returned by POST /v1/interactions.
"int_3f6e2a7c9b1d4f8e8a5b6c1d2e3f4a5b"
Query Parameters
Seconds to hold the connection open waiting for an answer — bounded server-side wait, returns early when answered. Out-of-range values are clamped into [0, 45].
0 <= x <= 4520
Response
Current interaction state.
Interaction id, echoed back.
"int_3f6e2a7c9b1d4f8e8a5b6c1d2e3f4a5b"
Current interaction state.
pending, answered, expired "answered"
Unix epoch seconds when the interaction expires (or expired).
1754800000
Index into the original choices array. Present only once status is answered.
0 <= x <= 30
Unix epoch seconds when the phone answered. Present only once status is answered.
1754799500