Learn how to securely call external APIs using the Embeddables Proxy by configuring credentials and endpoints in your project settings.
X-Proxy-Worker-Success
header: This header will be true
if the proxy made your request, and false
if it wasn’t able to for some reason. If you receive a 400 response and are unsure if it’s coming from the proxy or the final destination, check this header.Go to Project Settings
Add Credentials
Add Endpoints
My-Secret-Header
—> the header name that you want to use to pass the credential value.{{cred_aaaaaaaaaaaaaa}}
—> the credential ID that you created previously. You might alternatively want to use a credential in the URL or body instead of a header. Either way, the proxy will inject the actual credential value for you.production
—> the environment you want to call the endpoint in.pr_bbbbbbbbbbbbbb
—> the project ID for your project (grab it from the URL in the Embeddables Web App - it’s the ID after /project/
).https://api.example.com/api/v1/endpoint
—> the actual endpoint you want to call.