DELETE A FOLDER AND ALL ITS LISTS
This endpoint deletes a contact folder and its lists using a folderId. Success
results in a 204 status, while errors return 400 or 404 with details.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.BREVO_DELETE_A_FOLDER_AND_ALL_ITS_LISTS])
GET LISTS IN A FOLDER
This OpenAPI endpoint fetches lists from a contact folder with options for
limit, offset, and sort. It details list ID, name, subscriber count, supports
sorting, pagination, and flags errors l
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.BREVO_GET_LISTS_IN_A_FOLDER])
GET ALL THE LISTS
The endpoint fetches all contact lists, supporting pagination (via `limit`
and `offset`), sorting (by creation time), and filtering. It returns details
like IDs, names, subscriber counts, and
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.BREVO_GET_ALL_THE_LISTS])
CREATE A LIST
The '/contacts/lists' POST endpoint creates a contact list in a folder by
its ID and list name, returning the new list's ID on success or error codes
and messages on failure.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.BREVO_CREATE_A_LIST])
GET A LIST S DETAILS
This GET endpoint fetches details about a contact list using its listId,
including ID, name, subscribers, blacklisted contacts, and email campaign
stats with optional date range. It returns li
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.BREVO_GET_A_LIST_S_DETAILS])
UPDATE A LIST
Update contact lists by ID. Accepts renaming the list or moving it to a
different folder. Requires `listId` in the path and JSON body with `name`
or `folderId`. Returns `204` on success or spe
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.BREVO_UPDATE_A_LIST])
DELETE A LIST
Deletes a contact list by its ID. Returns a 204 response if successful,
or errors such as 400 (bad request) and 404 (List ID not found) with detailed
codes and messages for failure reasons.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.BREVO_DELETE_A_LIST])
GET ALL THE SEGMENTS
The GET endpoint '/contacts/segments' retrieves segments, allowing filtering,
pagination via 'limit' and 'offset', and sorting with 'sort'. It returns
listings including ID, name, category, an
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.BREVO_GET_ALL_THE_SEGMENTS])