destinations

Update config

patch/v1/destinations/{destinationId}

Request

  • Base URL: https://postbag.dev
  • URL: https://postbag.dev/v1/destinations/{destinationId}
  • Auth: HTTP bearer

Path parameters

destinationIdstring required
Example:fm_8f3kq2

Request body

namestring

A display label for this destination.

configobject

Merged shallowly into the existing config (type-specific: to/cc for email, chat_id/bot_token for telegram, url/secret for webhook).

Response

ok

idstring required
type'email' | 'telegram' | 'webhook' | 'slack' | 'discord' required
namestring required
configobject required
health'unknown' | 'ok' | 'failing' required
verifiedboolean required
created_atstring required

Example response

{
  "id": "fm_8f3kq2",
  "created_at": "2026-08-21T09:00:00.000Z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.