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

# Set a contact's primary email and/or phone

> Sets which of the contact's known emails and phone numbers are its primary ones. Primaries are chosen by value: `primaryEmail` must be one of the addresses already on the contact and `primaryPhone` one of its phone numbers, written exactly as they appear on the list row (`emails[].email`, `phones[].phoneNumber`); a value the contact does not carry is rejected with 422 PRIMARY_VALUE_NOT_ON_CONTACT and nothing is changed. The call promotes an existing value and never adds a new one — enrich the contact to add addresses or numbers. Send either field or both; the response reports both primaries as they now stand. Free to call.

Errors:
- `404` `CONTACT_NOT_FOUND` — No contact with that id exists.
- `422` `PRIMARY_VALUE_NOT_ON_CONTACT` — The value is not one the contact already carries; `param` names which of primaryEmail / primaryPhone was rejected and nothing was changed.
- `422` `VALIDATION_FAILED` — The body failed validation, including a body with neither primaryEmail nor primaryPhone.
- `429` `RATE_LIMITED` — More than 120 requests per minute or 10,000 per day on the contacts bucket, which every /business/contacts endpoint shares; retry after Retry-After.
- `500` `UNEXPECTED_ERROR` — The request could not be completed; quote request_id to support.

Requires one of the following token scopes: contacts.



## OpenAPI

````yaml /openapi.json patch /business/contacts/{contactId}
openapi: 3.1.0
info:
  title: Fuse Business API
  version: 1.0.0
  description: >-
    External API for lists, campaigns, prospect search and contacts.
    Authenticate with your API token as HTTP Basic. All paths are under /api/v1.
servers:
  - url: https://api.tryfuse.ai/api/v1
    description: Production
security:
  - basicAuth: []
tags:
  - name: Lists
  - name: Custom columns
  - name: Smart columns
  - name: Exports
  - name: Campaigns
  - name: Knowledge hubs
  - name: Analytics
  - name: Website intent
  - name: Account
  - name: Prospect search
  - name: Campaign steps
  - name: Scheduled sends
  - name: Campaign templates
  - name: Agents
  - name: Research
  - name: Company search
  - name: Saved searches
  - name: Folders
  - name: Contacts
paths:
  /business/contacts/{contactId}:
    patch:
      tags:
        - Contacts
      summary: Set a contact's primary email and/or phone
      description: >-
        Sets which of the contact's known emails and phone numbers are its
        primary ones. Primaries are chosen by value: `primaryEmail` must be one
        of the addresses already on the contact and `primaryPhone` one of its
        phone numbers, written exactly as they appear on the list row
        (`emails[].email`, `phones[].phoneNumber`); a value the contact does not
        carry is rejected with 422 PRIMARY_VALUE_NOT_ON_CONTACT and nothing is
        changed. The call promotes an existing value and never adds a new one —
        enrich the contact to add addresses or numbers. Send either field or
        both; the response reports both primaries as they now stand. Free to
        call.


        Errors:

        - `404` `CONTACT_NOT_FOUND` — No contact with that id exists.

        - `422` `PRIMARY_VALUE_NOT_ON_CONTACT` — The value is not one the
        contact already carries; `param` names which of primaryEmail /
        primaryPhone was rejected and nothing was changed.

        - `422` `VALIDATION_FAILED` — The body failed validation, including a
        body with neither primaryEmail nor primaryPhone.

        - `429` `RATE_LIMITED` — More than 120 requests per minute or 10,000 per
        day on the contacts bucket, which every /business/contacts endpoint
        shares; retry after Retry-After.

        - `500` `UNEXPECTED_ERROR` — The request could not be completed; quote
        request_id to support.


        Requires one of the following token scopes: contacts.
      operationId: updateContact
      parameters:
        - name: contactId
          in: path
          required: true
          description: >-
            Id of the contact: the row id from GET
            /business/lists/{listId}/rows, or the contactId returned by POST
            /business/contacts/resolve.
          schema:
            type: string
            description: >-
              Id of the contact: the row id from GET
              /business/lists/{listId}/rows, or the contactId returned by POST
              /business/contacts/resolve.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                primaryEmail:
                  type: string
                  format: email
                  maxLength: 320
                  description: >-
                    Email address to make the contact's primary email (a valid
                    address, max 320 characters). It must be one of the emails
                    the contact already carries: this promotes an existing value
                    and never adds a new one.
                primaryPhone:
                  type: string
                  minLength: 3
                  maxLength: 32
                  description: >-
                    Phone number to make the contact's primary phone (3-32
                    characters, written exactly as it appears in the contact's
                    phones). It must be one of the phone numbers the contact
                    already carries: this promotes an existing value and never
                    adds a new one.
      responses:
        '200':
          description: Success
          headers:
            RateLimit-Limit:
              schema:
                type: integer
              description: Requests permitted in the current window.
            RateLimit-Remaining:
              schema:
                type: integer
              description: Requests remaining in the current window.
            RateLimit-Reset:
              schema:
                type: integer
              description: Seconds until the current window resets.
          content:
            application/json:
              schema:
                type: object
                required:
                  - contact
                properties:
                  contact:
                    type: object
                    required:
                      - id
                      - primaryEmail
                      - primaryPhone
                    properties:
                      id:
                        type: string
                        description: Id of the contact.
                      primaryEmail:
                        type:
                          - string
                          - 'null'
                        description: >-
                          The contact's primary email after the update; null
                          when it has none.
                      primaryPhone:
                        type:
                          - string
                          - 'null'
                        description: >-
                          The contact's primary phone after the update; null
                          when it has none.
              example:
                contact:
                  id: 68a1f2c89c41d20014b3e955
                  primaryEmail: ada@brightpay.com
                  primaryPhone: '+14155552671'
        '400':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - basicAuth: []
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            param:
              type:
                - string
                - 'null'
            doc_url:
              type:
                - string
                - 'null'
            request_id:
              type:
                - string
                - 'null'
          required:
            - code
            - message
      required:
        - error
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: >-
        Your API token (`af_…`) as the Basic-auth username, with an empty
        password.

````