# Update Contact

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /contacts/:
    put:
      summary: Update Contact
      deprecated: false
      description: >-
        ### Description :

        Contacts represent the data stored for the contacts that are available
        within your Beetexting account. This API helps update contact using
        "ContactRequestForApi" object in the request body. 
         
        ### URL : 

        https://connect.beetexting.com/prod/contacts/

        (While sending the request please make sure to append
        https://connect.beetexting.com/prod if the url in the cUrl command
        starts with /message ...)


        **Note : To add the OAuth2.0 Auth Token please see the section 'OAuth2.0
        For Beetexting' and 'Postman How-to for beetexting section'
      tags:
        - APIs/Contacts
      parameters:
        - name: x-api-key
          in: header
          description: ''
          required: true
          example: HvG7OZaxgz3raDMzX9CYp9105hV9VwDa6zrCS234
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                firstName:
                  type: string
                lastName:
                  type: string
                mobileNumber:
                  type: string
                blocked:
                  type: boolean
                optOutStatus:
                  type: boolean
                donotDisturb:
                  type: boolean
              required:
                - firstName
                - lastName
                - mobileNumber
                - blocked
                - optOutStatus
                - donotDisturb
              x-apidog-orders:
                - firstName
                - lastName
                - mobileNumber
                - blocked
                - optOutStatus
                - donotDisturb
            example:
              name: string
              firstName: string
              lastName: string
              mobileNumber: '+1772270660034'
              email: string
              notes:
                - string
              tags: '[tag1, tag2, tag3..]'
              blocked: false
              optOutStatus: false
              donotDisturb: false
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
                x-apidog-orders: []
              example:
                id: string
                firstName: string
                lastName: string
                name: string
                mobileNumber: '464281182464'
                notes:
                  - id: string
                    createdAgentName: string
                    message: string
                    creationDate: 0
                    lastUpdatedDate: 0
                    noteAssociatedType: CONTACT
                    contactId: string
                    agentId: string
                tags: '[tag1, tag2, tag3..]'
                email: string
                blocked: false
                optOutStatus: false
                donotDisturb: false
          headers: {}
          x-apidog-name: Success
      security:
        - oauth21: []
      x-apidog-folder: APIs/Contacts
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/1058487/apis/api-21020113-run
components:
  schemas: {}
  securitySchemes:
    oauth21:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: ''
          tokenUrl: ''
          refreshUrl: ''
          scopes: {}
          x-apidog:
            addTokenTo: header
            useTokenType: access_token
            queryParamKey: access_token
            headerPrefix: Bearer
            codeVerifier: ''
            challengeAlgorithm: S256
            authRequestParams: []
            tokenRequestParams: []
servers: []
security: []

```
