Skip to main content
GET
Poll an interaction for the phone's answer

Authorizations

Authorization
string
header
required

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

id
string
required

The interaction id returned by POST /v1/interactions.

Example:

"int_3f6e2a7c9b1d4f8e8a5b6c1d2e3f4a5b"

Query Parameters

wait
integer
default:0

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].

Required range: 0 <= x <= 45
Example:

20

Response

Current interaction state.

id
string
required

Interaction id, echoed back.

Example:

"int_3f6e2a7c9b1d4f8e8a5b6c1d2e3f4a5b"

status
enum<string>
required

Current interaction state.

Available options:
pending,
answered,
expired
Example:

"answered"

expires_at
integer
required

Unix epoch seconds when the interaction expires (or expired).

Example:

1754800000

choice_index
integer

Index into the original choices array. Present only once status is answered.

Required range: 0 <= x <= 3
Example:

0

answered_at
integer

Unix epoch seconds when the phone answered. Present only once status is answered.

Example:

1754799500