> ## Documentation Index
> Fetch the complete documentation index at: https://docs.alcmeon.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Brevo - Send campaign

> Send a Simio campaign to a Brevo contact. Use this URL as the target of a webhook in a Brevo automation: Brevo posts the contact, and Simio sends the campaign to the phone number in its `SMS` attribute. Requires the Brevo connector to be connected in Simio. The send is queued and processed in the background. Rate limit: 1 request every 10 seconds.



## OpenAPI

````yaml post /api/brevo/send
openapi: 3.1.0
info:
  title: Simio API - brevo
  version: 2.0.0
servers:
  - url: https://getsimio.app
security: []
paths:
  /api/brevo/send:
    post:
      tags:
        - brevo
      summary: Brevo - Send campaign
      description: >-
        Send a Simio campaign to a Brevo contact. Use this URL as the target of
        a webhook in a Brevo automation: Brevo posts the contact, and Simio
        sends the campaign to the phone number in its `SMS` attribute. Requires
        the Brevo connector to be connected in Simio. The send is queued and
        processed in the background. Rate limit: 1 request every 10 seconds.
      operationId: send_campaign_api_brevo_send_post
      parameters:
        - description: ID of the Simio campaign to send.
          in: query
          name: campaign_id
          required: true
          schema:
            description: ID of the Simio campaign to send.
            examples:
              - 123
            title: Campaign Id
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BrevoSendRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorSendResponse'
          description: Successful Response
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Missing or invalid `simio-api-key`.
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Your company has no active subscription.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: The Brevo connector is not connected.
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RateLimitResponse'
          description: Rate limit exceeded.
      security:
        - SimioApiKey: []
components:
  schemas:
    BrevoSendRequest:
      properties:
        attributes:
          $ref: '#/components/schemas/BrevoContactAttributes'
          description: >-
            Contact attributes sent by the Brevo webhook. Only `SMS` is used;
            other attributes and top-level fields of the Brevo payload are
            accepted and ignored.
          examples:
            - SMS: '+33612345678'
      required:
        - attributes
      title: BrevoSendRequest
      type: object
    ConnectorSendResponse:
      properties:
        message:
          description: Human-readable confirmation.
          examples:
            - Campaign send enqueued
          title: Message
          type: string
        status:
          const: accepted
          description: >-
            Always `accepted`: the send is queued and processed in the
            background.
          examples:
            - accepted
          title: Status
          type: string
      required:
        - status
        - message
      title: ConnectorSendResponse
      type: object
    ErrorResponse:
      properties:
        detail:
          description: Human-readable error message.
          examples:
            - Invalid API key
          title: Detail
          type: string
      required:
        - detail
      title: ErrorResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    RateLimitResponse:
      properties:
        error:
          description: Rate limit that was exceeded.
          examples:
            - 'Rate limit exceeded: 10 per 1 second'
          title: Error
          type: string
      required:
        - error
      title: RateLimitResponse
      type: object
    BrevoContactAttributes:
      properties:
        SMS:
          description: Contact's mobile phone number, taken from the Brevo `SMS` attribute.
          examples:
            - '+33612345678'
          maxLength: 32
          minLength: 1
          title: Sms
          type: string
      required:
        - SMS
      title: BrevoContactAttributes
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    SimioApiKey:
      description: >-
        Company API key, created in Settings > Integrations & developers >
        Credentials.
      in: header
      name: simio-api-key
      type: apiKey

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.