Execute proxy request
Proxy an HTTP request to a third-party API using connected account credentials. This endpoint allows making authenticated API calls to external services while abstracting away authentication details.
Authentication
x-api-keystring
API key authentication
Request
This endpoint expects an object.
endpoint
The API endpoint to call (absolute URL or path relative to base URL of the connected account)
method
The HTTP method to use for the request
connected_account_id
The ID of the connected account to use for authentication (if not provided, will use the default account for the project)
body
The request body (for POST, PUT, and PATCH requests)
binary_body
Binary body to send. For binary upload via URL: use {url: “https://…”, contentType?: ”…”}. For binary upload via base64: use {base64: ”…”, contentType?: ”…”}.
parameters
Additional HTTP headers or query parameters to include in the request
custom_connection_dataDeprecated
Response
Successfully executed proxy request and received response
status
The HTTP status code returned from the proxied API
data
The response data returned from the proxied API
binary_data
Binary body response data. Present when the response is a binary file.
headers
The HTTP headers returned from the proxied API