sets

Your audience: publish a set of two to ten questions behind one link.

Requires an Idempotency-Key header (a UUID); the same key returns the same set. Every question is reserved at 5 credits an answer times maxAnswers. Fails with insufficient_credits, private_link_limit, private_declaration_required or content_refused without spending anything.

post/v2/sets

Request

  • Base URL: https://api.50heads.com
  • URL: https://api.50heads.com/v2/sets
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://auth.50heads.com/authorize, token URL https://auth.50heads.com/token; client credentials, token URL https://auth.50heads.com/token, scopes: questions:write)

Headers

Idempotency-Keystring required

A fresh UUID per ask. The same key returns the same question for 24 hours and never charges twice.

Request body

maxAnswersinteger
shownAsstring
publicResultsboolean
projectIdstring nullable
labelsstring[]

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.