API docs / API reference / Website audits
Add a question
POST /v1/audits/{audit_id}/questions
Path parameters
| audit_id required string | — |
Body
| question required string | — |
Send an Idempotency-Key header to make a retry safe: the same key within 24 hours returns the first answer and is never charged twice.
Request
curl -X POST "https://amarkos.com/api/v1/audits/{audit_id}/questions" \
-H "Authorization: Bearer $AMARKOS_KEY" \
-H "Content-Type: application/json" \
-d '{
"question": "which cordless drill lasts longest"
}'Response · 201
{
"id": "q_4a5b6c7d8e9f40a1b2c3d4e5f6a7b8c9",
"question": "which cordless drill lasts longest"
}