POST · Bearer

POST /api/v1/inboxes/:id/keys

Summary

Mint a key scoped to this inbox (id, username, or email). Same body as POST /api/v1/keys without inbox_id. Another inbox returns 404 inbox_not_found.

Request

{
  "name": "inbox-reader",
  "permissions": [
    "message_read"
  ]
}

Response

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

Errors

  • HTTP 404 inbox_not_found

Idempotency

This route does not document Idempotency-Key or client_id.