Execute with HTTP Client

Use composio as a http client to make request to the connected account service on your behalf, without managing authentication on your side.

Headers

x-api-keystringRequired
x-org-api-keystringRequired
x-api-keystringRequired

Request

This endpoint expects an object.
endpointstringRequired

The endpoint to call for the action. If the given url is relative, it will be resolved relative to the base_url set in the connected account info.

methodenumRequired

The HTTP method to use for the action.

Allowed values:
parameterslist of objectsRequired
connectedAccountIdstringOptional

The connected account uuid to use for the action.

bodymap from strings to anyOptional

The body to be sent to the endpoint. This can either be a JSON field or a string.

Response

datamap from strings to any

The response data returned by the action execution.

successfulboolean

Whether the action execution was successfully executed or not. If this is false, error field will be populated with the error message.

successfullbooleanDeprecated

Whether the action execution was successfully executed or not. If this is false, error field will be populated with the error message.

errorstringOptional

The error message, if the action failed to execute. If the action is successful, this will be null.

logIdstringOptional

The id of the log request.

sessionInfomap from strings to anyOptional

The session info of the action execution.