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

# Send carousel message

> Sends a carousel message with multiple cards (max 10 cards, 2 buttons per card) via WhatsApp. On the Official API: only within the 24h window. Requires body, 2 to 10 cards, all with an image or video header and the same type and number of buttons (one url or quick_reply). title and footer go into the body; the card footer goes into the card text (up to 160 characters).



## OpenAPI

````yaml /api-reference/openapi.en.json post /api/v1/interactive/send/carousel
openapi: 3.1.0
info:
  title: D-API - Complete WhatsApp Infrastructure
  description: >-
    A scalable, robust solution for automation managers, SaaS products and end
    users who need a reliable WhatsApp integration. It offers multiple
    simultaneous instances, real-time webhooks, an intuitive dashboard and a
    documented REST API with 99.9% uptime and latency under 30ms.
  version: 1.2.1
  contact:
    name: Suporte D-API
    email: suporte@d-api.cloud
    url: https://d-api.cloud
servers:
  - url: https://api.d-api.cloud
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Home
    description: Base endpoints
  - name: Sessions
    description: Endpoints for managing sessions
  - name: Messages
    description: Endpoints for sending messages
  - name: Cloud API
    description: >-
      WhatsApp Official API (Meta Cloud API): manual connection, template
      management (list/create/delete) and template sending.
  - name: IVR Calls
    description: 'Voice call dispatch (IVR): single or bulk, with audio or an IVR flow.'
  - name: SMS
    description: 'SMS sending: single or bulk.'
  - name: Commands
    description: >-
      Look up asynchronous commands (async: true) by the commandId returned when
      enqueued.
paths:
  /api/v1/interactive/send/carousel:
    post:
      tags:
        - Interactive Messages
      summary: Send carousel message
      description: >-
        Sends a carousel message with multiple cards (max 10 cards, 2 buttons
        per card) via WhatsApp. On the Official API: only within the 24h window.
        Requires body, 2 to 10 cards, all with an image or video header and the
        same type and number of buttons (one url or quick_reply). title and
        footer go into the body; the card footer goes into the card text (up to
        160 characters).
      operationId: postApiV1InteractiveSendCarousel
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                sessionId:
                  minLength: 1
                  type: string
                to:
                  minLength: 1
                  type: string
                body:
                  description: Text displayed above the carousel cards
                  type: string
                title:
                  description: Optional title header for the carousel
                  type: string
                footer:
                  description: Optional footer text for the carousel
                  type: string
                cards:
                  minItems: 1
                  maxItems: 10
                  type: array
                  items:
                    type: object
                    properties:
                      header:
                        type: object
                        properties:
                          type:
                            type: string
                          title:
                            type: string
                          media:
                            type: string
                        required:
                          - type
                          - media
                      body:
                        minLength: 1
                        type: string
                      footer:
                        type: string
                      buttons:
                        maxItems: 2
                        type: array
                        items:
                          type: object
                          properties:
                            type:
                              type: string
                            title:
                              type: string
                            id:
                              type: string
                            url:
                              type: string
                            phone:
                              type: string
                          required:
                            - type
                            - title
                    required:
                      - body
                mentionAll:
                  type: boolean
              required:
                - sessionId
                - to
                - cards
          multipart/form-data:
            schema:
              type: object
              properties:
                sessionId:
                  minLength: 1
                  type: string
                to:
                  minLength: 1
                  type: string
                body:
                  description: Text displayed above the carousel cards
                  type: string
                title:
                  description: Optional title header for the carousel
                  type: string
                footer:
                  description: Optional footer text for the carousel
                  type: string
                cards:
                  minItems: 1
                  maxItems: 10
                  type: array
                  items:
                    type: object
                    properties:
                      header:
                        type: object
                        properties:
                          type:
                            type: string
                          title:
                            type: string
                          media:
                            type: string
                        required:
                          - type
                          - media
                      body:
                        minLength: 1
                        type: string
                      footer:
                        type: string
                      buttons:
                        maxItems: 2
                        type: array
                        items:
                          type: object
                          properties:
                            type:
                              type: string
                            title:
                              type: string
                            id:
                              type: string
                            url:
                              type: string
                            phone:
                              type: string
                          required:
                            - type
                            - title
                    required:
                      - body
                mentionAll:
                  type: boolean
              required:
                - sessionId
                - to
                - cards
          text/plain:
            schema:
              type: object
              properties:
                sessionId:
                  minLength: 1
                  type: string
                to:
                  minLength: 1
                  type: string
                body:
                  description: Text displayed above the carousel cards
                  type: string
                title:
                  description: Optional title header for the carousel
                  type: string
                footer:
                  description: Optional footer text for the carousel
                  type: string
                cards:
                  minItems: 1
                  maxItems: 10
                  type: array
                  items:
                    type: object
                    properties:
                      header:
                        type: object
                        properties:
                          type:
                            type: string
                          title:
                            type: string
                          media:
                            type: string
                        required:
                          - type
                          - media
                      body:
                        minLength: 1
                        type: string
                      footer:
                        type: string
                      buttons:
                        maxItems: 2
                        type: array
                        items:
                          type: object
                          properties:
                            type:
                              type: string
                            title:
                              type: string
                            id:
                              type: string
                            url:
                              type: string
                            phone:
                              type: string
                          required:
                            - type
                            - title
                    required:
                      - body
                mentionAll:
                  type: boolean
              required:
                - sessionId
                - to
                - cards
      responses:
        '200':
          description: Successful response
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: 'API Key for authentication. Format: <API_KEY>'

````

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