Skip to main content
Retrieve a poll response

Authorizations

Authorization
string
header
required

A Tightknit admin API key, sent as Authorization: Bearer <key>.

Path Parameters

poll_response_id
string
required

The poll response's id.

Pattern: ^qrsp_[a-zA-Z0-9]{12}$

Query Parameters

expand

Repeatable. Returns the named relation inline. One of: option, profile.

Available options:
option,
profile

Response

Success

object
enum<string>
required

Always poll_response.

Available options:
poll_response
id
string
required

Unique identifier for the object.

Example:

"qrsp_3n7v2k9m4xqp"

created_at
string<date-time>
required

When the member first answered. On a poll taking one answer, changing it rewrites this record rather than replacing it, so this stays the first vote.

updated_at
string<date-time>
required

When the answer last changed. Equal to created_at on a vote never changed.

poll_id
string
required

The id of the poll answered.

Example:

"poll_6r4t8y2u1iop"

option_id
string
required

The id of the option chosen.

Example:

"qopt_8k3m1p9x2vqz"

option_label
string
required

What the chosen option says, so a response reads without expanding it.

Example:

"Wednesday"

profile_id
string
required

The id of the profile that answered.

Example:

"prof_9f2b8c1d4e5a"

option
object | null

The option chosen. Present only when option is expanded.

profile
object | null

The member who answered. Present only when profile is expanded.