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

# Create a contact and conversation

> Creates (or reuses) a contact by email and opens a conversation on an API-deliverable channel (`email` or `web`), optionally sending a first message. WhatsApp/Instagram contacts are created only when the customer first messages in, so they cannot be created here.

Rate limit: 30 requests per minute.



## OpenAPI

````yaml /api-reference/openapi.json post /api/v1/conversations
openapi: 3.1.0
info:
  title: Adraa Inbox API
  description: >-
    Public REST API for Adraa Inbox. Assign agents to conversations and send
    messages from your own systems. Authenticate every request with a workspace
    API token.
  version: 1.0.0
  contact:
    email: support@adraa.ai
servers:
  - url: https://api.inbox.adraa.ai
    description: Production
security:
  - apiToken: []
paths:
  /api/v1/conversations:
    post:
      summary: Create a contact and conversation
      description: >-
        Creates (or reuses) a contact by email and opens a conversation on an
        API-deliverable channel (`email` or `web`), optionally sending a first
        message. WhatsApp/Instagram contacts are created only when the customer
        first messages in, so they cannot be created here.


        Rate limit: 30 requests per minute.
      operationId: createConversation
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - email
              properties:
                email:
                  type: string
                  format: email
                  example: jane@example.com
                name:
                  type: string
                  example: Jane Doe
                channel:
                  type: string
                  enum:
                    - email
                    - web
                  default: email
                message:
                  type: string
                  maxLength: 2000
                  description: >-
                    Optional first message sent right after the conversation
                    opens.
      responses:
        '201':
          description: Conversation created or reused
          content:
            application/json:
              schema:
                type: object
                properties:
                  created:
                    type: boolean
                    example: true
                  conversation:
                    type: object
                    properties:
                      id:
                        type: string
                      channel:
                        type: string
                        example: email
                      status:
                        type: string
                        example: open
                      createdAt:
                        type: string
                        format: date-time
                  contact:
                    type: object
                    properties:
                      id:
                        type: string
                      name:
                        type: string
                      email:
                        type: string
                  message:
                    type: object
                    nullable: true
                    description: The first message, if one was sent.
components:
  securitySchemes:
    apiToken:
      type: http
      scheme: bearer
      description: >-
        Workspace API token created in Settings → API. Tokens start with
        `adraa_`.

````