streams

Run a sample submission through a source's mapping

Dry-runs a form's attached mapping against sample data without storing anything — useful before publishing a schema change.

post/v1/streams/{streamId}/preview

Request

  • Base URL: https://postbag.dev
  • URL: https://postbag.dev/v1/streams/{streamId}/preview
  • Auth: HTTP bearer

Path parameters

streamIdstring required
Example:fm_8f3kq2

Request body

form_idstring required

The form whose attached mapping to run.

dataobject required

Sample submission data to map through.

Example request

{
  "form_id": "fm_8f3kq2"
}

Response

ok

payloadobject required
extrasobject required
problemsstring[] required

Changes

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