Skip to main content
POST
/
api
/
v1
/
promote
Generate promotion suggestions
curl --request POST \
  --url https://quizquail.com/api/v1/promote \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "quizId": "<string>",
  "force": false
}
'
"<string>"

Authorizations

Authorization
string
header
required

API key authentication. Prefix your key with Bearer in the Authorization header.

Keys follow the format qq_... and can be scoped to specific permissions.

Body

application/json
quizId
string
required
Minimum string length: 1
force
boolean
default:false

Force regeneration even if cached suggestions exist

Response

SSE stream of promotion generation progress

Server-Sent Events stream