# Create or Update Contact 

## OpenAPI Specification

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

        Contacts represent the data stored for the contacts that are available
        within your Beetexting account. This API helps create or 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 /contacts/...)


        **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
                email:
                  type: string
                mobileNumber:
                  type: string
                companyName:
                  type: string
                tags:
                  type: array
                  items:
                    type: string
                notes:
                  type: array
                  items:
                    type: string
                status:
                  type: 'null'
                donotDisturb:
                  type: boolean
              required:
                - firstName
                - lastName
                - email
                - mobileNumber
                - companyName
                - tags
                - notes
                - status
                - donotDisturb
              x-apidog-orders:
                - firstName
                - lastName
                - email
                - mobileNumber
                - companyName
                - tags
                - notes
                - status
                - donotDisturb
            example:
              name: string
              firstName: string
              lastName: string
              mobileNumber: +9 8704321-994
              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: []
          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-21020111-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
            clientAuthentication: header
            useTokenConfigAsRefreshTokenConfig: true
            authRequestParams: []
            tokenRequestParams: []
servers: []
security: []

```
