Questions

Endpoints for sending, receiving, answering, and deleting questions.

POST/api/v1/questions

Send 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
}
ParameterTypeDescription
type string Question type: normal / topic / request. Defaults to normal.

Returns 403 (questionTypeNotAccepted) if the recipient has not allowed the specified type in acceptedQuestionTypes.

GET/api/v1/questions/:id

Get a single question by ID.

Authentication

No authentication required (public endpoint)

GET/api/v1/questions/inbox

List questions received by the authenticated user.

Authentication

questions:read

Query Parameters

ParameterTypeDescription
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).
GET/api/v1/questions/sent

List questions sent by the authenticated user.

Authentication

questions:read

Query Parameters

ParameterTypeDescription
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.
GET/api/v1/questions/user/:handle

List answered questions for a user's public page.

Authentication

No authentication required (public endpoint)

Path Parameters

ParameterDescription
handle User handle in the format @user@instance.example

Query Parameters

ParameterTypeDescription
cursor string Pagination cursor (question ID) from previous response
limit number Number of results per page (default: 20, max: 50)
POST/api/v1/questions/:id/answer

Submit an answer to a question. Only the recipient can answer.

Authentication

questions:write

Request 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)
}
POST/api/v1/questions/:id/delete

Move a question to trash. Only the recipient can do this. It will be permanently deleted after 30 days.

Authentication

questions:write
POST/api/v1/questions/:id/restore

Restore a question from trash to inbox. Only possible within 30 days of deletion.

Authentication

questions:write