Learn more by reviewing the documentation for
/passthroughIf the provider endpoint returns a file or another non-JSON payload, use
/passthrough/raw instead.
Raw Passthrough forwards a successful provider response body directly (with
the provider’s Content-Type) instead of returning the PassthroughOutput
JSON envelope. When the provider itself responds with an error status, Raw
Passthrough returns HTTP 200 with the PassthroughOutput envelope (just
like /passthrough), so provider failures are not surfaced as Terminal API
errors.Request
Passthrough Input
string
required
The method for the third-party request, such as
GET or POST.Allowed values: GET POST PUT PATCH DELETEstring
required
The path for the third-party request, such as
/reportsExample: /reportsobject
The headers to use for the request (Terminal will handle the connection’s
authorization headers)
string
The request bodyExample:
{"reportId":"1234"}Response
Passthrough Output
string
required
The HTTP method that was used when making the request.Example:
POSTstring
default:"/reports"
required
The path that was called with the passthrough request.Example:
GETinteger
required
The resulting status code from the passthrough request.Example:
200object
required
Any returned headers from the passthrough request.
object
required
The response body from the passthrough request