API docs / API reference / Link building
Answer a question
POST /v1/link-campaigns/{campaign_id}/questions/{question_id}/answer
Path parameters
| campaign_id required string | — |
| question_id required string | — |
Body
| answer string | — |
| cannot boolean | You cannot answer it; the site goes on without. |
| why 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/link-campaigns/{campaign_id}/questions/{question_id}/answer" \
-H "Authorization: Bearer $AMARKOS_KEY" \
-H "Content-Type: application/json" \
-d '{
"answer": "GB123456789"
}'Response · 200
{
"id": "q_4a5b6c7d8e9f40a1b2c3d4e5f6a7b8c9",
"answered": true
}