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

# Update Contact



## OpenAPI

````yaml /actionkit/openapi.json POST /projects/{project_id}/tools/#INTERCOM_UPDATE_CONTACT
openapi: 3.0.0
info:
  title: ActionKit Tools API
  version: 1.0.0
servers:
  - url: https://actionkit.useparagon.com
    description: US Cloud
security: []
paths:
  /projects/{project_id}/tools/#INTERCOM_UPDATE_CONTACT:
    post:
      summary: Update Contact
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            description: >-
              Your Paragon Project ID. You can copy your Project ID from your
              dashboard URL or by clicking Copy Project ID under the Environment
              switcher.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                tool:
                  type: string
                  default: INTERCOM_UPDATE_CONTACT
                parameters:
                  type: object
                  properties:
                    contactId:
                      type: string
                      description: 'Contact ID : The ID of the contact to update.'
                    role:
                      type: string
                      description: Role
                      enum:
                        - user
                        - lead
                    email:
                      type: string
                      description: 'Email (example: "name@example.com")'
                    name:
                      type: string
                      description: Name
                    externalId:
                      type: string
                      description: >-
                        External ID : A unique external identifier given to the
                        contact (e.g. from your app) (example: "25")
                    phone:
                      type: string
                      description: 'Phone (example: "+1123456789")'
                    avatar:
                      type: string
                      description: 'Avatar (example: "https://example.com/avatar.jpeg")'
                    signedUpDate:
                      type: string
                      description: >-
                        Signed up at : The time specified for when a contact
                        signed up (ISO or Unix timestamp). (example:
                        "2014-04-25T16:15:47-04:00")
                    lastSeenDate:
                      type: string
                      description: >-
                        Last seen at : The time when the contact was last seen
                        (ISO or Unix timestamp). (example:
                        "2014-04-25T16:15:47-04:00")
                    ownerId:
                      type: string
                      description: >-
                        The Intercom Admin that has been assigned account
                        ownership of the contact
                    unsubscribeFromEmail:
                      type: boolean
                      description: >-
                        Unsubscribed from emails : Whether the contact is
                        unsubscribed from emails.
                    customAttribute:
                      type: object
                      description: |-
                        Custom attributes (example: "{
                        "paid_subscriber": true,
                        "monthly_spend": 155.5,
                        "team_mates": 1
                        }")
                      properties: {}
                  required:
                    - contactId
                  x-integration: intercom
              required:
                - tool
                - parameters
      responses:
        '200':
          description: Success
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Your [Paragon User
        Token](/getting-started/installing-the-connect-sdk#setup) (JWT), which
        you can generate using your project's signing keys.

````