Execute proxy request
Changed onProxy 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.
Request
- Base URLhttps://backend.composio.dev
- URLhttps://backend.composio.dev/api/v3.1/tools/execute/proxy
- AuthAPI key in header x-api-key
Request body
Example request
{
"connected_account_id": "ca_1a2b3c4d5e6f",
"user_id": "user_4567",
"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
- breaking
added the new required request property
/ - breaking
added the new required request property
/ - breaking
added the new required request property
/ - breaking
removed
subschema #1subschema #2subschema #3subschema #4subschema #5subschema #6subschema #7subschema #8subschema #9subschema #10subschema #11from therequest propertyoneOflist - breaking
the
request property type changed from no type toobject - breaking
the
request property type changed from no type toobject - breaking
the
response's property type changed from no type toobjectfor status - info
api operation id
postV3_1ToolsExecuteProxyremoved and replaced withpostToolsExecuteProxy - info
api tag
Proxyremoved - info
added the new optional request property
- breaking
- info
removed the non-success response with the status
- info
removed the non-success response with the status
- info