Use brevo with AI Agents

Brevo, formerly Sendinblue, is a SaaS solution for relationship marketing.
🔗 Connect and Use brevo
1. 🔑 Connect your brevo account
2. ✅ Select an action
3. 🚀 Go live with the agent
What do you want to do?
Actions
Email Campaigns
Transactional emails
Contacts
SMS Campaigns
Transactional SMS
WhatsApp Campaigns
Senders
Domains
Webhooks
Reseller
Account
User
Process
Inbound Parsing
Master account
Companies
Deals
Tasks
Notes
Files
Conversations
Ecommerce
Event
Coupons
Transactional WhatsApp
External Feeds

API actions for brevo for AI assitants/agents

Language
JS
PYTHON

Webhooks

GET A WEBHOOK DETAILS

Retrieve details of a specific webhook by its ID, including events it's configured for, type (marketing/transactional), creation/modification dates, URL, description, and more. Supports error
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_GET_A_WEBHOOK_DETAILS])

UPDATE A WEBHOOK

Update a webhook by including its ID in the path and updating details in the request body like description, URL, and more. Successful updates return 204, while invalid requests return 400, and
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_UPDATE_A_WEBHOOK])

DELETE A WEBHOOK

Delete an existing webhook by its ID. Returns "Webhook deleted" on success or detailed error messages for failures like invalid parameters, permissions issues, and more.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_DELETE_A_WEBHOOK])

EXPORT ALL WEBHOOK EVENTS

This endpoint will submit a request to get the history of webhooks in the CSV file. The link to download the CSV file will be sent to the webhook that was provided in the notifyURL.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_EXPORT_ALL_WEBHOOK_EVENTS])

Reseller

GET THE LIST OF ALL CHILDREN ACCOUNTS

The `/reseller/children` endpoint enables Resellers to view child account info, supporting pagination via `limit` and `offset`. It shows details like name, email, credits, and handles errors l
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_GET_THE_LIST_OF_ALL_CHILDREN_ACCOUNTS])

CREATES A RESELLER CHILD

This endpoint creates reseller child accounts requiring company info, email, and password in JSON. It returns a 201 status, authKey, and ID on success, or 400/403 errors for bad requests or in
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_CREATES_A_RESELLER_CHILD])

GET A CHILD ACCOUNT S DETAILS

This endpoint enables resellers to fetch child account details using an auth key or ID, offering data on company info, credits, email/SMS usage, and tech specifics such as IPs and API keys. It
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_GET_A_CHILD_ACCOUNT_S_DETAILS])

UPDATE CHILD INFO BASED ON ID

This endpoint updates a reseller's child profile using their identifier, allowing changes to email, names, company, and password. It handles incorrect inputs or unauthorized actions with detai
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_UPDATE_CHILD_INFO_BASED_ON_ID])

DELETE RESELLER CHILD BY ID

Delete a reseller's child account using their identifier. Requires the child's ID or auth key. Success or failure responses include status codes 204 (deleted), 400 (bad request), 403 (unauthor
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_DELETE_RESELLER_CHILD_BY_ID])

UPDATE CHILD ACCOUNT STATUS BY IDENTIFIER

Update a reseller's child account status by ID, including email, SMS, marketing, and platform preferences. Requires child ID and status in JSON. Responses show update success or errors for inv
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_UPDATE_CHILD_ACCOUNT_STATUS_BY_IDENTIFIER])

CHECK RESELLER CHILD ACCOUNT CREATION STATUS

This endpoint allows resellers to check if a child account has been successfully created by providing the child's identifier. It returns a boolean status and handles errors such as bad request
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_CHECK_RESELLER_CHILD_ACCOUNT_CREATION_STATUS])

ASSOCIATE A DEDICATED IP TO THE CHILD

To assign a dedicated IP to a reseller's child account, send a POST request to `/reseller/children/{childIdentifier}/ips/associate` with the child's ID and IP address. Possible responses: 204
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_ASSOCIATE_A_DEDICATED_IP_TO_THE_CHILD])

DISSOCIATE A DEDICATED IP TO THE CHILD

This endpoint lets resellers remove a dedicated IP from a child account by providing the child's identifier and the IP address. A successful removal returns a 204 status, with failures giving
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_DISSOCIATE_A_DEDICATED_IP_TO_THE_CHILD])

ADD EMAIL AND OR SMS CREDITS TO A SPECIFIC CHILD ACCOUNT

This POST endpoint lets resellers add Email/SMS credits to a child account using 'childIdentifier'. It needs JSON input for the credit amount. Successful requests update both child and reselle
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_ADD_EMAIL_AND_OR_SMS_CREDITS_TO_A_SPECIFIC_CHILD_ACCOUNT])

REMOVE EMAIL AND OR SMS CREDITS FROM A SPECIFIC CHILD ACCOUNT

This endpoint enables resellers to deduct Email/SMS credits from a child account using `childIdentifier`. Requests must specify credit amounts. Responses may confirm removal or report errors s
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_REMOVE_EMAIL_AND_OR_SMS_CREDITS_FROM_A_SPECIFIC_CHILD_ACCOUNT])

GET ALL SENDER DOMAINS FOR A SPECIFIC CHILD ACCOUNT

Fetch all verified sender domains for a specific reseller's child account by providing the child's identifier. Returns domain status and examples of successful calls. Handles errors for bad re
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_GET_ALL_SENDER_DOMAINS_FOR_A_SPECIFIC_CHILD_ACCOUNT])

CREATE A DOMAIN FOR A CHILD ACCOUNT

Endpoint allows resellers to create a domain for a child account by specifying the child's identifier. It requires a JSON body with the domain. Responses include domain added, bad request, una
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_CREATE_A_DOMAIN_FOR_A_CHILD_ACCOUNT])

UPDATE RESELLER CHILD S SENDER DOMAIN

Update a reseller's child sender domain by specifying childIdentifier and domainName. Requires the new domain value in the request. Supports error handling for invalid requests and permissions
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_UPDATE_RESELLER_CHILD_S_SENDER_DOMAIN])

REMOVE RESELLER CHILD S SENDER DOMAIN

This endpoint enables resellers to delete domains for a child account using the child's ID and domain name, ensuring secure removal by managing potential errors and unauthorized access.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_REMOVE_RESELLER_CHILD_S_SENDER_DOMAIN])

GET SESSION TOKEN TO ACCESS BREVO SSO

It returns a session [token] which will remain valid for a short period of time. A child account will be able to access a white-labeled section by using the following url pattern => https:/ema
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_GET_SESSION_TOKEN_TO_ACCESS_BREVO_SSO])

Account

GET YOUR ACCOUNT INFORMATION PLAN AND CREDITS DETAILS

This endpoint retrieves detailed account information, including user's personal details (name, email, company, address), plan specifics, credits, transactional email account status, and market
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_GET_YOUR_ACCOUNT_INFORMATION_PLAN_AND_CREDITS_DETAILS])

GET USER ACTIVITY LOGS

This endpoint fetches organization user activity logs, allows date range filtering, and supports pagination. It returns activities with details like type, time, email, IP, and browser info.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_GET_USER_ACTIVITY_LOGS])

User

GET THE LIST OF ALL YOUR USERS

This endpoint fetches invited organization users, detailing their email, ownership, activation status, and feature access (e.g., marketing, conversations, CRM). Responses can be successful use
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_GET_THE_LIST_OF_ALL_YOUR_USERS])

CHECK USER PERMISSION

This endpoint fetches permissions for a user based on email, detailing their status and privileges (e.g., manage email campaigns) or returns errors for bad requests.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_CHECK_USER_PERMISSION])

REVOKE USER PERMISSION

The PUT endpoint '/organization/user/invitation/revoke/{email}' revokes user permissions via email, returning status and credit notes on success, and manages unauthorized access with error cod
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_REVOKE_USER_PERMISSION])

RESEND CANCEL INVITATION

This endpoint lets users resend or cancel an email invitation by specifying the action and user email, providing success confirmation or unauthorized access errors.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_RESEND_CANCEL_INVITATION])

SEND INVITATION TO USER

Brevo provides Email, Calls, and Automations with customizable access levels. Permissions vary by plan, with `all_features_access` for complete control. Selection of features and permissions i
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_SEND_INVITATION_TO_USER])

UPDATE PERMISSION FOR A USER

Brevo provides features like Email campaigns, Deals, and Calls with customizable user access levels, including creation and editing. Ensure to specify the appropriate permission level for each
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_UPDATE_PERMISSION_FOR_A_USER])

Process

RETURN ALL THE PROCESSES FOR YOUR ACCOUNT

This API endpoint fetches all account processes, enabling result customization (limit, offset, sort) and showing process IDs, names, statuses, and export URLs. It supports pagination and sorti
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_RETURN_ALL_THE_PROCESSES_FOR_YOUR_ACCOUNT])

RETURN THE INFORMATIONS FOR A PROCESS

Retrieve process details by ID, including its name, status, and export URL upon completion. Supports querying with the process ID and returns response codes for success (200), bad request (400
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_RETURN_THE_INFORMATIONS_FOR_A_PROCESS])

Inbound Parsing

GET THE LIST OF ALL THE EVENTS FOR THE RECEIVED EMAILS

This endpoint will show the list of all the events for the received emails.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_GET_THE_LIST_OF_ALL_THE_EVENTS_FOR_THE_RECEIVED_EMAILS])

FETCH ALL EVENTS HISTORY FOR ONE PARTICULAR RECEIVED EMAIL

This endpoint will show the list of all events history for one particular received email.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_FETCH_ALL_EVENTS_HISTORY_FOR_ONE_PARTICULAR_RECEIVED_EMAIL])

RETRIEVE INBOUND ATTACHMENT WITH DOWNLOAD TOKEN

This endpoint will retrieve inbound attachment with download token.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_RETRIEVE_INBOUND_ATTACHMENT_WITH_DOWNLOAD_TOKEN])

Master account

GET THE LIST OF ALL THE SUB ACCOUNTS OF THE MASTER ACCOUNT

This endpoint will provide the list all the sub-accounts of the master account.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_GET_THE_LIST_OF_ALL_THE_SUB_ACCOUNTS_OF_THE_MASTER_ACCOUNT])

CREATE A NEW SUB ACCOUNT UNDER A MASTER ACCOUNT

This endpoint will create a new sub-account under a master account
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_CREATE_A_NEW_SUB_ACCOUNT_UNDER_A_MASTER_ACCOUNT])

GET SUB ACCOUNT DETAILS

This endpoint will provide the details for the specified sub-account company
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_GET_SUB_ACCOUNT_DETAILS])

DELETE A SUB ACCOUNT

Endpoint `/corporate/subAccount/{id}` allows for deletion of a specified sub-account by ID. It returns `204` if successful, `400` for bad requests (e.g., invalid parameters), and `404` if the
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_DELETE_A_SUB_ACCOUNT])

UPDATE SUB ACCOUNT PLAN

This endpoint will update the sub-account plan
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_UPDATE_SUB_ACCOUNT_PLAN])

GENERATE SSO TOKEN TO ACCESS ADMIN ACCOUNT

This endpoint generates an SSO token to authenticate and access the admin account using the endpoint https://account-app.brevo.com/account/login/corporate/sso/[token], where [token] will be re
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_GENERATE_SSO_TOKEN_TO_ACCESS_ADMIN_ACCOUNT])

GENERATE SSO TOKEN TO ACCESS SUB ACCOUNT

This endpoint generates an sso token to authenticate and access a sub-account of the master using the account endpoint https://account-app.brevo.com/account/login/sub-account/sso/[token], wher
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_GENERATE_SSO_TOKEN_TO_ACCESS_SUB_ACCOUNT])

GET THE DETAILS OF REQUESTED MASTER ACCOUNT

This endpoint will provide the details of the master account.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_GET_THE_DETAILS_OF_REQUESTED_MASTER_ACCOUNT])

CREATE AN API KEY FOR A SUB ACCOUNT

This endpoint will generate an API v3 key for a sub account
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_CREATE_AN_API_KEY_FOR_A_SUB_ACCOUNT])

ENABLE DISABLE SUB ACCOUNT APPLICATION S

API endpoints for the Corporate owner to enable/disable applications on the sub-account
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_ENABLE_DISABLE_SUB_ACCOUNT_APPLICATION_S])

CREATE A GROUP OF SUB ACCOUNTS

This endpoint allows to create a group of sub-accounts
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_CREATE_A_GROUP_OF_SUB_ACCOUNTS])

GET A GROUP DETAILS

This endpoint allows you to retrieve a specific group’s information such as the list of sub-organizations and the user associated with the group.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_GET_A_GROUP_DETAILS])

UPDATE A GROUP OF SUB ACCOUNTS

This endpoint allows to update a group of sub-accounts
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_UPDATE_A_GROUP_OF_SUB_ACCOUNTS])

DELETE A GROUP

This endpoint allows you to delete a group of sub-organizations. When a group is deleted, the sub-organizations are no longer part of this group. The users associated with the group are no lon
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_DELETE_A_GROUP])

DELETE SUB ACCOUNT FROM GROUP

This endpoint allows you to remove a sub-organization from a group.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_DELETE_SUB_ACCOUNT_FROM_GROUP])

SEND INVITATION TO AN ADMIN USER

This endpoint invites members to manage the Admin account. It details permissions for features like my_plan, api (none), user_management, and app_management (not in ENTv2), with a note on cond
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_SEND_INVITATION_TO_AN_ADMIN_USER])

RESEND CANCEL ADMIN USER INVITATION

This endpoint will allow the user to: - Resend an admin user invitation - Cancel an admin user invitation
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.BREVO_RESEND_CANCEL_ADMIN_USER_INVITATION])

Frequently asked questions

What is Composio.dev?

Composio.dev is a platform for building AI applications, designed to make the process of developing AI solutions super easy and fun! It provides a comprehensive set of tools and libraries that simplify the process of developing AI solutions, allowing you to focus on the creative aspects of your project without getting bogged down by the technical details.

How does Composio.dev support brevo?

Composio.dev seamlessly integrates with brevo, allowing you to leverage its capabilities within the Composio.dev platform. You can utilize brevo to call functions across various platforms, including Google, GitHub, and others, making it a breeze to incorporate different services into your AI applications. Additionally, it supports user authentication via OAuth2 and can work in conjunction with other popular frameworks like LangChain and CrewAI, giving you the flexibility to build truly innovative AI solutions.

What models can I use with brevo?

With brevo, you have access to a wide range of state-of-the-art language models, including GPT-4o (OpenAI), GPT-3.5 (OpenAI), GPT-4 (OpenAI), Claude (Anthropic), PaLM (Google), LLaMA and LLaMA 2 (Meta), Gemini, and many others. This flexibility allows you to choose the model that best suits your specific use case, whether you're building a chatbot, a content creation tool, or any other AI-powered application. You can experiment with different models and find the one that delivers the best performance for your project.

How can I integrate brevo into my project?

Composio.dev provides a seamless integration for brevo, making it super easy to incorporate this powerful framework into your projects. You can leverage the Composio.dev API to call functions from brevo, allowing you to tap into its capabilities with just a few lines of code. The SDK is available in Python, JavaScript, and TypeScript, so you can work with your preferred programming language and integrate brevo into your projects seamlessly.

What is the pricing for brevo?

brevo is completely free to use, with a generous free tier that allows up to 1000 requests per month. This makes it accessible for developers and organizations of all sizes to explore and experiment with this powerful tool without any upfront costs. Whether you're a student working on a personal project or a startup building the next big thing, you can get started with brevo without worrying about breaking the bank.

What kind of authentication is supported for brevo?

brevo supports OAuth2 authentication, ensuring secure and authorized access to its functionalities. You can leverage the Composio.dev API to handle authentication and call functions from brevo seamlessly. The SDK is available in Python, JavaScript, and TypeScript for your convenience, making it easy to integrate authentication into your projects and keep your users' data safe and secure.

Can I add brevo to my project?

Absolutely! You can easily incorporate brevo into your project by utilizing the Composio.dev API. This API allows you to call functions from brevo, enabling you to leverage its capabilities within your application. The SDK is available in Python, JavaScript, and TypeScript to facilitate integration, so you can work with the language you're most comfortable with and add brevo to your project with ease.

What is the accuracy of brevo?

brevo is designed to provide highly accurate and reliable results, ensuring that your AI applications perform at their best. The integration with Composio.dev ensures precise function calls, enabling you to build robust and powerful AI applications with confidence. brevo's comprehensive framework and the ability to leverage state-of-the-art models ensure reliable and accurate outcomes for your AI development needs, whether you're working on a chatbot, a content creation tool, or any other AI-powered project.

What are some common use cases for brevo?

brevo can be used for a wide range of AI applications, making it a versatile tool for developers and creators alike. Some common use cases include natural language processing, text generation, question answering, sentiment analysis, and more. It's particularly useful for building chatbots, virtual assistants, content creation tools, and other AI-powered applications that can help you automate tasks, engage with users, and create compelling content. Whether you're working on a personal project or building a product for your startup, brevo can help you bring your ideas to life.

How does brevo handle data privacy and security?

Data privacy and security are crucial considerations when working with AI systems, and brevo takes these issues seriously. It follows industry best practices and adheres to strict data protection regulations, ensuring that your data is kept safe and secure. brevo provides robust security measures, such as encryption and access controls, to ensure the confidentiality and integrity of your data. You can rest assured that your sensitive information is protected when using brevo for your AI development needs.
+ Integrate seamlessly with your agentic frameworks
Composio Works with All Shapes and SizesComposio Works with All Shapes and SizesComposio Works with All Shapes and SizesComposio Works with All Shapes and SizesComposio Works with All Shapes and Sizes
Building for AI across continents🧪