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

# Update client contact status

> Update a client contact's status. Pass a valid status UUID to change the status, or null to clear it.

**ID**: Accepts a client contact UUID or a person UUID — if a person UUID is provided, the associated client contact is resolved automatically.

**Status IDs**: Use GET /v1/client-contacts/statuses to discover available status IDs.



## OpenAPI

````yaml /api-reference/openapi-v1.json patch /v1/client-contacts/{id}
openapi: 3.1.0
info:
  title: Stardex API (v1)
  version: 1.0.0
  description: >-
    Stardex ATS API — manage candidates, jobs, companies, and recruiting
    workflows.
servers:
  - url: https://api.stardex.ai
    description: Production API server
security:
  - bearerAuth: []
tags:
  - name: Persons
    description: Manage person records — contacts, work history, and custom fields.
  - name: Jobs
    description: Manage job postings — pipeline stages, team members, and custom fields.
  - name: Candidates
    description: Manage candidate records and pipeline stage transitions.
  - name: Companies
    description: Browse and retrieve company records.
  - name: Lists
    description: Create, search, and retrieve saved person and company lists.
  - name: Person Activities
    description: Create and manage activity records (notes, emails, meetings) for persons.
  - name: Team Members
    description: List team members for use in search filters and assignments.
  - name: Custom Fields
    description: Retrieve custom field definitions and tag options for search filters.
paths:
  /v1/client-contacts/{id}:
    patch:
      tags:
        - Client Contacts
      summary: Update client contact status
      description: >-
        Update a client contact's status. Pass a valid status UUID to change the
        status, or null to clear it.


        **ID**: Accepts a client contact UUID or a person UUID — if a person
        UUID is provided, the associated client contact is resolved
        automatically.


        **Status IDs**: Use GET /v1/client-contacts/statuses to discover
        available status IDs.
      operationId: updateClientContact
      parameters:
        - in: path
          name: id
          required: true
          schema:
            type: string
            description: Client contact UUID or person UUID.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateClientContactRequest'
      responses:
        '200':
          description: Client contact updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateClientContactResponse'
              example:
                success: true
                data:
                  id: ab12cd34-ef56-7890-ab12-cd34ef567890
                  client_contact_status_id: 890e1234-f56a-78b9-c012-345678901234
                  message: Client contact status updated successfully
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - false
                    description: Always false for error responses.
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        description: >-
                          Machine-readable error code (e.g. "VALIDATION_ERROR",
                          "NOT_FOUND").
                      message:
                        type: string
                        description: Human-readable error description.
                    required:
                      - code
                      - message
                required:
                  - success
                  - error
        '404':
          description: Resource not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - false
                    description: Always false for error responses.
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        description: >-
                          Machine-readable error code (e.g. "VALIDATION_ERROR",
                          "NOT_FOUND").
                      message:
                        type: string
                        description: Human-readable error description.
                    required:
                      - code
                      - message
                required:
                  - success
                  - error
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - false
                    description: Always false for error responses.
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        description: >-
                          Machine-readable error code (e.g. "VALIDATION_ERROR",
                          "NOT_FOUND").
                      message:
                        type: string
                        description: Human-readable error description.
                    required:
                      - code
                      - message
                required:
                  - success
                  - error
components:
  schemas:
    UpdateClientContactRequest:
      type: object
      properties:
        client_contact_status_id:
          type:
            - string
            - 'null'
          format: uuid
          description: >-
            Client contact status UUID, or null to clear the status. Use GET
            /v1/client-contacts/statuses to get available status IDs.
      required:
        - client_contact_status_id
    UpdateClientContactResponse:
      type: object
      properties:
        success:
          type: boolean
          enum:
            - true
        data:
          type: object
          properties:
            id:
              type: string
              format: uuid
              description: Client contact UUID.
            client_contact_status_id:
              type:
                - string
                - 'null'
              format: uuid
              description: Updated client contact status UUID.
            message:
              type: string
              description: Confirmation message.
          required:
            - id
            - client_contact_status_id
            - message
      required:
        - success
        - data
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Authenticate with a Bearer token: API key, OAuth token, or session
        token.

````