Tools
Proxy
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.
post/api/v3/tools/execute/proxy
Request
- Base URLhttps://backend.composio.dev
- URLhttps://backend.composio.dev/api/v3/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
- info
added the new optional request property
- info
- breaking
removed
subschema #1subschema #2from therequest propertyoneOflist - info
added
subschema #1subschema #2to therequest propertyoneOflist
- breaking