Comments

List comments for todos

POST
https://api.searchsoftware.nl/v4/comments/for-todos

Returns every comment and image attached to each requested todo, oldest first. Requires both todos:read and comments:read.

Body

application/json
idsarrayrequired

Todo IDs to fetch comments for (max 100)

Response

Comments grouped by todo ID

Response fields application/json
statusstringokrequired
Example
ok
dataobjectrequired
Show child attributes
Show child attributes
idstringrequired

Identifier

Example
vM7Lp2q
typestringrequired
Example
comment
attributesCommentAttributesrequired
Show child attributes
textstring | null
Example
Great candidate!
user_idstring | null

Identifier

Example
vM7Lp2q
created_atstring<date-time>
Example
2026-03-10T14:30:00Z
updated_atstring<date-time>
Example
2026-03-10T14:30:00Z
Show child attributes
idstringrequired

Identifier

Example
vM7Lp2q
image_urlstring<uri>required
Example
https://img.example.test/acme/image-id?width=160
full_image_urlstring<uri>required
Example
https://img.example.test/acme/image-id
namestringrequired
Example
Screenshot
400Bad RequestErrorResponse

Invalid todo ID or request body

Response fields application/json
statusstringerrorrequired
Example
error
errorErrorBodyrequired
Show child attributes
codestringrequired

Stable machine-readable error code.

status_codeinteger<int32>required

HTTP status code for this response.

messagestringrequired

Human-readable error message.

Example
{
  "status": "error",
  "error": {
    "code": "INVALID_BODY",
    "status_code": 400,
    "message": "Invalid request body"
  }
}
401UnauthorizedErrorResponse

Invalid API key

Response fields application/json
statusstringerrorrequired
Example
error
errorErrorBodyrequired
Show child attributes
codestringrequired

Stable machine-readable error code.

status_codeinteger<int32>required

HTTP status code for this response.

messagestringrequired

Human-readable error message.

Example
{
  "status": "error",
  "error": {
    "code": "INVALID_API_KEY",
    "status_code": 401,
    "message": "Invalid API key"
  }
}
403ForbiddenErrorResponse

Insufficient scope

Response fields application/json
statusstringerrorrequired
Example
error
errorErrorBodyrequired
Show child attributes
codestringrequired

Stable machine-readable error code.

status_codeinteger<int32>required

HTTP status code for this response.

messagestringrequired

Human-readable error message.

Example
{
  "status": "error",
  "error": {
    "code": "FORBIDDEN",
    "status_code": 403,
    "message": "Insufficient scope"
  }
}
422Unprocessable EntityErrorResponse

Too many todo IDs

Response fields application/json
statusstringerrorrequired
Example
error
errorErrorBodyrequired
Show child attributes
codestringrequired

Stable machine-readable error code.

status_codeinteger<int32>required

HTTP status code for this response.

messagestringrequired

Human-readable error message.

Example
{
  "status": "error",
  "error": {
    "code": "VALIDATION_FAILED",
    "status_code": 422,
    "message": "Validation failed"
  }
}
500Internal Server ErrorErrorResponse

Internal server error

Response fields application/json
statusstringerrorrequired
Example
error
errorErrorBodyrequired
Show child attributes
codestringrequired

Stable machine-readable error code.

status_codeinteger<int32>required

HTTP status code for this response.

messagestringrequired

Human-readable error message.

Example
{
  "status": "error",
  "error": {
    "code": "INTERNAL_ERROR",
    "status_code": 500,
    "message": "Internal server error"
  }
}

Authorization

bearer_authhttp (bearer) in header

API key or OAuth access token in Authorization header

Scopes: comments:read

oauth2_authoauth2

OAuth authorization code flow with mandatory S256 PKCE.

Scopes: comments:read

apikey_authapiKey in query

API key in query string

Scopes: comments:read