Skip to content
Poll Express

Authentication and errors

Use the HTTP API to manage your polls or read a results snapshot.

On this page

Base URL: https://poll.express/api/v1

Authentication

Use a personal API key as a Bearer credential on supported owner routes. Each operation lists the permissions its key needs. OAuth access tokens issued for MCP aren’t accepted here. In the web app, use a signed-in browser session; the browser sends its own cookie.

curl -sS "https://poll.express/api/v1/decks" \
  -H "Authorization: Bearer $POLL_KEY"

Errors

Read the status and the response body. JSON errors usually carry an _tag and a message. For 429, follow Retry-After if present.

  • 400InvalidThe request doesn’t match the expected input.
  • 401UnauthorizedSign in or supply a valid credential for this route.
  • 403ForbiddenThe credential lacks permission, or the request isn’t allowed.
  • 404Not foundThe resource doesn’t exist or isn’t available to you.
  • 409ConflictThe requested change conflicts with the current state or an account limit.
  • 413Too largeThe request body exceeds the size limit.
  • 429Rate limitedWait before sending more requests.
  • 503UnavailablePoll Express couldn’t complete the request right now.

For a 409 tagged StructuralEditBlocked, check closeRequired and resetRequired before replacing a question.

Pagination

The HTTP poll and question list routes return arrays without cursors.

Read the retry and MCP pagination guidance in Limits.

Create a personal API key or open the OpenAPI document.

Resources

Docs