Execute with HTTP Client

POST

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-org-api-keystringRequired

Request

This endpoint expects an object.
connectedAccountIdstringRequired

The connected account uuid to use for the action.

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
Allowed values: GETPOSTPUTPATCHDELETE

The HTTP method to use for the action.

parameterslist of objectsRequired
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.

Built with