Tools
Proxy
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. The v3 endpoint is retired except for orgs explicitly allowlisted in LaunchDarkly during migration.
post/api/v3/tools/execute/proxy
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"
}
}