GET/POST · Bearer

GET/POST /api/v1/inboxes/:id/lists/:direction/:type

Summary

Allow and block lists for one inbox. :id accepts inbox id, username, or email. Another account's inbox returns inbox_not_found. Same body and errors as the account-wide list. Inbox entries override account entries for that direction.

Request

{
  "entry": "evil.example.com",
  "reason": "unwanted domain"
}

Response

The OpenAPI document does not declare a JSON response schema for this call. The summary is the contract.

Errors

The summary and the OpenAPI operation do not name an error code.

Idempotency

This route does not document Idempotency-Key or client_id.