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

# Create a contact

> Requires both `phone_number` and `email`.



## OpenAPI

````yaml /openapi/integrations.json post /integrations/contacts
openapi: 3.1.0
info:
  title: Vendschat Integration API
  version: '1.0'
  description: >
    Workspace API for Zapier, Make, n8n, and custom HTTP clients.

    Authenticate with a Growth+ integration API key. Keys only authorize
    `/v1/integrations/*`.
  contact:
    name: Vendschat
    url: https://vendschat.com
servers:
  - url: https://api.vendschat.com/v1
    description: Production
security:
  - bearerAuth: []
  - apiKeyAuth: []
tags:
  - name: Auth
    description: Verify API keys and workspace entitlements
  - name: Messages
    description: Channels, templates, and outbound sends
  - name: Contacts
    description: Lookup and manage contacts
  - name: Labels
    description: Workspace labels
  - name: Webhooks
    description: REST Hook subscribe lifecycle for Zapier, Make, and n8n
  - name: Platform helpers
    description: >-
      Dynamic form helpers for Zapier/Make connectors — prefer Messages send for
      custom HTTP
paths:
  /integrations/contacts:
    post:
      tags:
        - Contacts
      summary: Create a contact
      description: Requires both `phone_number` and `email`.
      operationId: createIntegrationContact
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateContactRequest'
            example:
              name: Alex Rivera
              phone_number: '+15551234567'
              email: alex@example.com
              note: Wholesale lead from Make
      responses:
        '201':
          description: Contact created or existing match returned
          content:
            application/json:
              schema:
                type: object
                required:
                  - contact
                  - created
                properties:
                  contact:
                    $ref: '#/components/schemas/Contact'
                  created:
                    type: boolean
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  schemas:
    CreateContactRequest:
      type: object
      required:
        - phone_number
        - email
      properties:
        name:
          type: string
          nullable: true
        phone_number:
          type: string
        email:
          type: string
        note:
          type: string
          nullable: true
        country:
          type: string
          nullable: true
        language:
          type: string
          nullable: true
        custom_fields:
          type: object
          additionalProperties: true
    Contact:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
          nullable: true
        phone_number:
          type: string
          nullable: true
        email:
          type: string
          nullable: true
        note:
          type: string
          nullable: true
        country:
          type: string
          nullable: true
        language:
          type: string
          nullable: true
        avatar_url:
          type: string
          nullable: true
        custom_fields:
          type: object
          additionalProperties: true
        labels:
          type: array
          items:
            $ref: '#/components/schemas/Label'
        created_at:
          type: string
          nullable: true
        updated_at:
          type: string
          nullable: true
        last_contacted_at:
          type: string
          nullable: true
    Label:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
        color:
          type: string
          nullable: true
        emoji:
          type: string
          nullable: true
    Error:
      type: object
      properties:
        success:
          type: boolean
          example: false
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
  responses:
    BadRequest:
      description: Invalid request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key
      description: '`Authorization: Bearer YOUR_API_KEY`'
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: Alternative to Bearer auth

````

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