Secret

Proxy a request with a secret

Performs an outbound HTTP request with the secret injected into the request headers at egress. The secret value never leaves the server. Reference the secret in any header value using ${SECRET_DEFAULT}; if no header references the secret, it is injected into Authorization. The upstream response is returned verbatim.

post/secret/{secretId}/proxy

Request

  • Base URL: https://api.chatbotkit.com/api/v1
  • URL: https://api.chatbotkit.com/api/v1/secret/{secretId}/proxy
  • Auth: HTTP bearer

Path parameters

secretIdstring required

The ID of the secret to inject

Request body

methodstring

The HTTP method

urlstring required

The destination URL

headersobject

The request headers (may reference the secret)

bodystring

The request body

Response

The upstream response, returned verbatim

Changes

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