routes

Update rules / enable / disable

patch/v1/routes/{routeId}

Request

  • Base URL: https://postbag.dev
  • URL: https://postbag.dev/v1/routes/{routeId}
  • Auth: HTTP bearer

Path parameters

routeIdstring required
Example:fm_8f3kq2

Request body

enabledboolean

Disable a route without deleting it.

filterstring

A JSONata boolean expression; only matching submissions are delivered.

transformstring

A JSONata expression applied to the payload before delivery.

Response

ok

idstring required
form_idstring nullable required
stream_idstring nullable required
destination_idstring required
enabledboolean required
modeobject required
windowobject
qualityobject
filterstring nullable
transformstring nullable
countsobject
created_atstring

Example response

{
  "id": "fm_8f3kq2",
  "destination_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.