Skip to main content
POST
Cast a fan's vote

Authorizations

x-api-key
string
header
required

Which app is calling, and its usage plan: a platform's secret key, from servers only, or an app's publishable key (pk_live_...), safe in app code. It identifies the app and grants nothing on its own.

Authorization
string
header
required

The fan's token, from the client's own login.

Path Parameters

poll_id
string
required
Pattern: ^pol_[0-9A-HJKMNP-TV-Z]{26}$
Example:

"pol_01JBX7Q3A1B2C3D4E5F6G7H8J9"

Body

application/json
option_id
string
required

One of the poll's options.

Pattern: ^opt_[0-9A-HJKMNP-TV-Z]{26}$
Example:

"opt_01M7WQND9RKTH6WF72R2VFKZ1S"

Response

Accepted and queued. No body.