Brevo - the Ruby gem for the Brevo API
Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to :
- Manage your campaigns and get the statistics
- Manage your contacts
- Send transactional Emails and SMS
- and much more...
You can download our wrappers at https://github.com/orgs/brevo
Possible responses
Code | Message |
---|---|
200 | OK. Successful Request |
201 | OK. Successful Creation |
202 | OK. Request accepted |
204 | OK. Successful Update/Deletion |
400 | Error. Bad Request |
401 | Error. Authentication Needed |
402 | Error. Not enough credit, plan upgrade needed |
403 | Error. Permission denied |
404 | Error. Object does not exist |
405 | Error. Method not allowed |
406 | Error. Not Acceptable |
This SDK is automatically generated by the OpenAPI Generator project:
- API version: 3.0.0
- Package version: 1.0.0
- Generator version: 7.5.0
- Build package: org.openapitools.codegen.languages.RubyClientCodegen For more information, please visit https://account.brevo.com/support
To build the Ruby code into a gem:
gem build brevo.gemspec
Then either install the gem locally:
gem install ./brevo-1.0.0.gem
(for development, run gem install --dev ./brevo-1.0.0.gem
to install the development dependencies)
or publish the gem to a gem hosting service, e.g. RubyGems.
Finally add this to the Gemfile:
gem 'brevo', '~> 1.0.0'
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 using -I
as follows:
ruby -Ilib script.rb
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 faraday connection
config.configure_faraday_connection { |connection| 'YOUR CONNECTION CONFIG PROC' }
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
All URIs are relative to https://api.brevo.com/v3
Class | Method | HTTP request | Description |
---|---|---|---|
Brevo::AccountApi | get_account | GET /account | Get your account information, plan and credits details |
Brevo::AccountApi | get_account_activity | GET /organization/activities | Get user activity logs |
Brevo::CompaniesApi | companies_attributes_get | GET /companies/attributes | Get company attributes |
Brevo::CompaniesApi | companies_get | GET /companies | Get all Companies |
Brevo::CompaniesApi | companies_id_delete | DELETE /companies/{id} | Delete a company |
Brevo::CompaniesApi | companies_id_get | GET /companies/{id} | Get a company |
Brevo::CompaniesApi | companies_id_patch | PATCH /companies/{id} | Update a company |
Brevo::CompaniesApi | companies_link_unlink_id_patch | PATCH /companies/link-unlink/{id} | Link and Unlink company with contact and deal |
Brevo::CompaniesApi | companies_post | POST /companies | Create a company |
Brevo::ContactsApi | add_contact_to_list | POST /contacts/lists/{listId}/contacts/add | Add existing contacts to a list |
Brevo::ContactsApi | create_attribute | POST /contacts/attributes/{attributeCategory}/{attributeName} | Create contact attribute |
Brevo::ContactsApi | create_contact | POST /contacts | Create a contact |
Brevo::ContactsApi | create_doi_contact | POST /contacts/doubleOptinConfirmation | Create Contact via DOI (Double-Opt-In) Flow |
Brevo::ContactsApi | create_folder | POST /contacts/folders | Create a folder |
Brevo::ContactsApi | create_list | POST /contacts/lists | Create a list |
Brevo::ContactsApi | delete_attribute | DELETE /contacts/attributes/{attributeCategory}/{attributeName} | Delete an attribute |
Brevo::ContactsApi | delete_contact | DELETE /contacts/{identifier} | Delete a contact |
Brevo::ContactsApi | delete_folder | DELETE /contacts/folders/{folderId} | Delete a folder (and all its lists) |
Brevo::ContactsApi | delete_list | DELETE /contacts/lists/{listId} | Delete a list |
Brevo::ContactsApi | get_attributes | GET /contacts/attributes | List all attributes |
Brevo::ContactsApi | get_contact_info | GET /contacts/{identifier} | Get a contact's details |
Brevo::ContactsApi | get_contact_stats | GET /contacts/{identifier}/campaignStats | Get email campaigns' statistics for a contact |
Brevo::ContactsApi | get_contacts | GET /contacts | Get all the contacts |
Brevo::ContactsApi | get_contacts_from_list | GET /contacts/lists/{listId}/contacts | Get contacts in a list |
Brevo::ContactsApi | get_folder | GET /contacts/folders/{folderId} | Returns a folder's details |
Brevo::ContactsApi | get_folder_lists | GET /contacts/folders/{folderId}/lists | Get lists in a folder |
Brevo::ContactsApi | get_folders | GET /contacts/folders | Get all folders |
Brevo::ContactsApi | get_list | GET /contacts/lists/{listId} | Get a list's details |
Brevo::ContactsApi | get_lists | GET /contacts/lists | Get all the lists |
Brevo::ContactsApi | get_segments | GET /contacts/segments | Get all the segments |
Brevo::ContactsApi | import_contacts | POST /contacts/import | Import contacts |
Brevo::ContactsApi | remove_contact_from_list | POST /contacts/lists/{listId}/contacts/remove | Delete a contact from a list |
Brevo::ContactsApi | request_contact_export | POST /contacts/export | Export contacts |
Brevo::ContactsApi | update_attribute | PUT /contacts/attributes/{attributeCategory}/{attributeName} | Update contact attribute |
Brevo::ContactsApi | update_batch_contacts | POST /contacts/batch | Update multiple contacts |
Brevo::ContactsApi | update_contact | PUT /contacts/{identifier} | Update a contact |
Brevo::ContactsApi | update_folder | PUT /contacts/folders/{folderId} | Update a folder |
Brevo::ContactsApi | update_list | PUT /contacts/lists/{listId} | Update a list |
Brevo::ConversationsApi | conversations_agent_online_ping_post | POST /conversations/agentOnlinePing | Sets agent’s status to online for 2-3 minutes |
Brevo::ConversationsApi | conversations_messages_id_delete | DELETE /conversations/messages/{id} | Delete a message sent by an agent |
Brevo::ConversationsApi | conversations_messages_id_get | GET /conversations/messages/{id} | Get a message |
Brevo::ConversationsApi | conversations_messages_id_put | PUT /conversations/messages/{id} | Update a message sent by an agent |
Brevo::ConversationsApi | conversations_messages_post | POST /conversations/messages | Send a message as an agent |
Brevo::ConversationsApi | conversations_pushed_messages_id_delete | DELETE /conversations/pushedMessages/{id} | Delete an automated message |
Brevo::ConversationsApi | conversations_pushed_messages_id_get | GET /conversations/pushedMessages/{id} | Get an automated message |
Brevo::ConversationsApi | conversations_pushed_messages_id_put | PUT /conversations/pushedMessages/{id} | Update an automated message |
Brevo::ConversationsApi | conversations_pushed_messages_post | POST /conversations/pushedMessages | Send an automated message to a visitor |
Brevo::CouponsApi | create_coupon_collection | POST /couponCollections | Create Đ° coupon collection |
Brevo::CouponsApi | create_coupons | POST /coupons | Create coupons for a coupon collection |
Brevo::CouponsApi | get_coupon_collection | GET /couponCollections/{id} | Get a coupon collection by id |
Brevo::CouponsApi | get_coupon_collections | GET /couponCollections | Get all your coupon collections |
Brevo::CouponsApi | update_coupon_collection | PATCH /couponCollections/{id} | Update a coupon collection by id |
Brevo::DealsApi | crm_attributes_deals_get | GET /crm/attributes/deals | Get deal attributes |
Brevo::DealsApi | crm_deals_get | GET /crm/deals | Get all deals |
Brevo::DealsApi | crm_deals_id_delete | DELETE /crm/deals/{id} | Delete a deal |
Brevo::DealsApi | crm_deals_id_get | GET /crm/deals/{id} | Get a deal |
Brevo::DealsApi | crm_deals_id_patch | PATCH /crm/deals/{id} | Update a deal |
Brevo::DealsApi | crm_deals_link_unlink_id_patch | PATCH /crm/deals/link-unlink/{id} | Link and Unlink a deal with contacts and companies |
Brevo::DealsApi | crm_deals_post | POST /crm/deals | Create a deal |
Brevo::DealsApi | crm_pipeline_details_all_get | GET /crm/pipeline/details/all | Get all pipelines |
Brevo::DealsApi | crm_pipeline_details_get | GET /crm/pipeline/details | Get pipeline stages |
Brevo::DealsApi | crm_pipeline_details_pipeline_id_get | GET /crm/pipeline/details/{pipelineID} | Get a pipeline |
Brevo::DomainsApi | authenticate_domain | PUT /senders/domains/{domainName}/authenticate | Authenticate a domain |
Brevo::DomainsApi | create_domain | POST /senders/domains | Create a new domain |
Brevo::DomainsApi | delete_domain | DELETE /senders/domains/{domainName} | Delete a domain |
Brevo::DomainsApi | get_domain_configuration | GET /senders/domains/{domainName} | Validate domain configuration |
Brevo::DomainsApi | get_domains | GET /senders/domains | Get the list of all your domains |
Brevo::EcommerceApi | create_batch_order | POST /orders/status/batch | Create orders in batch |
Brevo::EcommerceApi | create_order | POST /orders/status | Managing the status of the order |
Brevo::EcommerceApi | create_update_batch_category | POST /categories/batch | Create categories in batch |
Brevo::EcommerceApi | create_update_batch_products | POST /products/batch | Create products in batch |
Brevo::EcommerceApi | create_update_category | POST /categories | Create/Update a category |
Brevo::EcommerceApi | create_update_product | POST /products | Create/Update a product |
Brevo::EcommerceApi | ecommerce_activate_post | POST /ecommerce/activate | Activate the eCommerce app |
Brevo::EcommerceApi | ecommerce_attribution_metrics_conversion_source_conversion_source_id_get | GET /ecommerce/attribution/metrics/{conversionSource}/{conversionSourceId} | Get detailed attribution metrics for a single Brevo campaign |
Brevo::EcommerceApi | ecommerce_attribution_metrics_get | GET /ecommerce/attribution/metrics | Get attribution metrics for one or more Brevo campaigns |
Brevo::EcommerceApi | ecommerce_attribution_products_conversion_source_conversion_source_id_get | GET /ecommerce/attribution/products/{conversionSource}/{conversionSourceId} | Get attributed product sales for a single Brevo campaign |
Brevo::EcommerceApi | get_categories | GET /categories | Return all your categories |
Brevo::EcommerceApi | get_category_info | GET /categories/{id} | Get a category details |
Brevo::EcommerceApi | get_orders | GET /orders | Get order details |
Brevo::EcommerceApi | get_product_info | GET /products/{id} | Get a product's details |
Brevo::EcommerceApi | get_products | GET /products | Return all your products |
Brevo::EmailCampaignsApi | create_email_campaign | POST /emailCampaigns | Create an email campaign |
Brevo::EmailCampaignsApi | delete_email_campaign | DELETE /emailCampaigns/{campaignId} | Delete an email campaign |
Brevo::EmailCampaignsApi | email_export_recipients | POST /emailCampaigns/{campaignId}/exportRecipients | Export the recipients of an email campaign |
Brevo::EmailCampaignsApi | get_ab_test_campaign_result | GET /emailCampaigns/{campaignId}/abTestCampaignResult | Get an A/B test email campaign results |
Brevo::EmailCampaignsApi | get_email_campaign | GET /emailCampaigns/{campaignId} | Get an email campaign report |
Brevo::EmailCampaignsApi | get_email_campaigns | GET /emailCampaigns | Return all your created email campaigns |
Brevo::EmailCampaignsApi | get_shared_template_url | GET /emailCampaigns/{campaignId}/sharedUrl | Get a shared template url |
Brevo::EmailCampaignsApi | send_email_campaign_now | POST /emailCampaigns/{campaignId}/sendNow | Send an email campaign immediately, based on campaignId |
Brevo::EmailCampaignsApi | send_report | POST /emailCampaigns/{campaignId}/sendReport | Send the report of a campaign |
Brevo::EmailCampaignsApi | send_test_email | POST /emailCampaigns/{campaignId}/sendTest | Send an email campaign to your test list |
Brevo::EmailCampaignsApi | update_campaign_status | PUT /emailCampaigns/{campaignId}/status | Update an email campaign status |
Brevo::EmailCampaignsApi | update_email_campaign | PUT /emailCampaigns/{campaignId} | Update an email campaign |
Brevo::EmailCampaignsApi | upload_image_to_gallery | POST /emailCampaigns/images | Upload an image to your account's image gallery |
Brevo::EventApi | create_event | POST /events | Create an event |
Brevo::ExternalFeedsApi | create_external_feed | POST /feeds | Create an external feed |
Brevo::ExternalFeedsApi | delete_external_feed | DELETE /feeds/{uuid} | Delete an external feed |
Brevo::ExternalFeedsApi | get_all_external_feeds | GET /feeds | Fetch all external feeds |
Brevo::ExternalFeedsApi | get_external_feed_by_uuid | GET /feeds/{uuid} | Get an external feed by UUID |
Brevo::ExternalFeedsApi | update_external_feed | PUT /feeds/{uuid} | Update an external feed |
Brevo::FilesApi | crm_files_get | GET /crm/files | Get all files |
Brevo::FilesApi | crm_files_id_data_get | GET /crm/files/{id}/data | Get file details |
Brevo::FilesApi | crm_files_id_delete | DELETE /crm/files/{id} | Delete a file |
Brevo::FilesApi | crm_files_id_get | GET /crm/files/{id} | Download a file |
Brevo::FilesApi | crm_files_post | POST /crm/files | Upload a file |
Brevo::InboundParsingApi | get_inbound_email_attachment | GET /inbound/attachments/{downloadToken} | Retrieve inbound attachment with download token. |
Brevo::InboundParsingApi | get_inbound_email_events | GET /inbound/events | Get the list of all the events for the received emails. |
Brevo::InboundParsingApi | get_inbound_email_events_by_uuid | GET /inbound/events/{uuid} | Fetch all events history for one particular received email. |
Brevo::MasterAccountApi | corporate_group_id_delete | DELETE /corporate/group/{id} | Delete a group |
Brevo::MasterAccountApi | corporate_group_id_get | GET /corporate/group/{id} | GET a group details |
Brevo::MasterAccountApi | corporate_group_id_put | PUT /corporate/group/{id} | Update a group of sub-accounts |
Brevo::MasterAccountApi | corporate_group_post | POST /corporate/group | Create a group of sub-accounts |
Brevo::MasterAccountApi | corporate_group_unlink_group_id_sub_accounts_put | PUT /corporate/group/unlink/{groupId}/subAccounts | Delete sub-account from group |
Brevo::MasterAccountApi | corporate_master_account_get | GET /corporate/masterAccount | Get the details of requested master account |
Brevo::MasterAccountApi | corporate_sso_token_post | POST /corporate/ssoToken | Generate SSO token to access admin account |
Brevo::MasterAccountApi | corporate_sub_account_get | GET /corporate/subAccount | Get the list of all the sub-accounts of the master account. |
Brevo::MasterAccountApi | corporate_sub_account_id_applications_toggle_put | PUT /corporate/subAccount/{id}/applications/toggle | Enable/disable sub-account application(s) |
Brevo::MasterAccountApi | corporate_sub_account_id_delete | DELETE /corporate/subAccount/{id} | Delete a sub-account |
Brevo::MasterAccountApi | corporate_sub_account_id_get | GET /corporate/subAccount/{id} | Get sub-account details |
Brevo::MasterAccountApi | corporate_sub_account_id_plan_put | PUT /corporate/subAccount/{id}/plan | Update sub-account plan |
Brevo::MasterAccountApi | corporate_sub_account_ip_associate_post | POST /corporate/subAccount/ip/associate | Associate an IP to sub-accounts |
Brevo::MasterAccountApi | corporate_sub_account_ip_dissociate_delete | DELETE /corporate/subAccount/ip/dissociate | Dissociate an IP to sub-accounts |
Brevo::MasterAccountApi | corporate_sub_account_key_post | POST /corporate/subAccount/key | Create an API key for a sub-account |
Brevo::MasterAccountApi | corporate_sub_account_post | POST /corporate/subAccount | Create a new sub-account under a master account. |
Brevo::MasterAccountApi | corporate_sub_account_sso_token_post | POST /corporate/subAccount/ssoToken | Generate SSO token to access sub-account |
Brevo::MasterAccountApi | corporate_user_invitation_action_email_put | PUT /corporate/user/invitation/{action}/{email} | Resend / cancel admin user invitation |
Brevo::MasterAccountApi | corporate_user_revoke_email_delete | DELETE /corporate/user/revoke/{email} | Revoke an admin user |
Brevo::MasterAccountApi | get_account_activity | GET /organization/activities | Get user activity logs |
Brevo::MasterAccountApi | get_corporate_invited_users_list | GET /corporate/invited/users | Get the list of all admin users |
Brevo::MasterAccountApi | get_corporate_user_permission | GET /corporate/user/{email}/permissions | Check admin user permissions |
Brevo::MasterAccountApi | get_sub_account_groups | GET /corporate/groups | Get the list of groups |
Brevo::MasterAccountApi | invite_admin_user | POST /corporate/user/invitation/send | Send invitation to an admin user |
Brevo::NotesApi | crm_notes_get | GET /crm/notes | Get all notes |
Brevo::NotesApi | crm_notes_id_delete | DELETE /crm/notes/{id} | Delete a note |
Brevo::NotesApi | crm_notes_id_get | GET /crm/notes/{id} | Get a note |
Brevo::NotesApi | crm_notes_id_patch | PATCH /crm/notes/{id} | Update a note |
Brevo::NotesApi | crm_notes_post | POST /crm/notes | Create a note |
Brevo::PaymentsApi | create_payment_request | POST /payments/requests | Create a payment request |
Brevo::PaymentsApi | delete_payment_request | DELETE /payments/requests/{id} | Delete a payment request. |
Brevo::PaymentsApi | get_payment_request | GET /payments/requests/{id} | Get payment request details |
Brevo::ProcessApi | get_process | GET /processes/{processId} | Return the informations for a process |
Brevo::ProcessApi | get_processes | GET /processes | Return all the processes for your account |
Brevo::ResellerApi | add_credits | POST /reseller/children/{childIdentifier}/credits/add | Add Email and/or SMS credits to a specific child account |
Brevo::ResellerApi | associate_ip_to_child | POST /reseller/children/{childIdentifier}/ips/associate | Associate a dedicated IP to the child |
Brevo::ResellerApi | create_child_domain | POST /reseller/children/{childIdentifier}/domains | Create a domain for a child account |
Brevo::ResellerApi | create_reseller_child | POST /reseller/children | Creates a reseller child |
Brevo::ResellerApi | delete_child_domain | DELETE /reseller/children/{childIdentifier}/domains/{domainName} | Delete the sender domain of the reseller child based on the childIdentifier and domainName passed |
Brevo::ResellerApi | delete_reseller_child | DELETE /reseller/children/{childIdentifier} | Delete a single reseller child based on the child identifier supplied |
Brevo::ResellerApi | dissociate_ip_from_child | POST /reseller/children/{childIdentifier}/ips/dissociate | Dissociate a dedicated IP to the child |
Brevo::ResellerApi | get_child_account_creation_status | GET /reseller/children/{childIdentifier}/accountCreationStatus | Get the status of a reseller's child account creation, whether it is successfully created (exists) or not based on the childIdentifier supplied |
Brevo::ResellerApi | get_child_domains | GET /reseller/children/{childIdentifier}/domains | Get all sender domains for a specific child account |
Brevo::ResellerApi | get_child_info | GET /reseller/children/{childIdentifier} | Get a child account's details |
Brevo::ResellerApi | get_reseller_childs | GET /reseller/children | Get the list of all children accounts |
Brevo::ResellerApi | get_sso_token | GET /reseller/children/{childIdentifier}/auth | Get session token to access Brevo (SSO) |
Brevo::ResellerApi | remove_credits | POST /reseller/children/{childIdentifier}/credits/remove | Remove Email and/or SMS credits from a specific child account |
Brevo::ResellerApi | update_child_account_status | PUT /reseller/children/{childIdentifier}/accountStatus | Update info of reseller's child account status based on the identifier supplied |
Brevo::ResellerApi | update_child_domain | PUT /reseller/children/{childIdentifier}/domains/{domainName} | Update the sender domain of reseller's child based on the childIdentifier and domainName passed |
Brevo::ResellerApi | update_reseller_child | PUT /reseller/children/{childIdentifier} | Update info of reseller's child based on the child identifier supplied |
Brevo::SMSCampaignsApi | create_sms_campaign | POST /smsCampaigns | Creates an SMS campaign |
Brevo::SMSCampaignsApi | delete_sms_campaign | DELETE /smsCampaigns/{campaignId} | Delete an SMS campaign |
Brevo::SMSCampaignsApi | get_sms_campaign | GET /smsCampaigns/{campaignId} | Get an SMS campaign |
Brevo::SMSCampaignsApi | get_sms_campaigns | GET /smsCampaigns | Returns the information for all your created SMS campaigns |
Brevo::SMSCampaignsApi | request_sms_recipient_export | POST /smsCampaigns/{campaignId}/exportRecipients | Export an SMS campaign's recipients |
Brevo::SMSCampaignsApi | send_sms_campaign_now | POST /smsCampaigns/{campaignId}/sendNow | Send your SMS campaign immediately |
Brevo::SMSCampaignsApi | send_sms_report | POST /smsCampaigns/{campaignId}/sendReport | Send an SMS campaign's report |
Brevo::SMSCampaignsApi | send_test_sms | POST /smsCampaigns/{campaignId}/sendTest | Send a test SMS campaign |
Brevo::SMSCampaignsApi | update_sms_campaign | PUT /smsCampaigns/{campaignId} | Update an SMS campaign |
Brevo::SMSCampaignsApi | update_sms_campaign_status | PUT /smsCampaigns/{campaignId}/status | Update a campaign's status |
Brevo::SendersApi | create_sender | POST /senders | Create a new sender |
Brevo::SendersApi | delete_sender | DELETE /senders/{senderId} | Delete a sender |
Brevo::SendersApi | get_ips | GET /senders/ips | Get all the dedicated IPs for your account |
Brevo::SendersApi | get_ips_from_sender | GET /senders/{senderId}/ips | Get all the dedicated IPs for a sender |
Brevo::SendersApi | get_senders | GET /senders | Get the list of all your senders |
Brevo::SendersApi | update_sender | PUT /senders/{senderId} | Update a sender |
Brevo::SendersApi | validate_sender_by_otp | PUT /senders/{senderId}/validate | Validate Sender using OTP |
Brevo::TasksApi | crm_tasks_get | GET /crm/tasks | Get all tasks |
Brevo::TasksApi | crm_tasks_id_delete | DELETE /crm/tasks/{id} | Delete a task |
Brevo::TasksApi | crm_tasks_id_get | GET /crm/tasks/{id} | Get a task |
Brevo::TasksApi | crm_tasks_id_patch | PATCH /crm/tasks/{id} | Update a task |
Brevo::TasksApi | crm_tasks_post | POST /crm/tasks | Create a task |
Brevo::TasksApi | crm_tasktypes_get | GET /crm/tasktypes | Get all task types |
Brevo::TransactionalEmailsApi | block_new_domain | POST /smtp/blockedDomains | Add a new domain to the list of blocked domains |
Brevo::TransactionalEmailsApi | create_smtp_template | POST /smtp/templates | Create an email template |
Brevo::TransactionalEmailsApi | delete_blocked_domain | DELETE /smtp/blockedDomains/{domain} | Unblock an existing domain from the list of blocked domains |
Brevo::TransactionalEmailsApi | delete_hardbounces | POST /smtp/deleteHardbounces | Delete hardbounces |
Brevo::TransactionalEmailsApi | delete_scheduled_email_by_id | DELETE /smtp/email/{identifier} | Delete scheduled emails by batchId or messageId |
Brevo::TransactionalEmailsApi | delete_smtp_template | DELETE /smtp/templates/{templateId} | Delete an inactive email template |
Brevo::TransactionalEmailsApi | get_aggregated_smtp_report | GET /smtp/statistics/aggregatedReport | Get your transactional email activity aggregated over a period of time |
Brevo::TransactionalEmailsApi | get_blocked_domains | GET /smtp/blockedDomains | Get the list of blocked domains |
Brevo::TransactionalEmailsApi | get_email_event_report | GET /smtp/statistics/events | Get all your transactional email activity (unaggregated events) |
Brevo::TransactionalEmailsApi | get_scheduled_email_by_id | GET /smtp/emailStatus/{identifier} | Fetch scheduled emails by batchId or messageId |
Brevo::TransactionalEmailsApi | get_smtp_report | GET /smtp/statistics/reports | Get your transactional email activity aggregated per day |
Brevo::TransactionalEmailsApi | get_smtp_template | GET /smtp/templates/{templateId} | Returns the template information |
Brevo::TransactionalEmailsApi | get_smtp_templates | GET /smtp/templates | Get the list of email templates |
Brevo::TransactionalEmailsApi | get_transac_blocked_contacts | GET /smtp/blockedContacts | Get the list of blocked or unsubscribed transactional contacts |
Brevo::TransactionalEmailsApi | get_transac_email_content | GET /smtp/emails/{uuid} | Get the personalized content of a sent transactional email |
Brevo::TransactionalEmailsApi | get_transac_emails_list | GET /smtp/emails | Get the list of transactional emails on the basis of allowed filters |
Brevo::TransactionalEmailsApi | send_test_template | POST /smtp/templates/{templateId}/sendTest | Send a template to your test list |
Brevo::TransactionalEmailsApi | send_transac_email | POST /smtp/email | Send a transactional email |
Brevo::TransactionalEmailsApi | smtp_blocked_contacts_email_delete | DELETE /smtp/blockedContacts/{email} | Unblock or resubscribe a transactional contact |
Brevo::TransactionalEmailsApi | smtp_log_identifier_delete | DELETE /smtp/log/{identifier} | Delete an SMTP transactional log |
Brevo::TransactionalEmailsApi | update_smtp_template | PUT /smtp/templates/{templateId} | Update an email template |
Brevo::TransactionalSMSApi | get_sms_events | GET /transactionalSMS/statistics/events | Get all your SMS activity (unaggregated events) |
Brevo::TransactionalSMSApi | get_transac_aggregated_sms_report | GET /transactionalSMS/statistics/aggregatedReport | Get your SMS activity aggregated over a period of time |
Brevo::TransactionalSMSApi | get_transac_sms_report | GET /transactionalSMS/statistics/reports | Get your SMS activity aggregated per day |
Brevo::TransactionalSMSApi | send_transac_sms | POST /transactionalSMS/sms | Send SMS message to a mobile number |
Brevo::TransactionalWhatsAppApi | get_whatsapp_event_report | GET /whatsapp/statistics/events | Get all your WhatsApp activity (unaggregated events) |
Brevo::TransactionalWhatsAppApi | send_whatsapp_message | POST /whatsapp/sendMessage | Send a WhatsApp message |
Brevo::UserApi | edit_user_permission | POST /organization/user/update/permissions | Update permission for a user |
Brevo::UserApi | get_invited_users_list | GET /organization/invited/users | Get the list of all your users |
Brevo::UserApi | get_user_permission | GET /organization/user/{email}/permissions | Check user permission |
Brevo::UserApi | inviteuser | POST /organization/user/invitation/send | Send invitation to user |
Brevo::UserApi | put_revoke_user_permission | PUT /organization/user/invitation/revoke/{email} | Revoke user permission |
Brevo::UserApi | putresendcancelinvitation | PUT /organization/user/invitation/{action}/{email} | Resend / Cancel invitation |
Brevo::WebhooksApi | create_webhook | POST /webhooks | Create a webhook |
Brevo::WebhooksApi | delete_webhook | DELETE /webhooks/{webhookId} | Delete a webhook |
Brevo::WebhooksApi | export_webhooks_history | POST /webhooks/export | Export all webhook events |
Brevo::WebhooksApi | get_webhook | GET /webhooks/{webhookId} | Get a webhook details |
Brevo::WebhooksApi | get_webhooks | GET /webhooks | Get all webhooks |
Brevo::WebhooksApi | update_webhook | PUT /webhooks/{webhookId} | Update a webhook |
Brevo::WhatsAppCampaignsApi | create_whats_app_campaign | POST /whatsappCampaigns | Create and Send a WhatsApp campaign |
Brevo::WhatsAppCampaignsApi | create_whats_app_template | POST /whatsappCampaigns/template | Create a WhatsApp template |
Brevo::WhatsAppCampaignsApi | delete_whats_app_campaign | DELETE /whatsappCampaigns/{campaignId} | Delete a WhatsApp campaign |
Brevo::WhatsAppCampaignsApi | get_whats_app_campaign | GET /whatsappCampaigns/{campaignId} | Get a WhatsApp campaign |
Brevo::WhatsAppCampaignsApi | get_whats_app_campaigns | GET /whatsappCampaigns | Return all your created WhatsApp campaigns |
Brevo::WhatsAppCampaignsApi | get_whats_app_config | GET /whatsappCampaigns/config | Get your WhatsApp API account information |
Brevo::WhatsAppCampaignsApi | get_whats_app_templates | GET /whatsappCampaigns/template-list | Return all your created WhatsApp templates |
Brevo::WhatsAppCampaignsApi | send_whats_app_template_approval | POST /whatsappCampaigns/template/approval/{templateId} | Send your WhatsApp template for approval |
Brevo::WhatsAppCampaignsApi | update_whats_app_campaign | PUT /whatsappCampaigns/{campaignId} | Update a WhatsApp campaign |
- Brevo::AbTestCampaignResult
- Brevo::AbTestCampaignResultClickedLinks
- Brevo::AbTestCampaignResultStatistics
- Brevo::AbTestVersionClicksInner
- Brevo::AbTestVersionStats
- Brevo::AddChildDomain
- Brevo::AddContactToListByEmails
- Brevo::AddContactToListByIDs
- Brevo::AddContactToListRequest
- Brevo::AddCredits
- Brevo::AuthenticateDomainModel
- Brevo::BlockDomain
- Brevo::Cart
- Brevo::CompaniesIdPatchRequest
- Brevo::CompaniesLinkUnlinkIdPatchRequest
- Brevo::CompaniesList
- Brevo::CompaniesPost200Response
- Brevo::CompaniesPostRequest
- Brevo::Company
- Brevo::CompanyAttributesInner
- Brevo::ComponentItems
- Brevo::Configuration
- Brevo::ConversationsAgentOnlinePingPostRequest
- Brevo::ConversationsMessage
- Brevo::ConversationsMessageFile
- Brevo::ConversationsMessageFileImageInfo
- Brevo::ConversationsMessagesIdPutRequest
- Brevo::ConversationsMessagesPostRequest
- Brevo::ConversationsPushedMessagesPostRequest
- Brevo::ConversionSourceMetrics
- Brevo::ConversionSourceProduct
- Brevo::CorporateGroupDetailsResponse
- Brevo::CorporateGroupDetailsResponseGroup
- Brevo::CorporateGroupDetailsResponseSubAccountsInner
- Brevo::CorporateGroupDetailsResponseUsersInner
- Brevo::CorporateGroupIdPutRequest
- Brevo::CorporateGroupPost201Response
- Brevo::CorporateGroupPostRequest
- Brevo::CorporateGroupUnlinkGroupIdSubAccountsPutRequest
- Brevo::CorporateSsoTokenPostRequest
- Brevo::CorporateSubAccountIpAssociatePostRequest
- Brevo::CorporateSubAccountIpDissociateDeleteRequest
- Brevo::CorporateSubAccountKeyPostRequest
- Brevo::CorporateSubAccountSsoTokenPostRequest
- Brevo::CorporateUserInvitationActionEmailPut200Response
- Brevo::CreateApiKeyResponse
- Brevo::CreateAttribute
- Brevo::CreateAttributeEnumerationInner
- Brevo::CreateCategoryModel
- Brevo::CreateChild
- Brevo::CreateContact
- Brevo::CreateCouponCollection201Response
- Brevo::CreateCouponCollectionRequest
- Brevo::CreateCouponsRequest
- Brevo::CreateDoiContact
- Brevo::CreateDomain
- Brevo::CreateDomainModel
- Brevo::CreateDomainModelDnsRecords
- Brevo::CreateDomainModelDnsRecordsDkimRecord
- Brevo::CreateEmailCampaign
- Brevo::CreateEmailCampaignRecipients
- Brevo::CreateEmailCampaignSender
- Brevo::CreateExternalFeed
- Brevo::CreateExternalFeed201Response
- Brevo::CreateList
- Brevo::CreateModel
- Brevo::CreatePaymentRequest
- Brevo::CreatePaymentResponse
- Brevo::CreateProductModel
- Brevo::CreateReseller
- Brevo::CreateSender
- Brevo::CreateSenderIpsInner
- Brevo::CreateSenderModel
- Brevo::CreateSmsCampaign
- Brevo::CreateSmsCampaignRecipients
- Brevo::CreateSmtpEmail
- Brevo::CreateSmtpTemplate
- Brevo::CreateSmtpTemplateSender
- Brevo::CreateSubAccount
- Brevo::CreateSubAccountResponse
- Brevo::CreateUpdateBatchCategory
- Brevo::CreateUpdateBatchCategoryModel
- Brevo::CreateUpdateBatchProducts
- Brevo::CreateUpdateBatchProductsModel
- Brevo::CreateUpdateCategories
- Brevo::CreateUpdateCategory
- Brevo::CreateUpdateContactModel
- Brevo::CreateUpdateFolder
- Brevo::CreateUpdateProduct
- Brevo::CreateUpdateProducts
- Brevo::CreateWebhook
- Brevo::CreateWhatsAppCampaign
- Brevo::CreateWhatsAppCampaignRecipients
- Brevo::CreateWhatsAppTemplate
- Brevo::CreatedBatchId
- Brevo::CreatedProcessId
- Brevo::CrmDealsIdPatchRequest
- Brevo::CrmDealsLinkUnlinkIdPatchRequest
- Brevo::CrmDealsPost201Response
- Brevo::CrmDealsPostRequest
- Brevo::CrmTasksIdPatchRequest
- Brevo::CrmTasksPost201Response
- Brevo::CrmTasksPostRequest
- Brevo::Deal
- Brevo::DealAttributesInner
- Brevo::DealsList
- Brevo::DeleteHardbounces
- Brevo::EcommerceAttributionMetricsConversionSourceConversionSourceIdGet200Response
- Brevo::EcommerceAttributionMetricsGet200Response
- Brevo::EcommerceAttributionMetricsGet200ResponseTotals
- Brevo::EcommerceAttributionProductsConversionSourceConversionSourceIdGet200Response
- Brevo::EmailExportRecipients
- Brevo::ErrorModel
- Brevo::Event
- Brevo::EventContactPropertiesValue
- Brevo::EventEventPropertiesValue
- Brevo::EventIdentifiers
- Brevo::ExportWebhooksHistory
- Brevo::ExportWebhooksHistoryRequest
- Brevo::FileData
- Brevo::FileDownloadableLink
- Brevo::GetAccount
- Brevo::GetAccountActivity
- Brevo::GetAccountActivityLogsInner
- Brevo::GetAccountAllOfMarketingAutomation
- Brevo::GetAccountAllOfPlan
- Brevo::GetAccountAllOfRelay
- Brevo::GetAccountAllOfRelayData
- Brevo::GetAggregatedReport
- Brevo::GetAllExternalFeeds
- Brevo::GetAllExternalFeedsFeedsInner
- Brevo::GetAttributes
- Brevo::GetAttributesAttributesInner
- Brevo::GetAttributesAttributesInnerEnumerationInner
- Brevo::GetBlockedDomains
- Brevo::GetCampaignOverview
- Brevo::GetCampaignRecipients
- Brevo::GetCampaignStats
- Brevo::GetCategories
- Brevo::GetCategoryDetails
- Brevo::GetChildAccountCreationStatus
- Brevo::GetChildDomain
- Brevo::GetChildInfo
- Brevo::GetChildInfoAllOfApiKeys
- Brevo::GetChildInfoAllOfApiKeysV2
- Brevo::GetChildInfoAllOfApiKeysV3
- Brevo::GetChildInfoAllOfCredits
- Brevo::GetChildInfoAllOfStatistics
- Brevo::GetChildrenList
- Brevo::GetChildrenListChildrenInner
- Brevo::GetClient
- Brevo::GetContactCampaignStats
- Brevo::GetContactCampaignStatsClickedInner
- Brevo::GetContactCampaignStatsOpenedInner
- Brevo::GetContactCampaignStatsTransacAttributesInner
- Brevo::GetContactCampaignStatsUnsubscriptions
- Brevo::GetContactDetails
- Brevo::GetContactInfoIdentifierParameter
- Brevo::GetContacts
- Brevo::GetCorporateInvitedUsersList
- Brevo::GetCorporateInvitedUsersListUsersInner
- Brevo::GetCorporateInvitedUsersListUsersInnerFeatureAccess
- Brevo::GetCorporateInvitedUsersListUsersInnerGroups
- Brevo::GetCorporateUserPermission
- Brevo::GetCorporateUserPermissionFeatureAccess
- Brevo::GetCorporateUserPermissionGroupsInner
- Brevo::GetCouponCollection
- Brevo::GetDeviceBrowserStats
- Brevo::GetDomainConfigurationModel
- Brevo::GetDomainsList
- Brevo::GetDomainsListDomainsInner
- Brevo::GetEmailCampaign
- Brevo::GetEmailCampaigns
- Brevo::GetEmailCampaignsCampaignsInner
- Brevo::GetEmailEventReport
- Brevo::GetEmailEventReportEventsInner
- Brevo::GetExtendedCampaignOverview
- Brevo::GetExtendedCampaignOverviewAllOfSender
- Brevo::GetExtendedCampaignStats
- Brevo::GetExtendedClient
- Brevo::GetExtendedClientAllOfAddress
- Brevo::GetExtendedContactDetails
- Brevo::GetExtendedContactDetailsAllOfStatistics
- Brevo::GetExtendedContactDetailsAllOfStatisticsClicked
- Brevo::GetExtendedContactDetailsAllOfStatisticsLinks
- Brevo::GetExtendedContactDetailsAllOfStatisticsMessagesSent
- Brevo::GetExtendedContactDetailsAllOfStatisticsOpened
- Brevo::GetExtendedContactDetailsAllOfStatisticsUnsubscriptions
- Brevo::GetExtendedContactDetailsAllOfStatisticsUnsubscriptionsAdminUnsubscription
- Brevo::GetExtendedContactDetailsAllOfStatisticsUnsubscriptionsUserUnsubscription
- Brevo::GetExtendedList
- Brevo::GetExtendedListAllOfCampaignStats
- Brevo::GetExternalFeedByUUID
- Brevo::GetExternalFeedByUUIDHeadersInner
- Brevo::GetFolder
- Brevo::GetFolderLists
- Brevo::GetFolders
- Brevo::GetInboundEmailEvents
- Brevo::GetInboundEmailEventsByUuid
- Brevo::GetInboundEmailEventsByUuidAttachmentsInner
- Brevo::GetInboundEmailEventsByUuidLogsInner
- Brevo::GetInboundEmailEventsEventsInner
- Brevo::GetInvitedUsersList
- Brevo::GetInvitedUsersListUsersInner
- Brevo::GetInvitedUsersListUsersInnerFeatureAccess
- Brevo::GetIp
- Brevo::GetIpFromSender
- Brevo::GetIps
- Brevo::GetIpsFromSender
- Brevo::GetList
- Brevo::GetLists
- Brevo::GetListsListsInner
- Brevo::GetPaymentRequest
- Brevo::GetProcess
- Brevo::GetProcesses
- Brevo::GetProductDetails
- Brevo::GetProducts
- Brevo::GetReports
- Brevo::GetReportsReportsInner
- Brevo::GetScheduledEmailByBatchId
- Brevo::GetScheduledEmailByBatchIdBatchesInner
- Brevo::GetScheduledEmailById200Response
- Brevo::GetScheduledEmailByMessageId
- Brevo::GetSegments
- Brevo::GetSendersList
- Brevo::GetSendersListSendersInner
- Brevo::GetSendersListSendersInnerIpsInner
- Brevo::GetSharedTemplateUrl
- Brevo::GetSmsCampaign
- Brevo::GetSmsCampaignOverview
- Brevo::GetSmsCampaignStats
- Brevo::GetSmsCampaigns
- Brevo::GetSmsCampaignsCampaignsInner
- Brevo::GetSmsEventReport
- Brevo::GetSmsEventReportEventsInner
- Brevo::GetSmtpTemplateOverview
- Brevo::GetSmtpTemplateOverviewSender
- Brevo::GetSmtpTemplates
- Brevo::GetSsoToken
- Brevo::GetStatsByDevice
- Brevo::GetSubAccountGroups200ResponseInner
- Brevo::GetTransacAggregatedSmsReport
- Brevo::GetTransacBlockedContacts
- Brevo::GetTransacBlockedContactsContactsInner
- Brevo::GetTransacBlockedContactsContactsInnerReason
- Brevo::GetTransacEmailContent
- Brevo::GetTransacEmailContentEventsInner
- Brevo::GetTransacEmailsList
- Brevo::GetTransacEmailsListTransactionalEmailsInner
- Brevo::GetTransacSmsReport
- Brevo::GetTransacSmsReportReportsInner
- Brevo::GetUserPermission
- Brevo::GetUserPermissionPrivilegesInner
- Brevo::GetWebhook
- Brevo::GetWebhooks
- Brevo::GetWhatsAppConfig
- Brevo::GetWhatsappCampaignOverview
- Brevo::GetWhatsappCampaigns
- Brevo::GetWhatsappCampaignsCampaignsInner
- Brevo::GetWhatsappEventReport
- Brevo::GetWhatsappEventReportEventsInner
- Brevo::GetWhatsappTemplates
- Brevo::GetWhatsappTemplatesTemplatesInner
- Brevo::InviteAdminUser
- Brevo::InviteAdminUserPrivilegesInner
- Brevo::Inviteuser
- Brevo::InviteuserPrivilegesInner
- Brevo::InviteuserResponse
- Brevo::ManageIp
- Brevo::MasterDetailsResponse
- Brevo::MasterDetailsResponseBillingInfo
- Brevo::MasterDetailsResponseBillingInfoAddress
- Brevo::MasterDetailsResponseBillingInfoName
- Brevo::MasterDetailsResponsePlanInfo
- Brevo::MasterDetailsResponsePlanInfoFeaturesInner
- Brevo::Note
- Brevo::NoteData
- Brevo::NoteId
- Brevo::Notification
- Brevo::Order
- Brevo::OrderBatch
- Brevo::OrderBilling
- Brevo::OrderProductsInner
- Brevo::Otp
- Brevo::Pipeline
- Brevo::PipelineStage
- Brevo::PostContactInfo
- Brevo::PostContactInfoContacts
- Brevo::PostContactInfoContactsFailure
- Brevo::PostContactInfoContactsSuccess
- Brevo::PostSendFailed
- Brevo::PostSendSmsTestFailed
- Brevo::PutRevokeUserPermission
- Brevo::PutRevokeUserPermissionResponse
- Brevo::Putresendcancelinvitation
- Brevo::PutresendcancelinvitationResponse
- Brevo::RemainingCreditModel
- Brevo::RemainingCreditModelChild
- Brevo::RemainingCreditModelReseller
- Brevo::RemoveContactFromListByAll
- Brevo::RemoveContactFromListByEmails
- Brevo::RemoveContactFromListByIDs
- Brevo::RemoveContactFromListRequest
- Brevo::RemoveCredits
- Brevo::RequestContactExport
- Brevo::RequestContactExportCustomContactFilter
- Brevo::RequestContactImport
- Brevo::RequestContactImportJsonBodyInner
- Brevo::RequestContactImportNewList
- Brevo::RequestSmsRecipientExport
- Brevo::ScheduleSmtpEmail
- Brevo::SendReport
- Brevo::SendReportEmail
- Brevo::SendSms
- Brevo::SendSmtpEmail
- Brevo::SendSmtpEmailAttachmentInner
- Brevo::SendSmtpEmailBccInner
- Brevo::SendSmtpEmailCcInner
- Brevo::SendSmtpEmailMessageVersionsInner
- Brevo::SendSmtpEmailReplyTo
- Brevo::SendSmtpEmailSender
- Brevo::SendSmtpEmailToInner
- Brevo::SendTestEmail
- Brevo::SendTestSms
- Brevo::SendTransacSms
- Brevo::SendWhatsappMessage201Response
- Brevo::SendWhatsappMessageRequest
- Brevo::SendWhatsappMessageTemplate
- Brevo::SendWhatsappMessageText
- Brevo::SubAccountAppsToggleRequest
- Brevo::SubAccountDetailsResponse
- Brevo::SubAccountDetailsResponseGroupsInner
- Brevo::SubAccountDetailsResponsePlanInfo
- Brevo::SubAccountDetailsResponsePlanInfoCredits
- Brevo::SubAccountDetailsResponsePlanInfoCreditsEmails
- Brevo::SubAccountDetailsResponsePlanInfoCreditsSms
- Brevo::SubAccountDetailsResponsePlanInfoCreditsWpSubscribers
- Brevo::SubAccountDetailsResponsePlanInfoFeatures
- Brevo::SubAccountDetailsResponsePlanInfoFeaturesInbox
- Brevo::SubAccountDetailsResponsePlanInfoFeaturesLandingPage
- Brevo::SubAccountDetailsResponsePlanInfoFeaturesUsers
- Brevo::SubAccountUpdatePlanRequest
- Brevo::SubAccountUpdatePlanRequestCredits
- Brevo::SubAccountUpdatePlanRequestFeatures
- Brevo::SubAccountsResponse
- Brevo::SubAccountsResponseSubAccountsInner
- Brevo::SubAccountsResponseSubAccountsInnerGroupsInner
- Brevo::Task
- Brevo::TaskList
- Brevo::TaskReminder
- Brevo::TaskTypes
- Brevo::UpdateAttribute
- Brevo::UpdateAttributeEnumerationInner
- Brevo::UpdateBatchContacts
- Brevo::UpdateBatchContactsContactsInner
- Brevo::UpdateBatchContactsModel
- Brevo::UpdateCampaignStatus
- Brevo::UpdateChild
- Brevo::UpdateChildAccountStatus
- Brevo::UpdateChildDomain
- Brevo::UpdateContact
- Brevo::UpdateCouponCollection200Response
- Brevo::UpdateCouponCollectionRequest
- Brevo::UpdateEmailCampaign
- Brevo::UpdateEmailCampaignRecipients
- Brevo::UpdateEmailCampaignSender
- Brevo::UpdateExternalFeed
- Brevo::UpdateList
- Brevo::UpdateSender
- Brevo::UpdateSmsCampaign
- Brevo::UpdateSmtpTemplate
- Brevo::UpdateSmtpTemplateSender
- Brevo::UpdateUserResponse
- Brevo::UpdateWebhook
- Brevo::UpdateWhatsAppCampaign
- Brevo::UploadImageModel
- Brevo::UploadImageToGallery
- Brevo::VariablesItems
- Brevo::WhatsappCampStats
- Brevo::WhatsappCampTemplate
Authentication schemes defined for the API:
- Type: API key
- API key parameter name: api-key
- Location: HTTP header