Sendinblue has a REST API.
Key points:
Best practices:
While Sendinblue's primary API is REST-based, it's worth noting that they may offer additional integration options for specific use cases. However, the core public API that most developers would interact with is a RESTful API.
Yes, the official Sendinblue API does support webhooks.
You can subscribe to the following types of events for transactional emails:
You can set up webhooks through the Sendinblue dashboard or via API calls.
You need to provide a notification URL (webhook endpoint) where Sendinblue will send event data.
For each event type you want to track, you need to enable it when setting up the webhook.
The webhook payload will contain event-specific data, including:
Sendinblue provides IP ranges that you can whitelist to secure your webhook endpoint.
In summary, Sendinblue's API offers comprehensive webhook support for tracking various email-related events, allowing you to receive real-time notifications about the status and engagement of your transactional emails.
Here are the key points about the API rate limits for the Sendinblue (now Brevo) API:
Most endpoints have a limit of 100 requests per hour (RPH) [1]
The main transactional email endpoint (POST /v3/smtp/email) has a much higher limit of 3,600,000 RPH or 1,000 requests per second (RPS) [1]
The SMS endpoint (POST /v3/transactionalSMS/sms) has a limit of 540,000 RPH or 150 RPS [1]
The events endpoint (POST /v3/events) has a limit of 36,000 RPH or 10 RPS [1]
Endpoints under /v3/contacts/ have a limit of 36,000 RPH or 10 RPS [1]
Rate limits are enforced per API key [1]
Exceeding the limit results in a 429 HTTP error code [1][2]
Headers are provided to track remaining requests and reset time [1]
Enterprise plans can request further increased limits as an add-on [1]
The batch sending email endpoint was increased to 5 requests per minute, allowing up to 30,000 emails per hour [5]
Distribute requests evenly across the time period to avoid bursts [1]
Implement retry logic with exponential backoff for 429 errors [1]
Consider moving to a higher tier plan if consistently hitting limits [1]
Use webhooks for high-volume operations like fetching statistics [1]
The rate limits are designed to allow high throughput for critical operations like sending emails, while maintaining platform stability. Enterprise customers have significantly higher limits, with options for further increases if needed.
Based on the search results provided, here are the key points regarding the most recent version of the Sendinblue API:
The most recent version of the Sendinblue API is v3 [1].
Key points to consider:
Sendinblue has rebranded to Brevo, but the API is still referred to as Sendinblue API v3 in most documentation [3].
The API v2 was officially deprecated in December 2022 [3].
The latest version of the Java SDK is 7.0.0, released on April 27, 2023 [2].
The latest version of the Node.js SDK is 8.5.0, released on December 26, 2022 [4].
The API is accessed via HTTPS requests to the endpoint: https://api.brevo.com/v3/.
API requests must include the headers 'content-type: application/json' and 'api-key' [1].
Sendinblue provides SDKs for various programming languages including Java, PHP, Python, Ruby, Node.js, Go, and C# [1].
The API supports features such as transactional messaging (email, SMS, WhatsApp), contact management, and more [1].
In summary, the most recent version of the Sendinblue (now Brevo) API is v3, with the latest SDK versions being 7.0.0 for Java and 8.5.0 for Node.js. The API provides a wide range of functionality for managing contacts and sending transactional messages across various channels.
Here's how to get a developer account for Sendinblue to create an API integration:
Create a Sendinblue account:
Access your API key:
Generate an API key:
Use the API key for authentication:
Here's a basic example of how you might use the Sendinblue API key in a request using JavaScript and the axios library:
import axios from 'axios'; const apiKey = 'YOUR_API_KEY_HERE'; axios.get('https://api.sendinblue.com/v3/account', { headers: { 'api-key': apiKey, 'content-type': 'application/json' } }) .then(response => { console.log(response.data); }) .catch(error => { console.error('Error:', error); });
By following these steps, you'll be able to set up a developer account with Sendinblue and start creating your API integration.
Here are the key data models you can interact with using the Sendinblue API:
Contacts
Lists
Campaigns
Transactional Emails
SMS
Automation Workflows
Reports
Account
Webhooks
The API allows you to perform CRUD operations on most of these data models, as well as retrieve detailed information and statistics. You can manage contacts and lists, create and send campaigns, handle transactional communications, set up automation workflows, and access various reports and account details.