Skip to content
Poll Express

API keys and setup tokens

Authenticate a script or MCP client that can send a bearer header.

On this page

Personal API keys authenticate requests to MCP and supported HTTP API routes. They don’t sign you into the web app. OAuth access tokens issued for MCP don’t work on the HTTP API.

Create a key

  1. Open Connections and confirm with your passkey.
  2. Under Personal API keys, name the key after the script or client that will use it. Pick a lifetime. The default is 90 days, with a maximum of 365.
  3. Leave the key read-only unless it needs to edit polls or control a live presentation. Create it, then copy it. Poll Express shows the secret only once.

Send the key

Give the key to your MCP client through its credential store or an environment variable. It belongs in the Authorization header, not in a URL:

Authorization: Bearer YOUR_PERSONAL_API_KEY

If you need different permissions or the key was exposed, create a replacement and use Revoke in Connections to disable the old one. Don’t paste keys into chats, code repositories, logs or slides.

Exchange a setup token

A setup token is a one-time way to give an agent its own key. Confirm with your passkey and select the permissions when issuing it. The token expires after 15 minutes and cannot be used after sign-out, cancellation or a successful exchange.

Send it as a bearer token to the exchange endpoint, with the agent’s name. The response contains a personal key valid for 90 days, with the permissions chosen by the presenter. Use the personal key for subsequent MCP requests. If the token no longer works, ask the presenter for a new one.

Docs