Docs
Pricing Log in
Documentation

Sites

If you manage polls, quizzes, and forms across more than one website or app, group them by site and scope keys to just one at a time.

Create a Site per property from the dashboard's Sites & usage page — like API keys, there's no public REST endpoint for managing sites themselves — and assign your resources and API keys to it.

Assigning a site on create

Pass site_id when creating a poll, quiz, or form — see the site_id row in each resource's request body table (Polls, Quizzes, Forms).

REQUEST
curl -X POST https://qnaapi.com/api/v1/polls \
  -H "X-API-Key: qna_..." \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Blog poll",
    "site_id": 1,
    "options": ["Yes", "No"]
  }'
A site-scoped key ignores any site_id you send — its own site is always used instead, so a scoped key can never create or move a resource onto a different site.