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. v3.1 requires a proxy_execute scoped project API key; default project API keys are rejected.
Request body
Example request
{
"connected_account_id": "ca_1a2b3c4d5e6f",
"endpoint": "/api/v1/resources",
"method": "GET",
"body": {
"name": "New Resource",
"description": "This is a new resource"
},
"parameters": [
{
"name": "x-api-key",
"value": "abc123def456",
"type": "header"
},
{
"name": "filter",
"value": "active",
"type": "query"
}
]
}Response
Successfully executed proxy request and received response
Example response
{
"data": {
"id": "123",
"name": "Resource Name",
"created_at": "2023-01-01T00:00:00Z"
},
"status": 200,
"headers": {
"content-type": "application/json",
"cache-control": "no-cache",
"host": "api.example.com"
}
}Changes
Changed in 6 of the 61 revisions of this API.8
- ○
removed the non-success response with the status
502response-non-success-status-removed
- ○
removed the non-success response with the status
504response-non-success-status-removed
- ○
- ○
the request property
custom_connection_data/oneOf[subschema #11]/val/client_idbecame optionalrequest-property-became-optional
- ○
the request property
custom_connection_data/oneOf[subschema #11]/val/client_secretbecame optionalrequest-property-became-optional
- ○
- ○
the endpoint scheme security
UserApiKeyAuthwas removed from the APIapi-security-removed
- ○
- ○
the endpoint scheme security
CookieAuthwas removed from the APIapi-security-removed
- ○
- ○
added the new optional request property
custom_connection_data/oneOf[subschema #1]/val/extra_token_datanew-optional-request-property
- ○
- ○
endpoint added
endpoint-added
- ○