Skip to content

Brevo API OpenAPI spec score

Octri scored the public spec at https://api.brevo.com/v3/swagger_definition_v3.yml for what a code generator can do with it. This is a reading of the document, not a grade of the API.

7.7/ 10
Mixed

315 operations · 72 models · 39 tags · OpenAPI 3.0.1

Scored 5 December 2026 · fingerprint 339d7d9d3a0d… · spec version 3.0.0 · server api.brevo.com

Document last changed 5 December 2026.

Where the points went

Every rule, heaviest first, with what it cost this document, how much of the surface it touched, and where. The rule id links to what that rule checks.

RuleWeightResultSurfaceLocations
Successful responses declare a schemaresponse-schema2.00.5 lost11 of 315 operationsGET /ordersPOST /ecommerce/activatePOST /smtp/deleteHardbouncesand 8 more
Shared models live in components and are $ref'dshared-schemas-referenced2.00.4 lost5 of 315 operationsmemory://audit/openapi.yaml#/paths/~1organization~1roles/postmemory://audit/openapi.yaml#/paths/~1organization~1roles/getmemory://audit/openapi.yaml#/paths/~1organization~1roles~1{roleId}/deleteand 2 more
Generated public names do not collideoperation-id-unique2.00.4 lost5 of 315 operationsGET /whatsappCampaigns/{campaignId}GET /emailCampaigns/{campaignId}GET /webhooks/{webhookId}and 2 more
Every path placeholder has a parameterpath-parameters-declared1.5Clean315 operations cleanNothing found
Every operation declares an operationIdoperation-id-present1.00.4 lost84 of 315 operationsPOST /corporate/groupDELETE /smtp/blockedContacts/{email}POST /conversations/pushedMessagesand 81 more
operationIds read as method namesoperation-id-naming1.0Clean315 operations cleanNothing found
Operations carry a summary or descriptionoperation-documented1.0Clean315 operations cleanNothing found
Request bodies are documentedrequest-body-documented1.00.2 lost11 of 315 operationsPUT /contacts/consent-groups/{id}POST /organization/rolesPOST /emailCampaigns/{campaignId}/sendTestand 8 more
Failure responses are declarederror-responses1.00.2 lost2 of 315 operationsGET /branding/social-iconsGET /branding/brand
Operations are taggedoperation-tagged1.0Clean315 operations cleanNothing found
No duplicate or equivalent pathsduplicate-paths1.0Clean224 paths cleanNothing found
Authentication is describedsecurity-declared1.0CleanDeclaredNothing found
Parameters explain their purposeparameters-documented0.750.17 lost10 of 315 operationsDELETE /crm/deals/{id}#path:idPATCH /companies/link-unlink/{id}#path:idGET /crm/deals/{id}#path:idand 7 more
A server URL is declaredserver-url0.5CleanDeclaredNothing found

Packaging, outside the score

Consider splitting generated packages by intentionally independent API groups.

What 7.7 means for an SDK

A mixed reading, and the three rules that decide most of it.

The client compiles and works. Callers will feel the soft spots: a few methods that return an untyped value, arguments with no hint on them, a namespace or two named after a path segment rather than a resource.

Three rules carry six of the 10 points between them. On this document they took 1.32.

−0.5

Successful responses declare a schema

11 of 315 operations

−0.4

Shared models live in components and are $ref'd

5 of 315 operations

−0.4

Generated public names do not collide

5 of 315 operations

What to change first

The 6 heaviest of 7 rules that deducted.

  1. 0.5 lost

    Successful responses declare a schema

    Give the success response a schema, or a $ref to one in components. A 204 needs nothing.

    Inside Octri this one has a one-click fix.

  2. 0.4 lost

    Shared models live in components and are $ref'd

    Move the shape into components.schemas once and $ref it from each operation that returns or accepts it.

  3. 0.4 lost

    Generated public names do not collide

    Rename the authored operationId, or set that operation's SDK namespace. The audit proposes one and can apply it; your tags and the wire operation are left alone.

    Inside Octri this one has a one-click fix.

  4. 0.4 lost

    Every operation declares an operationId

    Add an operationId. It pins the generated method name to something you control.

    Inside Octri this one has a one-click fix.

  5. 0.2 lost

    Request bodies are documented

    Describe the body, or the fields inside it. Field-level prose is the one that reaches the SDK's arguments.

    Inside Octri this one has a one-click fix.

  6. 0.2 lost

    Failure responses are declared

    Declare the failures you actually return, or one `default` response carrying your error shape.

Show this score on your docs

If you maintain this API, you can put the score next to your reference docs or in a README. The badge links back to this report and shows the same number it does.

Brevo API OpenAPI spec score: 7.7 out of 10, scored by Octri
HTML
<a href="https://octri.dev/openapi-audit/brevo"><img src="https://octri.dev/openapi-audit/brevo/badge.svg" alt="Brevo API OpenAPI spec score: 7.7 out of 10, scored by Octri" height="20"></a>
Markdown
[![Brevo API OpenAPI spec score: 7.7 out of 10, scored by Octri](https://octri.dev/openapi-audit/brevo/badge.svg)](https://octri.dev/openapi-audit/brevo)

The spec at api.brevo.com is public. Octri keeps the `info` block, the score, and up to five sample finding locations per rule. The document itself is not stored and is not served from here. The audit predicts what an SDK generator can do with the description; it is not a security review, an uptime measurement or a critique of the API’s design. This page is not affiliated with Brevo API or Brevo Support.