> ## 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 contact

> Sends a contact card via WhatsApp



## OpenAPI

````yaml /api-reference/openapi.en.json post /api/v1/messages/send/contact
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/messages/send/contact:
    post:
      tags:
        - Messages
      summary: Send contact
      description: Sends a contact card via WhatsApp
      operationId: postApiV1MessagesSendContact
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                sessionId:
                  minLength: 1
                  type: string
                to:
                  minLength: 1
                  type: string
                contactName:
                  minLength: 1
                  type: string
                contactPhone:
                  minLength: 1
                  type: string
                contextInfo:
                  additionalProperties: true
                  description: >-
                    ContextInfo proto JSON. Supports mentions, replies
                    (quotedMessage), forwarding, ads, and other metadata.
                  example:
                    stanzaId: BAE5C3F2E3D4
                    participant: 5511999999999@s.whatsapp.net
                    remoteJid: 5511999999999@s.whatsapp.net
                    mentionedJid:
                      - 5511888888888@s.whatsapp.net
                    quotedMessage:
                      conversation: Original message
                  examples:
                    - stanzaId: BAE5C3F2E3D4
                      participant: 5511999999999@s.whatsapp.net
                      remoteJid: 5511999999999@s.whatsapp.net
                      mentionedJid:
                        - 5511888888888@s.whatsapp.net
                      quotedMessage:
                        conversation: Original message
                  type: object
                  properties:
                    stanzaId:
                      description: ID of the quoted message (reply).
                      type: string
                    participant:
                      description: JID of who SENT the quoted message.
                      type: string
                    remoteJid:
                      description: JID of the chat of the quoted message.
                      type: string
                    mentionedJid:
                      description: JIDs mentioned in the message.
                      type: array
                      items:
                        type: string
                    quotedMessage:
                      description: >-
                        Content of the quoted message (proto JSON), e.g. {
                        conversation: "..." }.
                      type: object
                      patternProperties:
                        ^(.*)$: {}
                mentionAll:
                  type: boolean
                async:
                  anyOf:
                    - type: boolean
                    - type: string
                sequential:
                  description: >-
                    With `async: true`, sends to THIS recipient go out one at a
                    time, in the order the API received them. Sends to other
                    recipients still run in parallel. This order is the order of
                    arrival at the backend: requests fired in parallel by the
                    client have no order to preserve — send them serially. There
                    is a limit on accumulated pending sends per recipient; when
                    it is exceeded the API responds 429 and the client should
                    retry later. Ignored without `async: true` and in Official
                    API sessions (`cloud_api`), where sending is always
                    synchronous.
                  anyOf:
                    - type: boolean
                    - type: string
              required:
                - sessionId
                - to
                - contactName
                - contactPhone
          multipart/form-data:
            schema:
              type: object
              properties:
                sessionId:
                  minLength: 1
                  type: string
                to:
                  minLength: 1
                  type: string
                contactName:
                  minLength: 1
                  type: string
                contactPhone:
                  minLength: 1
                  type: string
                contextInfo:
                  additionalProperties: true
                  description: >-
                    ContextInfo proto JSON. Supports mentions, replies
                    (quotedMessage), forwarding, ads, and other metadata.
                  example:
                    stanzaId: BAE5C3F2E3D4
                    participant: 5511999999999@s.whatsapp.net
                    remoteJid: 5511999999999@s.whatsapp.net
                    mentionedJid:
                      - 5511888888888@s.whatsapp.net
                    quotedMessage:
                      conversation: Original message
                  examples:
                    - stanzaId: BAE5C3F2E3D4
                      participant: 5511999999999@s.whatsapp.net
                      remoteJid: 5511999999999@s.whatsapp.net
                      mentionedJid:
                        - 5511888888888@s.whatsapp.net
                      quotedMessage:
                        conversation: Original message
                  type: object
                  properties:
                    stanzaId:
                      description: ID of the quoted message (reply).
                      type: string
                    participant:
                      description: JID of who SENT the quoted message.
                      type: string
                    remoteJid:
                      description: JID of the chat of the quoted message.
                      type: string
                    mentionedJid:
                      description: JIDs mentioned in the message.
                      type: array
                      items:
                        type: string
                    quotedMessage:
                      description: >-
                        Content of the quoted message (proto JSON), e.g. {
                        conversation: "..." }.
                      type: object
                      patternProperties:
                        ^(.*)$: {}
                mentionAll:
                  type: boolean
                async:
                  anyOf:
                    - type: boolean
                    - type: string
                sequential:
                  description: >-
                    With `async: true`, sends to THIS recipient go out one at a
                    time, in the order the API received them. Sends to other
                    recipients still run in parallel. This order is the order of
                    arrival at the backend: requests fired in parallel by the
                    client have no order to preserve — send them serially. There
                    is a limit on accumulated pending sends per recipient; when
                    it is exceeded the API responds 429 and the client should
                    retry later. Ignored without `async: true` and in Official
                    API sessions (`cloud_api`), where sending is always
                    synchronous.
                  anyOf:
                    - type: boolean
                    - type: string
              required:
                - sessionId
                - to
                - contactName
                - contactPhone
          text/plain:
            schema:
              type: object
              properties:
                sessionId:
                  minLength: 1
                  type: string
                to:
                  minLength: 1
                  type: string
                contactName:
                  minLength: 1
                  type: string
                contactPhone:
                  minLength: 1
                  type: string
                contextInfo:
                  additionalProperties: true
                  description: >-
                    ContextInfo proto JSON. Supports mentions, replies
                    (quotedMessage), forwarding, ads, and other metadata.
                  example:
                    stanzaId: BAE5C3F2E3D4
                    participant: 5511999999999@s.whatsapp.net
                    remoteJid: 5511999999999@s.whatsapp.net
                    mentionedJid:
                      - 5511888888888@s.whatsapp.net
                    quotedMessage:
                      conversation: Original message
                  examples:
                    - stanzaId: BAE5C3F2E3D4
                      participant: 5511999999999@s.whatsapp.net
                      remoteJid: 5511999999999@s.whatsapp.net
                      mentionedJid:
                        - 5511888888888@s.whatsapp.net
                      quotedMessage:
                        conversation: Original message
                  type: object
                  properties:
                    stanzaId:
                      description: ID of the quoted message (reply).
                      type: string
                    participant:
                      description: JID of who SENT the quoted message.
                      type: string
                    remoteJid:
                      description: JID of the chat of the quoted message.
                      type: string
                    mentionedJid:
                      description: JIDs mentioned in the message.
                      type: array
                      items:
                        type: string
                    quotedMessage:
                      description: >-
                        Content of the quoted message (proto JSON), e.g. {
                        conversation: "..." }.
                      type: object
                      patternProperties:
                        ^(.*)$: {}
                mentionAll:
                  type: boolean
                async:
                  anyOf:
                    - type: boolean
                    - type: string
                sequential:
                  description: >-
                    With `async: true`, sends to THIS recipient go out one at a
                    time, in the order the API received them. Sends to other
                    recipients still run in parallel. This order is the order of
                    arrival at the backend: requests fired in parallel by the
                    client have no order to preserve — send them serially. There
                    is a limit on accumulated pending sends per recipient; when
                    it is exceeded the API responds 429 and the client should
                    retry later. Ignored without `async: true` and in Official
                    API sessions (`cloud_api`), where sending is always
                    synchronous.
                  anyOf:
                    - type: boolean
                    - type: string
              required:
                - sessionId
                - to
                - contactName
                - contactPhone
      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.