production
or development
)abc-123
)apn_1234567
)https://slack.com/api/chat.postMessage
)aHR0cHM6Ly9zbGFjay5jb20vYXBpL2NoYXQucG9zdE1lc3NhZ2U
)Authorization
header with your Pipedream OAuth access token (Bearer {access_token}
)x-pd-proxy
will get forwarded to the upstream APIpd.getApps()
or the /apps
REST API.
/apps
API response includes a connect
object:
Field | Description |
---|---|
proxy_enabled | Whether the app supports the Connect Proxy |
allowed_domains | Domains you can send requests to when using full URLs |
base_proxy_target_url | The base URL for proxy requests, may contain placeholders for account-specific values |
base_proxy_target_url
determines whether you should use a relative path or full URL:
base_proxy_target_url
is a standard URL (e.g., https://slack.com
), you can use either:
https://slack.com/api/chat.postMessage
/api/chat.postMessage
base_proxy_target_url
contains placeholders like {{custom_fields.base_api_url}}
, you must use relative paths. This applies to:
connect.proxy_enabled
is true
.
400
error:
ACCEPT-ENCODING
ACCESS-CONTROL-REQUEST-HEADERS
ACCESS-CONTROL-REQUEST-METHOD
CONNECTION
CONTENT-LENGTH
COOKIE
DATE
DNT
EXPECT
HOST
KEEP-ALIVE
ORIGIN
PERMISSIONS-POLICY
REFERER
TE
TRAILER
TRANSFER-ENCODING
UPGRADE
VIA
NOTE
PROXY-
SEC-
429
response.504
error to the caller.