Skip to content

Egress templates

An egress is a template for one upstream request: method, URL, headers, body format and body.

Placeholder Filled from
{{payloads.<name>.<key>}} The payload passed as <name> in the proxy call, key <key>
{{input.<field>}} input.<field> in the proxy call
{{secret.<name>}} Your organization’s secret <name>

If any placeholder can’t be filled, the whole call fails with missing_values and nothing is sent.

  • The URL’s host is always literal. Placeholders may appear only in the path and query, so data can never decide where it’s sent. Values in the URL are percent-encoded.
  • Public HTTPS only. Private and reserved addresses are blocked (blocked_destination) and redirects aren’t followed.
  • Headers may use placeholders; values can’t contain line breaks.
  • Body formats: none, json or form. The body template is always written as JSON:
    • json: sent as JSON. A string that is exactly one placeholder becomes the typed value, so "amount": "{{input.amount}}" sends a number if amount is a number. Placeholders inside longer strings are interpolated as text.
    • form: the top-level fields are sent application/x-www-form-urlencoded.
    • GET and DELETE can’t have a body.
  • Timeout: 1–60 s (default 30 s).
  • Retries are off by default. When enabled (up to 3 attempts), Frysis retries network errors and 5xx responses, never 4xx.