Zoho Contact API

The Contact API from Zoho — 23 operation(s) for contact.

Documentation

Specifications

Code Examples

Other Resources

OpenAPI Specification

zoho-contact-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Helpcenter Contact API
  version: 1.0.0
tags:
- name: Contact
paths:
  /api/v1/products/{productId}/contacts:
    get:
      tags:
      - Contact
      summary: List contacts associated with product
      description: This API lists the contacts associated with a product.
      operationId: getContactsUnderProduct
      parameters:
      - name: include
        in: query
        description: Key that fetches secondary information related to the contact.Value allowed is @accounts@
        required: false
        style: simple
        explode: true
        schema:
          type:
          - 'null'
          - array
          description: Key that fetches secondary information related to the contact.Value allowed is @accounts@
          items:
            type:
            - string
            - 'null'
            enum:
            - accounts
            maxLength: 100
            minLength: 0
          uniqueItems: true
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/from'
      - name: sortBy
        in: query
        description: 'Parameter that sorts contacts by one of these attributes: !@firstName,@! !@lastName,@! !@phone,@! !@email,@! !@account,@! !@createdTime,@! !@modifiedTime@!'
        required: false
        style: form
        explode: true
        schema:
          type:
          - string
          - 'null'
          description: 'Parameter that sorts contacts by one of these attributes: !@firstName,@! !@lastName,@! !@phone,@! !@email,@! !@account,@! !@createdTime,@! !@modifiedTime@!'
          enum:
          - firstName
          - lastName
          - phone
          - email
          - account
          - createdTime
          - modifiedTime
          maxLength: 100
          minLength: 0
      - $ref: '#/components/parameters/isSpam'
      - name: productId
        in: path
        required: true
        style: simple
        explode: false
        schema:
          type:
          - string
          - 'null'
          - integer
          format: int64
          pattern: ([0-9]+)
      - $ref: ./Common.json#/components/parameters/orgId
      responses:
        '204':
          $ref: ./Common.json#/components/responses/emptyResponse
        '200':
          $ref: '#/components/responses/contactListViewArray'
      security:
      - iam-oauth2-schema:
        - Desk.settings.READ
        - Desk.contacts.READ
      x-audience:
      - external-public
  /api/v1/contacts/inviteAsEndUser:
    post:
      tags:
      - Contact
      summary: Invite multiple contacts to help center
      description: This API helps invite multiple contacts as end-users to your help center.
      operationId: inviteContactsAsEndUser
      parameters:
      - $ref: ./Common.json#/components/parameters/orgId
      requestBody:
        $ref: '#/components/requestBodies/inviteContactsAsEndUser'
      responses:
        '422':
          $ref: ./Common.json#/components/responses/invalidDataErrorResponse
        '200':
          $ref: ./MassActionResponse.json#/components/responses/massActionListResponse
        '403':
          $ref: ./Common.json#/components/responses/forbiddenErrorResponse
      security:
      - iam-oauth2-schema:
        - Desk.contacts.UPDATE
      x-audience:
      - external-public
  /api/v1/contacts/{contactId}/photo:
    delete:
      tags:
      - Contact
      summary: Delete contact photo
      description: This API deletes the display picture of a contact.
      operationId: deleteContactPhoto
      parameters:
      - $ref: '#/components/parameters/contactId'
      - $ref: ./Common.json#/components/parameters/orgId
      responses:
        '422':
          $ref: ./Common.json#/components/responses/invalidDataErrorResponse
        '204':
          $ref: ./Common.json#/components/responses/emptyResponse
        '403':
          $ref: ./Common.json#/components/responses/forbiddenErrorResponse
      security:
      - iam-oauth2-schema:
        - Desk.contacts.UPDATE
      x-audience:
      - external-public
  /api/v1/contacts/{contactId}/statistics:
    get:
      tags:
      - Contact
      summary: Get contact statistics
      description: This API fetches the overall statistics of an contact.
      operationId: getContactStatistics
      parameters:
      - $ref: '#/components/parameters/contactId'
      - $ref: ./Common.json#/components/parameters/orgId
      responses:
        '200':
          $ref: '#/components/responses/getStatistics'
      security:
      - iam-oauth2-schema:
        - Desk.contacts.READ
      x-audience:
      - external-public
  /api/v1/contacts/{contactId}/dissociateAccounts:
    post:
      tags:
      - Contact
      summary: Dissociate accounts from contact
      description: This API dissociates multiple accounts from a particular contact.
      operationId: dissociateAccountsWithContact
      parameters:
      - $ref: '#/components/parameters/contactId'
      - $ref: ./Common.json#/components/parameters/orgId
      requestBody:
        $ref: '#/components/requestBodies/dissociateAccountsWithContact'
      responses:
        '422':
          $ref: ./Common.json#/components/responses/invalidDataErrorResponse
        '200':
          $ref: ./MassActionResponse.json#/components/responses/massActionListResponse
      security:
      - iam-oauth2-schema:
        - Desk.contacts.UPDATE
      x-audience:
      - external-public
  /api/v1/contacts/moveToTrash:
    post:
      tags:
      - Contact
      summary: Delete Contacts
      description: This API moves the contacts specified to the Recycle Bin.
      operationId: deleteContact
      parameters:
      - $ref: ./Common.json#/components/parameters/orgId
      requestBody:
        $ref: '#/components/requestBodies/deleteContactsRequest'
      responses:
        '404':
          $ref: ./Common.json#/components/responses/urlNotFoundErrorResponse
        '422':
          $ref: ./Common.json#/components/responses/invalidDataErrorResponse
        '500':
          $ref: ./Common.json#/components/responses/internalErrorResponse
        '204':
          $ref: ./Common.json#/components/responses/emptyResponse
        '403':
          $ref: ./Common.json#/components/responses/forbiddenErrorResponse
      security:
      - iam-oauth2-schema:
        - Desk.contacts.DELETE
      x-audience:
      - external-public
  /api/v1/contacts/{contactId}/accounts/{accountId}/dissociate:
    patch:
      tags:
      - Contact
      summary: Dissociate account from contact
      description: This API dissociates a particular account from a contact.
      operationId: dissociateAccountWithContact
      parameters:
      - $ref: '#/components/parameters/accountId'
      - $ref: '#/components/parameters/contactId'
      - $ref: ./Common.json#/components/parameters/orgId
      responses:
        '422':
          $ref: ./Common.json#/components/responses/invalidDataErrorResponse
        '204':
          $ref: ./Common.json#/components/responses/emptyResponse
        '403':
          $ref: ./Common.json#/components/responses/forbiddenErrorResponse
      security:
      - iam-oauth2-schema:
        - Desk.contacts.UPDATE
      x-audience:
      - external-public
  /api/v1/contacts/{contactId}/helpCenters:
    get:
      tags:
      - Contact
      summary: Get status of contact in help centers
      description: This API fetches a particular contact's activation status in all the help centers they are part of.
      operationId: getContactActivationStatusAcrossHelpCenters
      parameters:
      - $ref: '#/components/parameters/contactId'
      - $ref: ./Common.json#/components/parameters/orgId
      responses:
        '422':
          $ref: ./Common.json#/components/responses/invalidDataErrorResponse
        '200':
          $ref: ./ResponseHelpCenterUser.json#/components/responses/listHelpCenters
        '403':
          $ref: ./Common.json#/components/responses/forbiddenErrorResponse
      security:
      - iam-oauth2-schema:
        - Desk.contacts.READ
      x-audience:
      - external-public
  /api/v1/contacts/{contactId}/history:
    get:
      tags:
      - Contact
      summary: Get contact history
      description: This API fetches the ticket history of a contact.
      operationId: getContactTicketHistory
      parameters:
      - name: agentId
        in: query
        description: ' Key that filters ticket activities performed by a particular agent'
        required: false
        style: form
        explode: true
        schema:
          type:
          - string
          - 'null'
          - integer
          format: int64
          description: ' Key that filters ticket activities performed by a particular agent'
          pattern: ([0-9]+)
      - name: departmentId
        in: query
        description: ' ID of the department from which the history details must be fetched'
        required: false
        style: form
        explode: true
        schema:
          type:
          - string
          - 'null'
          - integer
          format: int64
          description: ' ID of the department from which the history details must be fetched'
          pattern: ([0-9]+)
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/from'
      - $ref: '#/components/parameters/contactId'
      - $ref: ./Common.json#/components/parameters/orgId
      responses:
        '404':
          $ref: ./Common.json#/components/responses/urlNotFoundErrorResponse
        '200':
          $ref: ./TicketHistory.json#/components/responses/accountContactHistoryResponse
        '422':
          $ref: ./Common.json#/components/responses/invalidDataErrorResponse
        '401':
          $ref: ./Common.json#/components/responses/unauthorizedErrorResponse
      security:
      - iam-oauth2-schema:
        - Desk.contacts.READ
        - Desk.tickets.READ
      x-audience:
      - external-public
  /api/v1/contacts:
    get:
      tags:
      - Contact
      summary: List Contacts
      description: 'This API lists a particular number of contacts, based on the limit specified. '
      operationId: getContacts
      parameters:
      - name: include
        in: query
        required: false
        style: simple
        explode: true
        schema:
          type:
          - 'null'
          - array
          items:
            type:
            - string
            - 'null'
            enum:
            - accounts
            maxLength: 100
            minLength: 0
          uniqueItems: true
      - $ref: '#/components/parameters/viewId'
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/from'
      - name: sortBy
        in: query
        required: false
        style: form
        explode: true
        schema:
          type:
          - string
          - 'null'
          enum:
          - firstName
          - lastName
          - phone
          - email
          - account
          - createdTime
          - modifiedTime
          maxLength: 100
          minLength: 0
      - $ref: ./Common.json#/components/parameters/orgId
      responses:
        '200':
          $ref: '#/components/responses/contactListViewArray'
        '403':
          $ref: ./Common.json#/components/responses/forbiddenErrorResponse
      security:
      - iam-oauth2-schema:
        - Desk.contacts.READ
      x-audience:
      - external-public
    post:
      tags:
      - Contact
      summary: Create Contact
      description: This API creates a contact in your help desk portal.
      operationId: createContact
      parameters:
      - $ref: ./Common.json#/components/parameters/orgId
      requestBody:
        $ref: '#/components/requestBodies/contactjson'
      responses:
        '422':
          $ref: ./Common.json#/components/responses/invalidDataErrorResponse
        '200':
          $ref: '#/components/responses/contactResponse'
      security:
      - iam-oauth2-schema:
        - Desk.contacts.CREATE
      x-audience:
      - external-public
  /api/v1/contacts/updateMany:
    post:
      tags:
      - Contact
      summary: Update many contacts
      description: This API updates multiple contacts at once.
      operationId: bulkUpdateContacts
      parameters:
      - $ref: ./Common.json#/components/parameters/orgId
      requestBody:
        $ref: '#/components/requestBodies/contact_massupdate'
      responses:
        '404':
          $ref: ./Common.json#/components/responses/urlNotFoundErrorResponse
        '200':
          $ref: ./MassActionResponse.json#/components/responses/massActionListResponse
        '422':
          $ref: ./Common.json#/components/responses/invalidDataErrorResponse
        '401':
          $ref: ./Common.json#/components/responses/unauthorizedErrorResponse
      security:
      - iam-oauth2-schema:
        - Desk.contacts.UPDATE
      x-audience:
      - external-public
  /api/v1/contacts/count:
    get:
      tags:
      - Contact
      summary: Get contacts count
      description: This API displays the count for the number of contacts in a custom view
      operationId: getContactsCount
      parameters:
      - name: viewId
        in: query
        required: true
        style: form
        explode: true
        schema:
          type:
          - string
          - 'null'
          - integer
          format: int64
          pattern: ([0-9]+)
      - name: startsWith
        in: query
        required: false
        style: form
        explode: true
        schema:
          type:
          - string
          - 'null'
          maxLength: 100
          minLength: 0
      - $ref: ./Common.json#/components/parameters/orgId
      responses:
        '422':
          $ref: ./Common.json#/components/responses/multipleUnprocessEntityResponse
        '200':
          $ref: '#/components/responses/countJson'
      security:
      - iam-oauth2-schema:
        - Desk.contacts.READ
      x-audience:
      - external-public
  /api/v1/contacts/contactsByIds:
    get:
      tags:
      - Contact
      summary: List Contacts By Ids
      description: This API lists details of specific contacts, based on the IDs passed in the request.
      operationId: getContactsByIds
      parameters:
      - name: ids
        in: query
        description: List of Contact Ids (separated by comma) which must be fetched. The maximum number of IDs allowed is 20.
        required: true
        style: simple
        explode: true
        schema:
          type:
          - 'null'
          - array
          description: List of Contact Ids (separated by comma) which must be fetched. The maximum number of IDs allowed is 20.
          items:
            type:
            - string
            - 'null'
            - integer
            format: int64
            pattern: ([0-9]+)
          uniqueItems: false
      - $ref: ./Common.json#/components/parameters/orgId
      responses:
        '422':
          $ref: ./Common.json#/components/responses/multipleUnprocessEntityResponse
        '200':
          $ref: '#/components/responses/contactListViewArray'
      security:
      - iam-oauth2-schema:
        - Desk.contacts.READ
      x-audience:
      - external-public
  /api/v1/contacts/{contactId}:
    get:
      tags:
      - Contact
      summary: Get Contact
      description: This API fetches a single contact from your help desk portal.
      operationId: getContact
      parameters:
      - name: include
        in: query
        description: 'Allowed values are :  @accounts@ , @owner@'
        required: false
        style: simple
        explode: true
        schema:
          type:
          - 'null'
          - array
          description: 'Allowed values are :  @accounts@ , @owner@'
          items:
            type:
            - string
            - 'null'
            enum:
            - accounts
            - owner
            maxLength: 100
            minLength: 0
          uniqueItems: true
      - $ref: '#/components/parameters/contactId'
      - $ref: ./Common.json#/components/parameters/orgId
      responses:
        '200':
          $ref: '#/components/responses/contactResponse'
      security:
      - iam-oauth2-schema:
        - Desk.contacts.READ
      x-audience:
      - external-public
    patch:
      tags:
      - Contact
      operationId: updateContact
      summary: Update Contact
      description: This API updates details of an existing contact.
      parameters:
      - $ref: '#/components/parameters/contactId'
      - $ref: ./Common.json#/components/parameters/orgId
      requestBody:
        $ref: '#/components/requestBodies/updateContact_contactjson'
      responses:
        '422':
          $ref: ./Common.json#/components/responses/invalidDataErrorResponse
        '200':
          $ref: '#/components/responses/contactResponse'
      security:
      - iam-oauth2-schema:
        - Desk.contacts.UPDATE
      x-audience:
      - external-public
  /api/v1/contacts/{contactId}/merge:
    post:
      tags:
      - Contact
      summary: Merge Contacts
      description: This API merges two or more contacts  <br/></br/>_Note:_<br/>Though portal users (users who signed up via the help center) are saved as contacts in the help desk, their records cannot be merged with other records/contacts.
      operationId: mergeContacts
      parameters:
      - $ref: '#/components/parameters/contactId'
      - $ref: ./Common.json#/components/parameters/orgId
      requestBody:
        $ref: '#/components/requestBodies/contactMergeRequest'
      responses:
        '404':
          $ref: ./Common.json#/components/responses/urlNotFoundErrorResponse
        '200':
          $ref: '#/components/responses/contactResponse'
        '422':
          $ref: ./Common.json#/components/responses/multipleUnprocessEntityResponse
        '500':
          $ref: ./Common.json#/components/responses/internalErrorResponse
        '403':
          $ref: ./Common.json#/components/responses/forbiddenErrorResponse
      security:
      - iam-oauth2-schema:
        - Desk.contacts.UPDATE
      x-audience:
      - external-public
  /api/v1/contacts/{contactId}/approveEndUserInvite:
    post:
      tags:
      - Contact
      summary: Approve contact for help center
      description: This API helps approve a particular contact as an end-user to your help center.
      operationId: approveEndUserInvite
      parameters:
      - $ref: '#/components/parameters/contactId'
      - $ref: ./Common.json#/components/parameters/orgId
      requestBody:
        $ref: '#/components/requestBodies/updateSignupApproval'
      responses:
        '404':
          $ref: ./Common.json#/components/responses/urlNotFoundErrorResponse
        '200':
          $ref: ./MassActionResponse.json#/components/responses/massActionListResponse
        '422':
          $ref: ./Common.json#/components/responses/multipleUnprocessEntityResponse
        '500':
          $ref: ./Common.json#/components/responses/internalErrorResponse
        '403':
          $ref: ./Common.json#/components/responses/forbiddenErrorResponse
      security:
      - iam-oauth2-schema:
        - Desk.contacts.UPDATE
      x-audience:
      - external-public
  /api/v1/contacts/{contactId}/rejectEndUserInvite:
    post:
      tags:
      - Contact
      summary: Reject contact for help center
      description: This API helps reject a particular contact from being added as an end-user to your help center.
      operationId: rejectEndUserInvite
      parameters:
      - $ref: '#/components/parameters/contactId'
      - $ref: ./Common.json#/components/parameters/orgId
      requestBody:
        $ref: '#/components/requestBodies/rejectEndUserInvite_updateSignupApproval'
      responses:
        '404':
          $ref: ./Common.json#/components/responses/urlNotFoundErrorResponse
        '200':
          $ref: ./MassActionResponse.json#/components/responses/massActionListResponse
        '422':
          $ref: ./Common.json#/components/responses/multipleUnprocessEntityResponse
        '500':
          $ref: ./Common.json#/components/responses/internalErrorResponse
        '403':
          $ref: ./Common.json#/components/responses/forbiddenErrorResponse
      security:
      - iam-oauth2-schema:
        - Desk.contacts.UPDATE
      x-audience:
      - external-public
  /api/v1/contacts/{contactId}/associateAccounts:
    post:
      tags:
      - Contact
      summary: Associate accounts with contact
      description: This API associates multiple accounts with a particular contact.
      operationId: associateAccountsWithContact
      parameters:
      - $ref: '#/components/parameters/contactId'
      - $ref: ./Common.json#/components/parameters/orgId
      requestBody:
        $ref: '#/components/requestBodies/associateAccountsWithContact'
      responses:
        '422':
          $ref: ./Common.json#/components/responses/invalidDataErrorResponse
        '200':
          $ref: ./MassActionResponse.json#/components/responses/massActionListResponse
      security:
      - iam-oauth2-schema:
        - Desk.contacts.UPDATE
      x-audience:
      - external-public
  /api/v1/contacts/{contactId}/associateProducts:
    post:
      tags:
      - Contact
      summary: Associate products with a contact
      description: This API associates products with a contact. Only a maximum of 10 products can be associated with a contact through a single API request.
      operationId: associateProductsWithContact
      parameters:
      - $ref: '#/components/parameters/contactId'
      - $ref: ./Common.json#/components/parameters/orgId
      requestBody:
        $ref: '#/components/requestBodies/associateProductsWithContact'
      responses:
        '422':
          $ref: ./Common.json#/components/responses/invalidDataErrorResponse
        '200':
          $ref: ./MassActionResponse.json#/components/responses/massActionListResponse
      security:
      - iam-oauth2-schema:
        - Desk.contacts.UPDATE
      x-audience:
      - external-public
  /api/v1/contacts/markSpam:
    post:
      tags:
      - Contact
      summary: Mark contact as spam
      description: This API marks contacts as spam.
      operationId: markContactsAsSpam
      requestBody:
        $ref: '#/components/requestBodies/markSpamContactPayload'
      responses:
        '422':
          $ref: ./Common.json#/components/responses/invalidDataErrorResponse
        '200':
          $ref: ./MassActionResponse.json#/components/responses/massActionListResponse
      security:
      - iam-oauth2-schema:
        - Desk.contacts.UPDATE
      x-audience:
      - external-public
  /api/v1/contacts/deleteSpam:
    post:
      tags:
      - Contact
      summary: Delete spam contacts
      description: This API deletes the given spam contacts
      operationId: deleteSpamContacts
      parameters:
      - $ref: ./Common.json#/components/parameters/orgId
      requestBody:
        $ref: '#/components/requestBodies/deleteSpamContacts_deleteContactsRequest'
      responses:
        '422':
          $ref: ./Common.json#/components/responses/invalidDataErrorResponse
        '200':
          $ref: ./MassActionResponse.json#/components/responses/massActionListResponse
      security:
      - iam-oauth2-schema:
        - Desk.contacts.DELETE
      x-audience:
      - external-public
  /api/v1/contacts/{contactId}/inviteAsEndUser:
    post:
      tags:
      - Contact
      summary: Invite contact to help center
      description: This API helps invite a particular contact as an end-user to your help center.
      operationId: inviteContactAsEndUser
      parameters:
      - $ref: '#/components/parameters/contactId'
      - $ref: ./Common.json#/components/parameters/orgId
      requestBody:
        $ref: '#/components/requestBodies/inviteContactAsEndUser'
      responses:
        '422':
          $ref: ./Common.json#/components/responses/invalidDataErrorResponse
        '204':
          $ref: ./Common.json#/components/responses/emptyResponse
        '403':
          $ref: ./Common.json#/components/responses/forbiddenErrorResponse
      security:
      - iam-oauth2-schema:
        - Desk.contacts.UPDATE
      x-audience:
      - external-public
  /api/v1/accounts/{accountId}/contacts:
    get:
      tags:
      - Contact
      summary: List Associated contacts
      description: This API lists the contacts associated with an account
      operationId: getContactsUnderAccount
      parameters:
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/from'
      - name: sortBy
        in: query
        description: 'Parameter that sorts contacts by one of these attributes: !@firstName,@! !@lastName,@! !@fullName,@! !@phone,@! !@email,@! !@createdTime,@! !@modifiedTime@!'
        required: false
        style: form
        explode: true
        schema:
          type:
          - string
          - 'null'
          description: 'Parameter that sorts contacts by one of these attributes: !@firstName,@! !@lastName,@! !@fullName,@! !@phone,@! !@email,@! !@createdTime,@! !@modifiedTime@!'
          enum:
          - firstName
          - lastName
          - phone
          - fullName
          - email
          - createdTime
          - modifiedTime
          maxLength: 100
          minLength: 0
      - $ref: '#/components/parameters/isSpam'
      - $ref: '#/components/parameters/accountId'
      - $ref: ./Common.json#/components/parameters/orgId
      responses:
        '204':
          $ref: ./Common.json#/components/responses/emptyResponse
        '200':
          $ref: '#/components/responses/contactListViewArrayWithMappingInfo'
      security:
      - iam-oauth2-schema:
        - Desk.contacts.READ
      x-audience:
      - external-public
components:
  requestBodies:
    deleteSpamContacts_deleteContactsRequest:
      content:
        application/json:
          schema:
            type:
            - 'null'
            - object
            additionalProperties: false
            properties:
              contactIds:
                type:
                - 'null'
                - array
                items:
                  type:
                  - string
                  - 'null'
                  - integer
                  format: int64
                  pattern: ([0-9]+)
                uniqueItems: false
            required:
            - contactIds
          examples:
            Valid requestBody Definitions:
              value:
                contactIds:
                - '1892000000004507'
                - '1892000000004508'
    contactMergeRequest:
      content:
        application/json:
          schema:
            type:
            - 'null'
            - object
            additionalProperties: false
            properties:
              ids:
                $ref: ./Contact.json#/components/schemas/long_array
              source:
                $ref: ./Contact.json#/components/schemas/sourceValues
            required:
            - ids
          examples:
            Valid requestBody Definitions:
              value:
                ids:
                - '4000000018011'
                - '4000000018021'
                source:
                  zip: '4000000018011'
                  lastName: '4000000018011'
                  country: '4000000018011'
                  secondaryEmail: '4000000018011'
                  cf:
                    cf_permanentaddress: 1892220000042001
                  city: '4000000018011'
                  facebook: '4000000018011'
                  mobile: '4000000018011'
                  description: '4000000018011'
                  type: '4000000018011'
                  title: '4000000018011'
                  firstName: '4000000018011'
                  accountId: '4000000018011'
                  twitter: '4000000018011'
                  phone: '4000000018011'
                  street: '4000000018011'
                  email: '4000000018011'
    inviteContactsAsEndUser:
      content:
        application/json:
          schema:
            type:
            - 'null'
            - object
            additionalProperties: false
            properties:
              helpCenterId:
                type:
                - string
                - 'null'
                - integer
                format: int64
                pattern: ([0-9]+)
              contactIds:
                $ref: ./Contact.json#/components/schemas/long_array
            required:
            - contactIds
            - helpCenterId
          examples:
            Valid requestBody Definitions:
              value:
                helpCenterId: '4000000021302'
                contactIds:
                - '4000000012902'
                - '40000000212902'
                - '40000002129122'
    rejectEndUserInvite_updateSignupApproval:
      content:
        application/json:
          schema:
            type:
            - 'null'
            - object
            additionalProperties: false
            properties:
              helpCenterIds:
                type:
                - 'null'
                - array
                items:
                  type:
                  - string
                  - 'null'
                  - integer
                  format: int64
                  pattern: ([0-9]+)
                uniqueItems: false
            required:
            - helpCenterIds
          examples:
            Valid requestBody Definitions:
              value:
                helpCenterIds:
                - '4000000021302'
    contactjson:
      content:
        application/json:
          schema:
            additionalProperties: false
            allOf:
            - $ref: ./Contact.json#/components/schemas/commonJson
            - type:
              - 'null'
              - object
              properties:
                zip:
                  type:
                  - string
                  - 'null'
                  - integer
                  format: int32
                  description: Zip code
                  pattern: ([0-9]+)
                country:
                  type:
                  - string
                  - 'null'
                  description: Contact's country of residence
                  maxLength: 30
                  minLength: 0
                twitter:
                  type:
                  - string
                  - 'null'
                  description: Twitter ID of the contact
                  maxLength: 100
                  minLength: 0
                  pattern: (^(ht|f)tp(s?)\://[-.\w]*(/?)([a-zA-Z0-9\-\.\?\,\:\'/\\+=&amp;%\$#_@]*)?$)
                cf:
                  type:
                  - 'null'
                  - object
                  additionalProperties: false
                  patternProperties:
                    ([0-9a-zA-Z_\-\.\$@\?\,\:\'\/\!\P{InBasicLatin}\s])+:
                      type:
                      - string
                      - 'null'
                      maxLength: 100
                      minLength: 0
                      pattern: ([0-9a-zA-Z_\-\.\$@\?\,\:\'\/\!\P{InBasicLatin}\s])+
                city:
                  type:
                  - string
                  - 'null'
                  description: Contact's city of residence
                  maxLength: 30
                  minLength: 0
                customFields:
                  type:
                  - 'null'
                  - object
                  additionalProperties: false
                  patternProperties:
                    ([0-9a-zA-Z_\-\.\$@\?\,\:\'\/\!\P{InBasicLatin}\s])+:
                      type:
                      - string
                      - 'null'
                      maxLength: 100
                      minLength: 0
                      pattern: ([0-9a-zA-Z_\-\.\$@\?\,\:\'\/\!\P{InBasicLatin}\s])+
                street:
                  type:
                  - string
                  - 'null'
                  description: Contact's address
                  maxLength: 250
                  minLength: 0
                facebook:
                  type:
                  - string
                  - 'null'
                  description: Facebook ID of the contact
                  maxLength: 100
                  minLength: 0
                  pattern: (^(ht|f)tp(s?)\://[-.\w]*(/?)([a-zA-Z0-9\-\.\?\,\:\'/\\+=&amp;%\$#_@]*)?$)
                mobile:
                  type:
                  - string
                  - 'null'
                  description: Mobile number of the contact
                  maxLength: 50
                  minLength: 0
                  pattern: '[0-9a-zA-Z_\+\-\.\(\)\$@\?\,\:\''\/\!\P{InBasicLatin}\s]+'
               

# --- truncated at 32 KB (64 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/zoho/refs/heads/main/openapi/zoho-contact-api-openapi.yml