Set up API and developer access
Use the QuestionPunk REST API to work with surveys and responses programmatically.
QuestionPunk offers a public REST API for survey and response workflows. Authenticate with an API key or an OAuth access token. Use the documented operations and required scopes. Assistants connect through the separate researcher MCP connection with OAuth.
Before you start
Decide whether you need the public REST API or the separate researcher MCP connection. Make sure you can access Developer settings before you try to create a key.
Steps
Create an API key
Go to Settings > Developer > API Keys and click + Create API Key. Enter a name and copy the key. Store it securely because it is shown only once.Authenticate your requests
Usehttps://app.questionpunk.com/api/public/v1as the REST base URL. For authenticated operations, send your API key or OAuth access token in theAuthorization: Bearer <token>header.English interface · Demo study. Use the controls described in this step.
Check the API specification
Open the public REST OpenAPI specification to see supported methods, paths, request bodies, response schemas, and required scopes. MCP tool arguments and REST request bodies use different contracts.Follow the rate limits
The public REST API allows 100 requests per fixed 60-second window per client IP. Read the returned rate limit headers. If a request returns 429, wait as directed byRetry-After.
Details and limitations
If you want to connect an assistant, use the researcher MCP setup guide. Its canonical endpoint is https://app.questionpunk.com/api/v1. A compatible client discovers OAuth, asks you to sign in, and requests consent. This is separate from the public REST base URL.
You can create, rotate, and revoke API keys from the Developer settings page. Choose the scopes your REST integration needs. Keep credentials out of URLs and chat messages.
You can use the public OpenAPI specification to generate REST client libraries. Account permissions and operation-specific restrictions still apply.
REST responses include RateLimit-Policy and RateLimit (IETF draft format) as well as X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset. Keys used from the same client IP share the same window. Creating another key does not create a separate IP allowance.
Check the result
You should have an API key stored securely or know to use OAuth, the correct base URL, and the OpenAPI spec for the requests you plan to make.
If something goes wrong
If requests fail, confirm you are using https://app.questionpunk.com/api/public/v1 for REST and not the MCP endpoint at https://app.questionpunk.com/api/v1.
