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

# Update a contact



## OpenAPI

````yaml /openapi/integrations.json patch /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:
    patch:
      tags:
        - Contacts
      summary: Update a contact
      operationId: updateIntegrationContact
      requestBody:
        required: true
        content:
          application/json:
            schema:
              allOf:
                - $ref: '#/components/schemas/ContactIdentifier'
                - type: object
                  properties:
                    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
                    custom_fields:
                      type: object
                      additionalProperties: true
      responses:
        '200':
          description: Updated contact
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  schemas:
    ContactIdentifier:
      type: object
      required:
        - identifier_type
        - identifier_value
      properties:
        identifier_type:
          type: string
          enum:
            - contact_id
            - email
            - phone_number
        identifier_value:
          type: string
    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'
    NotFound:
      description: Resource not found
      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.