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_crewai 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_crewai 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_crewai 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_crewai 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_crewai 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_crewai 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_crewai 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_crewai 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_crewai 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_crewai 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_crewai 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_crewai 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_crewai 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_crewai 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_crewai 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_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.BREVO_GET_SESSION_TOKEN_TO_ACCESS_BREVO_SSO])