Answer a question
POST/v1/questions/{id}/answer
scope questions.write
Answers are moderated exactly as they are on the site. Check is_published: when it is false the answer is held for review and is NOT yet on the listing, so tell your user that rather than showing it as live.
Request body#
| Field | Type | Required | Description |
|---|---|---|---|
text | string | required | Your answer, shown publicly on the listing. Must be a non-empty string after trimming (text_required, 400) and at most 2000 characters (text_too_long, 400) — shorter than a private message, because everyone reads it. |
Example
{
"text": "Size L — suits 180-190 cm."
}Response#
| Field | Type | Description |
|---|---|---|
data | object | The answer as it was stored. |
data. | integer | The new answer id. |
data. | integer | The question it answers. |
data. | string | What was stored. |
data. | string | Moderation state. Answers normally auto-publish; pending means it is held for review and is not on the listing yet.Accepts |
data. | boolean | The same fact as a boolean — true only when status is published. Check it: an answer nobody can see has not answered anything. |
data. | string | ISO-8601 UTC. |
Example
{
"data": {
"id": 15,
"question_id": 31,
"text": "Size L — suits 180-190 cm.",
"status": "published",
"is_published": true,
"created_at": "2026-09-10T06:21:57Z"
}
}