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

# Update CRM Contact

> Updates a CRM contact's status and optional contact/deal details.



## OpenAPI

````yaml PATCH /api/v2/crm/contacts/{contact_id}
openapi: 3.1.0
info:
  title: CRM API
  description: >-
    Create CRM lists, add creators, check creator membership, and update CRM
    contacts. CRM API calls are free but require an active TopYappers
    subscription.
  version: 2.0.0
servers:
  - url: https://api.topyappers.com
security:
  - apiKeyAuth: []
paths:
  /api/v2/crm/contacts/{contact_id}:
    patch:
      tags:
        - CRM Contacts
      summary: Update CRM contact
      description: Updates a CRM contact's status and optional contact/deal details.
      parameters:
        - $ref: '#/components/parameters/ContactId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateCrmContactRequest'
            example:
              status: OUTREACHED
              notes: Sent first message
              contactEmail: creator@example.com
      responses:
        '200':
          description: CRM contact updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CrmContactResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '403':
          $ref: '#/components/responses/AuthError'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimitError'
components:
  parameters:
    ContactId:
      name: contact_id
      in: path
      required: true
      description: CRM contact ID.
      schema:
        type: string
  schemas:
    UpdateCrmContactRequest:
      type: object
      properties:
        status:
          $ref: '#/components/schemas/CrmStatus'
        notes:
          type: string
          nullable: true
        agreedRate:
          type: number
          nullable: true
          minimum: 0
        contactEmail:
          type: string
          nullable: true
        contentDeliverables:
          type: string
          nullable: true
      required:
        - status
    CrmContactResponse:
      type: object
      properties:
        message:
          type: string
          example: OK
        response:
          $ref: '#/components/schemas/CrmContact'
    CrmStatus:
      type: string
      enum:
        - TO_OUTREACH
        - OUTREACHED
        - NEGOTIATING
        - WORKING
        - DONE
        - CANCELLED
    CrmContact:
      type: object
      properties:
        id:
          type: string
        list_id:
          type: string
        user_id:
          type: string
        status:
          $ref: '#/components/schemas/CrmStatus'
        contact_email:
          type: string
          nullable: true
        handle:
          type: string
          nullable: true
        first_contact_date:
          type: string
          nullable: true
        last_contact_date:
          type: string
          nullable: true
        response_date:
          type: string
          nullable: true
        proposed_rate:
          type: number
          nullable: true
        agreed_rate:
          type: number
          nullable: true
        content_deliverables:
          type: string
          nullable: true
        notes:
          type: string
        active:
          type: boolean
        date_created:
          type: string
          nullable: true
        date_updated:
          type: string
          nullable: true
        influencer:
          type: object
          nullable: true
          additionalProperties: true
    ErrorResponse:
      type: object
      properties:
        detail:
          type: string
  responses:
    BadRequest:
      description: Invalid request.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    AuthError:
      description: >-
        Missing or invalid API key, inactive subscription, or inaccessible team
        scope.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    NotFound:
      description: CRM list or contact not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    RateLimitError:
      description: Too many requests. The response includes a `Retry-After` header.
      headers:
        Retry-After:
          description: Seconds to wait before retrying.
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-ty-api-key

````