Questions
Endpoints for sending, receiving, answering, and deleting questions.
/api/v1/questionsSend a question to a user. CAPTCHA is not required when authenticated with an API key.
Authentication
No authentication required. API key recommended to skip CAPTCHA.
Request Body
{
"recipientId": "user-id-string",
"content": "Hello! (max 2000 chars)",
"type": "normal",
"isAnonymous": true
}| Parameter | Type | Description |
|---|---|---|
| type | string | Question type: normal / topic / request. Defaults to normal. |
Returns 403 (questionTypeNotAccepted) if the recipient has not allowed the specified type in acceptedQuestionTypes.
/api/v1/questions/:idGet a single question by ID.
Authentication
No authentication required (public endpoint)
/api/v1/questions/inboxList questions received by the authenticated user.
Authentication
questions:readQuery Parameters
| Parameter | Type | Description |
|---|---|---|
| page | number | Page number (default: 1) |
| limit | number | Number of results per page (default: 20, max: 50) |
| type | string | Filter by type: normal / topic / request. Returns all if omitted. |
| folder | string | Folder to retrieve. inbox (default) / trash (questions deleted within 30 days). |
/api/v1/questions/sentList questions sent by the authenticated user.
Authentication
questions:readQuery Parameters
| Parameter | Type | Description |
|---|---|---|
| page | number | Page number (default: 1) |
| limit | number | Number of results per page (default: 20, max: 50) |
| type | string | Filter by type: normal / topic / request. Returns all if omitted. |
/api/v1/questions/user/:handleList answered questions for a user's public page.
Authentication
No authentication required (public endpoint)
Path Parameters
| Parameter | Description |
|---|---|
| handle | User handle in the format @user@instance.example |
Query Parameters
| Parameter | Type | Description |
|---|---|---|
| cursor | string | Pagination cursor (question ID) from previous response |
| limit | number | Number of results per page (default: 20, max: 50) |
/api/v1/questions/:id/answerSubmit an answer to a question. Only the recipient can answer.
Authentication
questions:writeRequest Body
{
"answer": "My answer text (max 3000 chars)",
"requireLoginToView": false,
"postToMisskey": false, // optional: also post to Misskey
"noteVisibility": "public", // public, home, followers
"useCW": false, // content warning
"attachImage": false, // attach OGP image to note
"attachments": [ // optional: attachment keys (max 10)
"attachments/answer/<userId>/<uuid>.webp"
],
"mentionSender": false, // mention sender (non-anonymous only)
"localOnly": false, // local only (no federation)
}/api/v1/questions/:id/deleteMove a question to trash. Only the recipient can do this. It will be permanently deleted after 30 days.
Authentication
questions:write/api/v1/questions/:id/restoreRestore a question from trash to inbox. Only possible within 30 days of deletion.
Authentication
questions:write