FYI 😊
Brevo gives 2 ways to connect. Let's not use the wrong one.
Easy Rule:
* Calling an endpoint or using an SDK use API key
* Filling in SMTP settings use SMTP key
API Key
Used with Brevo's REST API (v3). Your code calls endpoints directly, like sending a transactional email or managing contacts. The key goes in the api-key header. Use it when your code talks to Brevo's API or an official SDK.
SMTP Key
Used with Brevo's SMTP relay (
smtp-relay.brevo.com, port 587). Any app or library that sends mail over SMTP can use it. The username is your Brevo login email and the password is the SMTP key. Use it when your framework already has SMTP settings, such as Django or .NET's SmtpClient.