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

# Update a contact



## OpenAPI

````yaml /openapi.json patch /api/v1/contacts/{receiver_id}/
openapi: 3.0.3
info:
  title: ChatBridge Public API
  version: 1.0.0
  description: >-
    Customer-facing REST API for ChatBridge — contacts, conversations, messages,
    templates, team, catalogue, tickets, and WhatsApp Flows. Authenticate with a
    workspace API key: `Authorization: Bearer cb_...`. See
    https://github.com/algosmiths/whatschat/blob/main/public_api.md for the full
    scope/versioning reference.
servers:
  - url: https://api.algosmiths.com
    description: Production
security: []
paths:
  /api/v1/contacts/{receiver_id}/:
    patch:
      tags:
        - Contacts
      summary: Update a contact
      operationId: contacts_partial_update
      parameters:
        - in: path
          name: receiver_id
          schema:
            type: string
          required: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedReceiverUserUpdateRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedReceiverUserUpdateRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedReceiverUserUpdateRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReceiverUserUpdate'
          description: ''
      security:
        - ApiKeyAuth: []
        - tokenAuth: []
        - CookieAuth: []
components:
  schemas:
    PatchedReceiverUserUpdateRequest:
      type: object
      properties:
        email:
          nullable: true
          oneOf:
            - type: string
              format: email
              maxLength: 254
            - type: string
              maxLength: 0
        company:
          type: string
          nullable: true
          maxLength: 255
        notes:
          type: string
          nullable: true
        tags: {}
        conv_status:
          $ref: '#/components/schemas/ConvStatusEnum'
        priority:
          $ref: '#/components/schemas/PriorityEnum'
        assigned_member:
          type: integer
          nullable: true
        assigned_team_inbox:
          type: integer
          nullable: true
        calling_permission:
          type: boolean
    ReceiverUserUpdate:
      type: object
      properties:
        email:
          nullable: true
          oneOf:
            - type: string
              format: email
              maxLength: 254
            - type: string
              maxLength: 0
        company:
          type: string
          nullable: true
          maxLength: 255
        notes:
          type: string
          nullable: true
        tags: {}
        conv_status:
          $ref: '#/components/schemas/ConvStatusEnum'
        priority:
          $ref: '#/components/schemas/PriorityEnum'
        assigned_member:
          type: integer
          nullable: true
        assigned_team_inbox:
          type: integer
          nullable: true
        calling_permission:
          type: boolean
    ConvStatusEnum:
      enum:
        - open
        - resolved
        - pending
        - spam
        - converted
      type: string
      description: |-
        * `open` - Open
        * `resolved` - Resolved
        * `pending` - Pending
        * `spam` - Spam
        * `converted` - Converted
    PriorityEnum:
      enum:
        - low
        - normal
        - high
        - urgent
      type: string
      description: |-
        * `low` - Low
        * `normal` - Normal
        * `high` - High
        * `urgent` - Urgent
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: cb_...
      description: >-
        Workspace API key, e.g. `Authorization: Bearer cb_live_...`. Create one
        in Settings → API Keys. See public_api.md § 3 for scopes.
    tokenAuth:
      type: apiKey
      in: header
      name: Authorization
      description: Token-based authentication with required prefix "Token"
    CookieAuth:
      type: apiKey
      in: cookie
      name: token
      description: Dashboard session cookie — internal use only, not the public contract.

````