Socket
Book a DemoInstallSign in
Socket

brevo

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brevo

4.0.0
bundlerRubygems
Version published
Maintainers
1
Created
Source

Brevo's API v3 Ruby Library

Brevo's API exposes the entire Brevo features via a standardized programmatic interface. Please refer to the full documentation to learn more.

This is the wrapper for the API. It implements all the features of the API v3.

Brevo's API matches the OpenAPI v2 definition. The specification can be downloaded here.

This RUBY package is automatically generated by the Swagger Codegen project and is reviewed and maintained by Brevo:

  • API version: 3.0.0
  • Build package: io.swagger.codegen.languages.RubyClientCodegen For more information, please visit https://account.brevo.com/support

Installation

Build a gem

Add this line to your application's Gemfile:

gem 'brevo'

And then execute:

$ bundle

Or install it yourself as:

$ ( sudo ) gem install brevo

Install from Git

If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:

gem 'brevo', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'

Include the Ruby code directly

Include the Ruby code directly using -I as follows:

ruby -Ilib script.rb

Getting Started

Please follow the installation procedure and then run the following code:

# Load the gem
require 'brevo'

# Setup authorization
Brevo.configure do |config|
  # Configure API key authorization: api-key
  config.api_key['api-key'] = 'YOUR API KEY'
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
  #config.api_key_prefix['api-key'] = 'Bearer'

  # Configure API key authorization: partner-key
  config.api_key['partner-key'] = 'YOUR API KEY'
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
  #config.api_key_prefix['partner-key'] = 'Bearer'
end

api_instance = Brevo::AccountApi.new

begin
  #Get your account information, plan and credits details
  result = api_instance.get_account
  p result
rescue Brevo::ApiError => e
  puts "Exception when calling AccountApi->get_account: #{e}"
end

Documentation for API Endpoints

All URIs are relative to https://api.brevo.com/v3

ClassMethodHTTP requestDescription
Brevo::AccountApiget_accountGET /accountGet your account information, plan and credits details
Brevo::AccountApiget_account_activityGET /organization/activitiesGet user activity logs
Brevo::BalanceApibegin_transactionPOST /loyalty/balance/programs/{pid}/transactionsCreate new transaction
Brevo::BalanceApicancel_transactionPOST /loyalty/balance/programs/{pid}/transactions/{tid}/cancelCancel transaction
Brevo::BalanceApicomplete_transactionPOST /loyalty/balance/programs/{pid}/transactions/{tid}/completeComplete transaction
Brevo::BalanceApicreate_balance_limitPOST /loyalty/balance/programs/{pid}/balance-definitions/{bdid}/limitsCreate balance limits
Brevo::BalanceApicreate_balance_orderPOST /loyalty/balance/programs/{pid}/create-orderCreate balance order
Brevo::BalanceApidelete_balance_definitionDELETE /loyalty/balance/programs/{pid}/balance-definitions/{bdid}Delete balance definition
Brevo::BalanceApidelete_balance_limitDELETE /loyalty/balance/programs/{pid}/balance-definitions/{bdid}/limits/{blid}Delete balance limit
Brevo::BalanceApiget_balance_definitionGET /loyalty/balance/programs/{pid}/balance-definitions/{bdid}Get balance definition
Brevo::BalanceApiget_balance_definition_listGET /loyalty/balance/programs/{pid}/balance-definitionsGet balance definition list
Brevo::BalanceApiget_balance_limitGET /loyalty/balance/programs/{pid}/balance-definitions/{bdid}/limits/{blid}Get balance limits
Brevo::BalanceApiget_contact_balancesGET /loyalty/balance/programs/{pid}/contact-balancesGet balance list
Brevo::BalanceApiget_subscription_balancesGET /loyalty/balance/programs/{pid}/subscriptions/{cid}/balancesGet subscription balances
Brevo::BalanceApiloyalty_balance_programs_pid_active_balance_getGET /loyalty/balance/programs/{pid}/active-balanceGet Active Balances API
Brevo::BalanceApiloyalty_balance_programs_pid_balance_definitions_postPOST /loyalty/balance/programs/{pid}/balance-definitionsCreate balance definition
Brevo::BalanceApiloyalty_balance_programs_pid_subscriptions_cid_balances_postPOST /loyalty/balance/programs/{pid}/subscriptions/{cid}/balancesCreate subscription balances
Brevo::BalanceApiloyalty_balance_programs_pid_transaction_history_getGET /loyalty/balance/programs/{pid}/transaction-historyGet Transaction History API
Brevo::BalanceApiupdate_balance_definitionPUT /loyalty/balance/programs/{pid}/balance-definitions/{bdid}Update balance definition
Brevo::BalanceApiupdate_balance_limitPUT /loyalty/balance/programs/{pid}/balance-definitions/{bdid}/limits/{blid}Updates balance limit
Brevo::CompaniesApicompanies_getGET /companiesGet all companies
Brevo::CompaniesApicompanies_id_deleteDELETE /companies/{id}Delete a company
Brevo::CompaniesApicompanies_id_getGET /companies/{id}Get a company
Brevo::CompaniesApicompanies_id_patchPATCH /companies/{id}Update a company
Brevo::CompaniesApicompanies_import_postPOST /companies/importImport companies(creation and updation)
Brevo::CompaniesApicompanies_link_unlink_id_patchPATCH /companies/link-unlink/{id}Link and Unlink company with contacts and deals
Brevo::CompaniesApicompanies_postPOST /companiesCreate a company
Brevo::CompaniesApicrm_attributes_companies_getGET /crm/attributes/companiesGet company attributes
Brevo::CompaniesApicrm_attributes_postPOST /crm/attributesCreate a deal/company attribute
Brevo::ContactsApiadd_contact_to_listPOST /contacts/lists/{listId}/contacts/addAdd existing contacts to a list
Brevo::ContactsApicreate_attributePOST /contacts/attributes/{attributeCategory}/{attributeName}Create contact attribute
Brevo::ContactsApicreate_contactPOST /contactsCreate a contact
Brevo::ContactsApicreate_doi_contactPOST /contacts/doubleOptinConfirmationCreate Contact via DOI (Double-Opt-In) Flow
Brevo::ContactsApicreate_folderPOST /contacts/foldersCreate a folder
Brevo::ContactsApicreate_listPOST /contacts/listsCreate a list
Brevo::ContactsApidelete_attributeDELETE /contacts/attributes/{attributeCategory}/{attributeName}Delete an attribute
Brevo::ContactsApidelete_contactDELETE /contacts/{identifier}Delete a contact
Brevo::ContactsApidelete_folderDELETE /contacts/folders/{folderId}Delete a folder (and all its lists)
Brevo::ContactsApidelete_listDELETE /contacts/lists/{listId}Delete a list
Brevo::ContactsApidelete_multi_attribute_optionsDELETE /contacts/attributes/{attributeType}/{multipleChoiceAttribute}/{multipleChoiceAttributeOption}Delete a multiple-choice attribute option
Brevo::ContactsApiget_attributesGET /contacts/attributesList all attributes
Brevo::ContactsApiget_contact_infoGET /contacts/{identifier}Get a contact's details
Brevo::ContactsApiget_contact_statsGET /contacts/{identifier}/campaignStatsGet email campaigns' statistics for a contact
Brevo::ContactsApiget_contactsGET /contactsGet all the contacts
Brevo::ContactsApiget_contacts_from_listGET /contacts/lists/{listId}/contactsGet contacts in a list
Brevo::ContactsApiget_folderGET /contacts/folders/{folderId}Returns a folder's details
Brevo::ContactsApiget_folder_listsGET /contacts/folders/{folderId}/listsGet lists in a folder
Brevo::ContactsApiget_foldersGET /contacts/foldersGet all folders
Brevo::ContactsApiget_listGET /contacts/lists/{listId}Get a list's details
Brevo::ContactsApiget_listsGET /contacts/listsGet all the lists
Brevo::ContactsApiget_segmentsGET /contacts/segmentsGet all the Segments
Brevo::ContactsApiimport_contactsPOST /contacts/importImport contacts
Brevo::ContactsApiremove_contact_from_listPOST /contacts/lists/{listId}/contacts/removeDelete a contact from a list
Brevo::ContactsApirequest_contact_exportPOST /contacts/exportExport contacts
Brevo::ContactsApiupdate_attributePUT /contacts/attributes/{attributeCategory}/{attributeName}Update contact attribute
Brevo::ContactsApiupdate_batch_contactsPOST /contacts/batchUpdate multiple contacts
Brevo::ContactsApiupdate_contactPUT /contacts/{identifier}Update a contact
Brevo::ContactsApiupdate_folderPUT /contacts/folders/{folderId}Update a folder
Brevo::ContactsApiupdate_listPUT /contacts/lists/{listId}Update a list
Brevo::ConversationsApiconversations_agent_online_ping_postPOST /conversations/agentOnlinePingSets agent’s status to online for 2-3 minutes
Brevo::ConversationsApiconversations_messages_id_deleteDELETE /conversations/messages/{id}Delete a message sent by an agent
Brevo::ConversationsApiconversations_messages_id_getGET /conversations/messages/{id}Get a message
Brevo::ConversationsApiconversations_messages_id_putPUT /conversations/messages/{id}Update a message sent by an agent
Brevo::ConversationsApiconversations_messages_postPOST /conversations/messagesSend a message as an agent
Brevo::ConversationsApiconversations_pushed_messages_id_deleteDELETE /conversations/pushedMessages/{id}Delete an automated message
Brevo::ConversationsApiconversations_pushed_messages_id_getGET /conversations/pushedMessages/{id}Get an automated message
Brevo::ConversationsApiconversations_pushed_messages_id_putPUT /conversations/pushedMessages/{id}Update an automated message
Brevo::ConversationsApiconversations_pushed_messages_postPOST /conversations/pushedMessagesSend an automated message to a visitor
Brevo::CouponsApicreate_coupon_collectionPOST /couponCollectionsCreate а coupon collection
Brevo::CouponsApicreate_couponsPOST /couponsCreate coupons for a coupon collection
Brevo::CouponsApiget_coupon_collectionGET /couponCollections/{id}Get a coupon collection by id
Brevo::CouponsApiget_coupon_collectionsGET /couponCollectionsGet all your coupon collections
Brevo::CouponsApiupdate_coupon_collectionPATCH /couponCollections/{id}Update a coupon collection by id
Brevo::DealsApicrm_attributes_deals_getGET /crm/attributes/dealsGet deal attributes
Brevo::DealsApicrm_attributes_postPOST /crm/attributesCreate a deal/company attribute
Brevo::DealsApicrm_deals_getGET /crm/dealsGet all deals
Brevo::DealsApicrm_deals_id_deleteDELETE /crm/deals/{id}Delete a deal
Brevo::DealsApicrm_deals_id_getGET /crm/deals/{id}Get a deal
Brevo::DealsApicrm_deals_id_patchPATCH /crm/deals/{id}Update a deal
Brevo::DealsApicrm_deals_import_postPOST /crm/deals/importImport deals(creation and updation)
Brevo::DealsApicrm_deals_link_unlink_id_patchPATCH /crm/deals/link-unlink/{id}Link and Unlink a deal with contacts and companies
Brevo::DealsApicrm_deals_postPOST /crm/dealsCreate a deal
Brevo::DealsApicrm_pipeline_details_all_getGET /crm/pipeline/details/allGet all pipelines
Brevo::DealsApicrm_pipeline_details_getGET /crm/pipeline/detailsGet pipeline stages
Brevo::DealsApicrm_pipeline_details_pipeline_id_getGET /crm/pipeline/details/{pipelineID}Get a pipeline
Brevo::DomainsApiauthenticate_domainPUT /senders/domains/{domainName}/authenticateAuthenticate a domain
Brevo::DomainsApicreate_domainPOST /senders/domainsCreate a new domain
Brevo::DomainsApidelete_domainDELETE /senders/domains/{domainName}Delete a domain
Brevo::DomainsApiget_domain_configurationGET /senders/domains/{domainName}Validate domain configuration
Brevo::DomainsApiget_domainsGET /senders/domainsGet the list of all your domains
Brevo::EcommerceApicreate_batch_orderPOST /orders/status/batchCreate orders in batch
Brevo::EcommerceApicreate_orderPOST /orders/statusManaging the status of the order
Brevo::EcommerceApicreate_update_batch_categoryPOST /categories/batchCreate categories in batch
Brevo::EcommerceApicreate_update_batch_productsPOST /products/batchCreate products in batch
Brevo::EcommerceApicreate_update_categoryPOST /categoriesCreate/Update a category
Brevo::EcommerceApicreate_update_productPOST /productsCreate/Update a product
Brevo::EcommerceApiecommerce_activate_postPOST /ecommerce/activateActivate the eCommerce app
Brevo::EcommerceApiecommerce_attribution_metrics_conversion_source_conversion_source_id_getGET /ecommerce/attribution/metrics/{conversionSource}/{conversionSourceId}Get detailed attribution metrics for a single Brevo campaign or workflow
Brevo::EcommerceApiecommerce_attribution_metrics_getGET /ecommerce/attribution/metricsGet attribution metrics for one or more Brevo campaigns or workflows
Brevo::EcommerceApiecommerce_attribution_products_conversion_source_conversion_source_id_getGET /ecommerce/attribution/products/{conversionSource}/{conversionSourceId}Get attributed product sales for a single Brevo campaign or workflow
Brevo::EcommerceApiecommerce_config_display_currency_getGET /ecommerce/config/displayCurrencyGet the ISO 4217 compliant display currency code for your Brevo account
Brevo::EcommerceApiget_categoriesGET /categoriesReturn all your categories
Brevo::EcommerceApiget_category_infoGET /categories/{id}Get a category details
Brevo::EcommerceApiget_ordersGET /ordersGet order details
Brevo::EcommerceApiget_product_infoGET /products/{id}Get a product's details
Brevo::EcommerceApiget_productsGET /productsReturn all your products
Brevo::EcommerceApiset_config_display_currencyPOST /ecommerce/config/displayCurrencySet the ISO 4217 compliant display currency code for your Brevo account
Brevo::EmailCampaignsApicreate_email_campaignPOST /emailCampaignsCreate an email campaign
Brevo::EmailCampaignsApidelete_email_campaignDELETE /emailCampaigns/{campaignId}Delete an email campaign
Brevo::EmailCampaignsApiemail_export_recipientsPOST /emailCampaigns/{campaignId}/exportRecipientsExport the recipients of an email campaign
Brevo::EmailCampaignsApiget_ab_test_campaign_resultGET /emailCampaigns/{campaignId}/abTestCampaignResultGet an A/B test email campaign results
Brevo::EmailCampaignsApiget_email_campaignGET /emailCampaigns/{campaignId}Get an email campaign report
Brevo::EmailCampaignsApiget_email_campaignsGET /emailCampaignsReturn all your created email campaigns
Brevo::EmailCampaignsApiget_shared_template_urlGET /emailCampaigns/{campaignId}/sharedUrlGet a shared template url
Brevo::EmailCampaignsApisend_email_campaign_nowPOST /emailCampaigns/{campaignId}/sendNowSend an email campaign immediately, based on campaignId
Brevo::EmailCampaignsApisend_reportPOST /emailCampaigns/{campaignId}/sendReportSend the report of a campaign
Brevo::EmailCampaignsApisend_test_emailPOST /emailCampaigns/{campaignId}/sendTestSend an email campaign to your test list
Brevo::EmailCampaignsApiupdate_campaign_statusPUT /emailCampaigns/{campaignId}/statusUpdate an email campaign status
Brevo::EmailCampaignsApiupdate_email_campaignPUT /emailCampaigns/{campaignId}Update an email campaign
Brevo::EmailCampaignsApiupload_image_to_galleryPOST /emailCampaigns/imagesUpload an image to your account's image gallery
Brevo::EventsApicreate_eventPOST /eventsCreate an event
Brevo::ExternalFeedsApicreate_external_feedPOST /feedsCreate an external feed
Brevo::ExternalFeedsApidelete_external_feedDELETE /feeds/{uuid}Delete an external feed
Brevo::ExternalFeedsApiget_all_external_feedsGET /feedsFetch all external feeds
Brevo::ExternalFeedsApiget_external_feed_by_uuidGET /feeds/{uuid}Get an external feed by UUID
Brevo::ExternalFeedsApiupdate_external_feedPUT /feeds/{uuid}Update an external feed
Brevo::FilesApicrm_files_getGET /crm/filesGet all files
Brevo::FilesApicrm_files_id_data_getGET /crm/files/{id}/dataGet file details
Brevo::FilesApicrm_files_id_deleteDELETE /crm/files/{id}Delete a file
Brevo::FilesApicrm_files_id_getGET /crm/files/{id}Download a file
Brevo::FilesApicrm_files_postPOST /crm/filesUpload a file
Brevo::InboundParsingApiget_inbound_email_attachmentGET /inbound/attachments/{downloadToken}Retrieve inbound attachment with download token.
Brevo::InboundParsingApiget_inbound_email_eventsGET /inbound/eventsGet the list of all the events for the received emails.
Brevo::InboundParsingApiget_inbound_email_events_by_uuidGET /inbound/events/{uuid}Fetch all events history for one particular received email.
Brevo::MasterAccountApicorporate_group_id_deleteDELETE /corporate/group/{id}Delete a group
Brevo::MasterAccountApicorporate_group_id_getGET /corporate/group/{id}GET a group details
Brevo::MasterAccountApicorporate_group_id_putPUT /corporate/group/{id}Update a group of sub-accounts
Brevo::MasterAccountApicorporate_group_postPOST /corporate/groupCreate a new group of sub-accounts
Brevo::MasterAccountApicorporate_group_unlink_group_id_sub_accounts_putPUT /corporate/group/unlink/{groupId}/subAccountsDelete sub-account from group
Brevo::MasterAccountApicorporate_ip_getGET /corporate/ipList of all IPs
Brevo::MasterAccountApicorporate_master_account_getGET /corporate/masterAccountGet the details of requested master account
Brevo::MasterAccountApicorporate_sso_token_postPOST /corporate/ssoTokenGenerate SSO token to access admin account
Brevo::MasterAccountApicorporate_sub_account_getGET /corporate/subAccountGet the list of all the sub-accounts of the master account.
Brevo::MasterAccountApicorporate_sub_account_id_applications_toggle_putPUT /corporate/subAccount/{id}/applications/toggleEnable/disable sub-account application(s)
Brevo::MasterAccountApicorporate_sub_account_id_deleteDELETE /corporate/subAccount/{id}Delete a sub-account
Brevo::MasterAccountApicorporate_sub_account_id_getGET /corporate/subAccount/{id}Get sub-account details
Brevo::MasterAccountApicorporate_sub_account_id_plan_putPUT /corporate/subAccount/{id}/planUpdate sub-account plan
Brevo::MasterAccountApicorporate_sub_account_ip_associate_postPOST /corporate/subAccount/ip/associateAssociate an IP to sub-accounts
Brevo::MasterAccountApicorporate_sub_account_ip_dissociate_putPUT /corporate/subAccount/ip/dissociateDissociate an IP from sub-accounts
Brevo::MasterAccountApicorporate_sub_account_key_postPOST /corporate/subAccount/keyCreate an API key for a sub-account
Brevo::MasterAccountApicorporate_sub_account_postPOST /corporate/subAccountCreate a new sub-account under a master account.
Brevo::MasterAccountApicorporate_sub_account_sso_token_postPOST /corporate/subAccount/ssoTokenGenerate SSO token to access sub-account
Brevo::MasterAccountApicorporate_sub_accounts_plan_putPUT /corporate/subAccounts/planUpdate sub-accounts plan
Brevo::MasterAccountApicorporate_user_email_permissions_putPUT /corporate/user/{email}/permissionsChange admin user permissions
Brevo::MasterAccountApicorporate_user_invitation_action_email_putPUT /corporate/user/invitation/{action}/{email}Resend / cancel admin user invitation
Brevo::MasterAccountApicorporate_user_revoke_email_deleteDELETE /corporate/user/revoke/{email}Revoke an admin user
Brevo::MasterAccountApiget_account_activityGET /organization/activitiesGet user activity logs
Brevo::MasterAccountApiget_corporate_invited_users_listGET /corporate/invited/usersGet the list of all admin users
Brevo::MasterAccountApiget_corporate_user_permissionGET /corporate/user/{email}/permissionsCheck admin user permissions
Brevo::MasterAccountApiget_sub_account_groupsGET /corporate/groupsGet the list of groups
Brevo::MasterAccountApiinvite_admin_userPOST /corporate/user/invitation/sendSend invitation to an admin user
Brevo::NotesApicrm_notes_getGET /crm/notesGet all notes
Brevo::NotesApicrm_notes_id_deleteDELETE /crm/notes/{id}Delete a note
Brevo::NotesApicrm_notes_id_getGET /crm/notes/{id}Get a note
Brevo::NotesApicrm_notes_id_patchPATCH /crm/notes/{id}Update a note
Brevo::NotesApicrm_notes_postPOST /crm/notesCreate a note
Brevo::PaymentsApicreate_payment_requestPOST /payments/requestsCreate a payment request
Brevo::PaymentsApidelete_payment_requestDELETE /payments/requests/{id}Delete a payment request.
Brevo::PaymentsApiget_payment_requestGET /payments/requests/{id}Get payment request details
Brevo::ProcessApiget_processGET /processes/{processId}Return the informations for a process
Brevo::ProcessApiget_processesGET /processesReturn all the processes for your account
Brevo::ProgramApicreate_new_lpPOST /loyalty/config/programsCreate loyalty program
Brevo::ProgramApidelete_contact_membersDELETE /loyalty/config/programs/{pid}/subscription-membersDelete subscription member
Brevo::ProgramApidelete_loyalty_programDELETE /loyalty/config/programs/{pid}Delete Loyalty Program
Brevo::ProgramApiget_loyalty_program_infoGET /loyalty/config/programs/{pid}Get loyalty program Info
Brevo::ProgramApiget_lp_listGET /loyalty/config/programsGet loyalty program list
Brevo::ProgramApiget_parameter_subscription_infoGET /loyalty/config/programs/{pid}/account-infoGet Subscription Data
Brevo::ProgramApipartially_update_loyalty_programPATCH /loyalty/config/programs/{pid}Partially update loyalty program
Brevo::ProgramApipublish_loyalty_programPOST /loyalty/config/programs/{pid}/publishPublish loyalty program
Brevo::ProgramApisubscribe_member_to_a_subscriptionPOST /loyalty/config/programs/{pid}/subscription-membersCreate subscription member
Brevo::ProgramApisubscribe_to_loyalty_programPOST /loyalty/config/programs/{pid}/subscriptionsCreate subscription
Brevo::ProgramApiupdate_loyalty_programPUT /loyalty/config/programs/{pid}Update loyalty program
Brevo::RewardApiget_code_countGET /loyalty/offer/programs/{pid}/code-pools/{cpid}/codes-countGet code count
Brevo::RewardApiloyalty_offer_programs_pid_offers_getGET /loyalty/offer/programs/{pid}/offersGet Reward Page API
Brevo::RewardApiloyalty_offer_programs_pid_offers_postPOST /loyalty/offer/programs/{pid}/offersCreate a reward
Brevo::RewardApiloyalty_offer_programs_pid_rewards_attribute_postPOST /loyalty/offer/programs/{pid}/rewards/attributeCreate a voucher
Brevo::RewardApiloyalty_offer_programs_pid_rewards_redeem_postPOST /loyalty/offer/programs/{pid}/rewards/redeemCreate redeem voucher request
Brevo::RewardApiloyalty_offer_programs_pid_rewards_redeem_tid_complete_postPOST /loyalty/offer/programs/{pid}/rewards/redeem/{tid}/completeComplete redeem voucher request
Brevo::RewardApiloyalty_offer_programs_pid_rewards_revoke_deleteDELETE /loyalty/offer/programs/{pid}/rewards/revokeRevoke vouchers
Brevo::RewardApiloyalty_offer_programs_pid_rewards_rid_getGET /loyalty/offer/programs/{pid}/rewards/{rid}Get reward information
Brevo::RewardApiloyalty_offer_programs_pid_rewards_validate_postPOST /loyalty/offer/programs/{pid}/rewards/validateValidate a reward
Brevo::RewardApiloyalty_offer_programs_pid_vouchers_getGET /loyalty/offer/programs/{pid}/vouchersGet voucher for a contact
Brevo::SMSCampaignsApicreate_sms_campaignPOST /smsCampaignsCreates an SMS campaign
Brevo::SMSCampaignsApidelete_sms_campaignDELETE /smsCampaigns/{campaignId}Delete an SMS campaign
Brevo::SMSCampaignsApiget_sms_campaignGET /smsCampaigns/{campaignId}Get an SMS campaign
Brevo::SMSCampaignsApiget_sms_campaignsGET /smsCampaignsReturns the information for all your created SMS campaigns
Brevo::SMSCampaignsApirequest_sms_recipient_exportPOST /smsCampaigns/{campaignId}/exportRecipientsExport an SMS campaign's recipients
Brevo::SMSCampaignsApisend_sms_campaign_nowPOST /smsCampaigns/{campaignId}/sendNowSend your SMS campaign immediately
Brevo::SMSCampaignsApisend_sms_reportPOST /smsCampaigns/{campaignId}/sendReportSend an SMS campaign's report
Brevo::SMSCampaignsApisend_test_smsPOST /smsCampaigns/{campaignId}/sendTestSend a test SMS campaign
Brevo::SMSCampaignsApiupdate_sms_campaignPUT /smsCampaigns/{campaignId}Update an SMS campaign
Brevo::SMSCampaignsApiupdate_sms_campaign_statusPUT /smsCampaigns/{campaignId}/statusUpdate a campaign's status
Brevo::SendersApicreate_senderPOST /sendersCreate a new sender
Brevo::SendersApidelete_senderDELETE /senders/{senderId}Delete a sender
Brevo::SendersApiget_ipsGET /senders/ipsGet all the dedicated IPs for your account
Brevo::SendersApiget_ips_from_senderGET /senders/{senderId}/ipsGet all the dedicated IPs for a sender
Brevo::SendersApiget_sendersGET /sendersGet the list of all your senders
Brevo::SendersApiupdate_senderPUT /senders/{senderId}Update a sender
Brevo::SendersApivalidate_sender_by_otpPUT /senders/{senderId}/validateUpdate a sender
Brevo::TasksApicrm_tasks_getGET /crm/tasksGet all tasks
Brevo::TasksApicrm_tasks_id_deleteDELETE /crm/tasks/{id}Delete a task
Brevo::TasksApicrm_tasks_id_getGET /crm/tasks/{id}Get a task
Brevo::TasksApicrm_tasks_id_patchPATCH /crm/tasks/{id}Update a task
Brevo::TasksApicrm_tasks_postPOST /crm/tasksCreate a task
Brevo::TasksApicrm_tasktypes_getGET /crm/tasktypesGet all task types
Brevo::TierApiadd_subscription_to_tierPOST /loyalty/tier/programs/{pid}/contacts/{cid}/tiers/{tid}Assign a tier
Brevo::TierApicreate_tier_for_tier_groupPOST /loyalty/tier/programs/{pid}/tier-groups/{gid}/tiersCreate a tier
Brevo::TierApicreate_tier_groupPOST /loyalty/tier/programs/{pid}/tier-groupsCreate a tier group
Brevo::TierApidelete_tierDELETE /loyalty/tier/programs/{pid}/tiers/{tid}Delete tier
Brevo::TierApidelete_tier_groupDELETE /loyalty/tier/programs/{pid}/tier-groups/{gid}Delete tier group
Brevo::TierApiget_list_of_tier_groupsGET /loyalty/tier/programs/{pid}/tier-groupsList tier groups
Brevo::TierApiget_loyalty_program_tierGET /loyalty/tier/programs/{pid}/tiersList tiers
Brevo::TierApiget_tier_groupGET /loyalty/tier/programs/{pid}/tier-groups/{gid}Get tier group
Brevo::TierApiupdate_tierPUT /loyalty/tier/programs/{pid}/tiers/{tid}Update tier
Brevo::TierApiupdate_tier_groupPUT /loyalty/tier/programs/{pid}/tier-groups/{gid}Update tier group
Brevo::TransactionalEmailsApiblock_new_domainPOST /smtp/blockedDomainsAdd a new domain to the list of blocked domains
Brevo::TransactionalEmailsApicreate_smtp_templatePOST /smtp/templatesCreate an email template
Brevo::TransactionalEmailsApidelete_blocked_domainDELETE /smtp/blockedDomains/{domain}Unblock an existing domain from the list of blocked domains
Brevo::TransactionalEmailsApidelete_hardbouncesPOST /smtp/deleteHardbouncesDelete hardbounces
Brevo::TransactionalEmailsApidelete_scheduled_email_by_idDELETE /smtp/email/{identifier}Delete scheduled emails by batchId or messageId
Brevo::TransactionalEmailsApidelete_smtp_templateDELETE /smtp/templates/{templateId}Delete an inactive email template
Brevo::TransactionalEmailsApiget_aggregated_smtp_reportGET /smtp/statistics/aggregatedReportGet your transactional email activity aggregated over a period of time
Brevo::TransactionalEmailsApiget_blocked_domainsGET /smtp/blockedDomainsGet the list of blocked domains
Brevo::TransactionalEmailsApiget_email_event_reportGET /smtp/statistics/eventsGet all your transactional email activity (unaggregated events)
Brevo::TransactionalEmailsApiget_scheduled_email_by_batch_idGET /smtp/emailStatus/{batchId}Fetch scheduled emails by batchId
Brevo::TransactionalEmailsApiget_scheduled_email_by_message_idGET /smtp/emailStatus/{messageId}Fetch scheduled email by messageId
Brevo::TransactionalEmailsApiget_smtp_reportGET /smtp/statistics/reportsGet your transactional email activity aggregated per day
Brevo::TransactionalEmailsApiget_smtp_templateGET /smtp/templates/{templateId}Returns the template information
Brevo::TransactionalEmailsApiget_smtp_templatesGET /smtp/templatesGet the list of email templates
Brevo::TransactionalEmailsApiget_transac_blocked_contactsGET /smtp/blockedContactsGet the list of blocked or unsubscribed transactional contacts
Brevo::TransactionalEmailsApiget_transac_email_contentGET /smtp/emails/{uuid}Get the personalized content of a sent transactional email
Brevo::TransactionalEmailsApiget_transac_emails_listGET /smtp/emailsGet the list of transactional emails on the basis of allowed filters
Brevo::TransactionalEmailsApipost_preview_smtp_email_templatesPOST /smtp/template/previewGenerate the rendered preview of transactional template
Brevo::TransactionalEmailsApisend_test_templatePOST /smtp/templates/{templateId}/sendTestSend a template to your test list
Brevo::TransactionalEmailsApisend_transac_emailPOST /smtp/emailSend a transactional email
Brevo::TransactionalEmailsApismtp_blocked_contacts_email_deleteDELETE /smtp/blockedContacts/{email}Unblock or resubscribe a transactional contact
Brevo::TransactionalEmailsApismtp_log_identifier_deleteDELETE /smtp/log/{identifier}Delete an SMTP transactional log
Brevo::TransactionalEmailsApiupdate_smtp_templatePUT /smtp/templates/{templateId}Update an email template
Brevo::TransactionalSMSApiget_sms_eventsGET /transactionalSMS/statistics/eventsGet all your SMS activity (unaggregated events)
Brevo::TransactionalSMSApiget_transac_aggregated_sms_reportGET /transactionalSMS/statistics/aggregatedReportGet your SMS activity aggregated over a period of time
Brevo::TransactionalSMSApiget_transac_sms_reportGET /transactionalSMS/statistics/reportsGet your SMS activity aggregated per day
Brevo::TransactionalSMSApisend_async_transactional_smsPOST /transactionalSMS/sendSend SMS message asynchronously to a mobile number
Brevo::TransactionalSMSApisend_transac_smsPOST /transactionalSMS/smsSend SMS message to a mobile number
Brevo::TransactionalWhatsAppApiget_whatsapp_event_reportGET /whatsapp/statistics/eventsGet all your WhatsApp activity (unaggregated events)
Brevo::TransactionalWhatsAppApisend_whatsapp_messagePOST /whatsapp/sendMessageSend a WhatsApp message
Brevo::UserApiedit_user_permissionPOST /organization/user/update/permissionsUpdate permission for a user
Brevo::UserApiget_invited_users_listGET /organization/invited/usersGet the list of all your users
Brevo::UserApiget_user_permissionGET /organization/user/{email}/permissionsCheck user permission
Brevo::UserApiinviteuserPOST /organization/user/invitation/sendSend invitation to user
Brevo::UserApiput_revoke_user_permissionPUT /organization/user/invitation/revoke/{email}Revoke user permission
Brevo::UserApiputresendcancelinvitationPUT /organization/user/invitation/{action}/{email}Resend / Cancel invitation
Brevo::WebhooksApicreate_webhookPOST /webhooksCreate a webhook
Brevo::WebhooksApidelete_webhookDELETE /webhooks/{webhookId}Delete a webhook
Brevo::WebhooksApiexport_webhooks_historyPOST /webhooks/exportExport all webhook events
Brevo::WebhooksApiget_webhookGET /webhooks/{webhookId}Get a webhook details
Brevo::WebhooksApiget_webhooksGET /webhooksGet all webhooks
Brevo::WebhooksApiupdate_webhookPUT /webhooks/{webhookId}Update a webhook
Brevo::WhatsAppCampaignsApicreate_whats_app_campaignPOST /whatsappCampaignsCreate and Send a WhatsApp campaign
Brevo::WhatsAppCampaignsApicreate_whats_app_templatePOST /whatsppCampaigns/templateCreate a WhatsApp template
Brevo::WhatsAppCampaignsApidelete_whats_app_campaignDELETE /whatsappCampaigns/{campaignId}Delete a WhatsApp campaign
Brevo::WhatsAppCampaignsApiget_whats_app_campaignGET /whatsappCampaigns/{campaignId}Get a WhatsApp campaign
Brevo::WhatsAppCampaignsApiget_whats_app_campaignsGET /whatsappCampaignsReturn all your created WhatsApp campaigns
Brevo::WhatsAppCampaignsApiget_whats_app_configGET /whatsappCampaigns/configGet your WhatsApp API account information
Brevo::WhatsAppCampaignsApiget_whats_app_templatesGET /whatsappCampaigns/template-listReturn all your created WhatsApp templates
Brevo::WhatsAppCampaignsApisend_whats_app_template_approvalPOST /whatsappCampaigns/template/approval/{templateId}Send your WhatsApp template for approval
Brevo::WhatsAppCampaignsApiupdate_whats_app_campaignPUT /whatsappCampaigns/{campaignId}Update a WhatsApp campaign

Documentation for Models

Documentation for Authorization

api-key

  • Type: API key
  • API key parameter name: api-key
  • Location: HTTP header

partner-key

  • Type: API key
  • API key parameter name: partner-key
  • Location: HTTP header

Support and Feedback

Be sure to visit the Brevo official documentation website for additional information about our API.

If you find a bug, please post the issue on Github.

As always, if you need additional assistance, drop us a note here.

Recommendation

Please follow camelCase convention for variables in the API's. For example, use customVariable instead of custom_variable.

FAQs

Package last updated on 25 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.