routes

Create a route (source is exactly one of form_id / stream_id)

A route ties one source (a form or a stream) to one destination, with a mode (instant or digest) and optional filter/transform/quality rules.

post/v1/routes

Request

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

Request body

form_idstring
stream_idstring
destination_idstring required
enabledboolean
filterstring
transformstring

Response

created

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.