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

# Modifier un contact

> Met à jour nom, email, tags, variables ou statut bloqué



## OpenAPI

````yaml api-reference/openapi.json PATCH /contacts/{jid}
openapi: 3.1.0
info:
  title: WaaConnect API
  description: >-
    API WhatsApp multi-sessions de WaaConnect. Toutes les routes de messagerie
    sont préfixées par /sessions/:sessionId/ et nécessitent le header x-api-key.
  version: 1.0.0
servers:
  - url: https://api.waaconnect.com/v1
security:
  - apiKey: []
paths:
  /contacts/{jid}:
    patch:
      tags:
        - Contacts
      summary: Modifier un contact
      parameters:
        - name: jid
          in: path
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                email:
                  type: string
                tags:
                  type: array
                  items:
                    type: string
                variables:
                  type: object
                isBlocked:
                  type: boolean
            example:
              name: Aicha Koné
              tags:
                - vip
                - client
                - fidele
              variables:
                commande: CMD-002
      responses:
        '200':
          description: Contact modifié
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key

````