Zoho CRM Org API

The Org API from Zoho CRM — 5 operation(s) for org.

GitHub OpenAPI

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /org Get the organization's company details · Get Organization data #
Ask an LLM
“What company details does the CRM hold for my organization?”
“Can I retrieve the company profile of the CRM account I am signed into?”
Tell an agent
Show my organization's company details.
Get the org profile for our CRM account.
GET /org/photo Get the organization's logo · Get Org Photo #
Ask an LLM
“Can I download the logo image set for our organization?”
“Is there an org photo currently configured?”
Tell an agent
Download our organization's photo.
Fetch the current company logo image.
POST /org/photo Upload an organization logo · Upload Organization Photo #
Ask an LLM
“How do I set a new logo for our organization?”
“Can I replace the company photo with an image file?”
Tell an agent
Upload {file} as the organization photo.
Set our company logo to the image {file}.
DELETE /org/photo Remove the organization's logo · Delete Organization Photo #
Ask an LLM
“Can I delete the organization photo altogether?”
“What happens when I remove our company logo?”
Tell an agent destructive · confirm first
Delete the organization photo.
Remove our company logo image.

Documentation

Specifications

Schemas & Data

Other Resources

🔗
Webhooks
https://artifacts.apis.io/zoho-crm/asyncapi/zoho-crm-notifications-asyncapi.yml
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/apis.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/appointment_preference.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/appointments.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/assignment_rules.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/associate_email.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/attachments.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/audit_log_export.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/available_currencies.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/bulk_read.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/bulk_write.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/business_hours.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/cadences_execution.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/cadences.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/call_preferences.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/cancel_meetings.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/change_owner.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/composite_requests.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/contact_roles.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/conversion_option.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/convert.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/coql.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/currencies.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/custom_views.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/data_sharing.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/deal_contact_roles.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/deal_link_emails.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/download_attachments.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/download_inline_images.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/duplicate_check_preference.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/email_drafts.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/email_templates.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/emails_sharing_details.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/features.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/fetch_full_data.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/field_updates.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/fields.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/files.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/find_and_merge.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/fiscal_year.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/from_addresses.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/get_related_records_count.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/global_picklists.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/holidays.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/inventory_convert.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/inventory_templates.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/layouts_activate_deactivate.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/layouts.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/locking_informations.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/mail_merge.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/map_dependency.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/mass_change_owner.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/mass_convert.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/mass_delete_cvid.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/mass_delete_tags.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/mass_update.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/module_search.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/modules.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/notes.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/notifications.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/org.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/org_photo.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/ownership_history.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/pick_list_values.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/pipeline.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/portal_user_type.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/portal_users.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/portals.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/profiles.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/record_count.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/record_locking_configurations.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/record.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/record_photo.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/record_share_email.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/recycle_bin.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/related_lists.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/related_notes.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/related_records.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/roles.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/scoring_rules.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/send_mail.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/service_preference.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/services.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/share_records.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/shift_hours.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/tags_actions.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/tags.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/territories.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/territory_users.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/timelines.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/unblock_email.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/unsubscribe_links.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/upload.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/user_groups.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/users.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/users_territories.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/users_transfer.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/variable_groups.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/variables.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/webhooks.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/wizards.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/workflow_configurations.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/workflow_rules.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/workflow_tasks.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/zia_enrichment.json
🔗
SourceCode
https://github.com/zoho/crm-oas/blob/main/v8.0/zia_org_enrichment.json

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/zoho-crm:zoho-crm-org-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

zoho-crm-org-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Org API
  description: Organization Details
  version: '8'
servers:
- url: https://zohoapis.{dc}/crm/{version}
  description: API Server URL
  variables:
    dc:
      enum:
      - com
      - eu
      - in
      - cn
      - au
      default: com
      description: API Server URL TLD
    version:
      default: v8
      description: API Version
tags:
- name: Org
paths:
  /org:
    get:
      operationId: getOrganization
      summary: Get Organization data
      description: To get the Company Details
      security:
      - iam-oauth2-schema:
        - ZohoCRM.org.READ
      responses:
        '200':
          description: Returns an array of organization details.
          content:
            application/json:
              schema:
                type: object
                description: JSON Response
                properties:
                  org:
                    description: array of organization details
                    type: array
                    maxItems: 1
                    items:
                      $ref: '#/components/schemas/OrgDetails'
                additionalProperties: false
                required:
                - org
      tags:
      - Org
  /org/photo:
    get:
      security:
      - iam-oauth2-schema:
        - ZohoCRM.org.READ
      summary: Get Org Photo
      description: Retrieve the organization photo
      operationId: getOrgPhoto
      responses:
        '200':
          description: Successfully retrieved the organization photo
          content:
            image/png:
              schema:
                type: string
                format: binary
                description: Binary image data representing the organization photo in PNG format
        '204':
          description: No content - organization photo not found
      tags:
      - Org
    post:
      security:
      - iam-oauth2-schema:
        - ZohoCRM.org.CREATE
      summary: Upload Organization Photo
      description: Upload a photo for the organization
      operationId: uploadOrganizationPhoto
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              description: Request body for uploading organization photo
              additionalProperties: false
              properties:
                file:
                  type: object
                  description: The image file to upload as organization photo
                  additionalProperties: false
              required:
              - file
        required: true
      responses:
        '200':
          description: Successfully uploaded the organization photo
          content:
            application/json:
              schema:
                oneOf:
                - type: object
                  description: Success response for organization photo upload
                  additionalProperties: false
                  properties:
                    status:
                      type: string
                      description: Status of the operation
                      enum:
                      - success
                    code:
                      type: string
                      description: Response code
                      enum:
                      - SUCCESS
                    message:
                      type: string
                      description: Success message
                      maxLength: 1000
                    details:
                      type: object
                      description: Additional details about the operation
                      additionalProperties: false
                      properties: {}
        '400':
          description: Bad Request - Invalid request parameters or data
          content:
            application/json:
              schema:
                type: object
                description: Error response for bad request
                additionalProperties: false
                properties:
                  status:
                    type: string
                    description: Status of the operation
                    enum:
                    - error
                  code:
                    type: string
                    description: Error code indicating the type of error
                    enum:
                    - INVALID_URL_PATTERN
                    - INVALID_DATA
                    - INVALID_REQUEST_METHOD
                    - INVALID_REQUEST
                    - INVALID_TOKEN
                  message:
                    type: string
                    description: Error message describing the issue
                    maxLength: 1000
                  details:
                    type: object
                    description: Additional details about the error
                    additionalProperties: false
                    properties: {}
        '403':
          description: Forbidden - insufficient permissions to upload organization photo
          content:
            application/json:
              schema:
                type: object
                description: Error response for forbidden access
                additionalProperties: false
                properties:
                  status:
                    type: string
                    description: Status of the operation
                    enum:
                    - error
                  code:
                    type: string
                    description: Error code indicating no permission
                    enum:
                    - NO_PERMISSION
                  message:
                    type: string
                    description: Error message describing the permission issue
                    maxLength: 1000
                  details:
                    type: object
                    description: Additional details about the permission error
                    additionalProperties: false
                    properties:
                      items:
                        type: string
                        description: Permission items that are missing
                        maxLength: 500
        '413':
          description: Payload Too Large - file size exceeds the maximum allowed limit
          content:
            application/json:
              schema:
                type: object
                description: Error response for file size exceeds limit
                additionalProperties: false
                properties:
                  status:
                    type: string
                    description: Status of the operation
                    enum:
                    - error
                  code:
                    type: string
                    description: Error code indicating file size exceeds limit
                    enum:
                    - FILE_SIZE_EXCEEDS
                  message:
                    type: string
                    description: Error message describing the file size issue
                    maxLength: 1000
                  details:
                    type: object
                    description: Additional details about the file size error
                    additionalProperties: false
                    properties:
                      size:
                        type: integer
                        description: Maximum allowed file size in bytes
                        format: int32
        '415':
          description: Unsupported Media Type - invalid file format or resolution exceeds limit
          content:
            application/json:
              schema:
                oneOf:
                - type: object
                  description: Error response for file resolution exceeds limit
                  additionalProperties: false
                  properties:
                    status:
                      type: string
                      description: Status of the operation
                      enum:
                      - error
                    code:
                      type: string
                      description: Error code indicating file resolution exceeds limit
                      enum:
                      - FILE_RESOLUTION_EXCEEDS
                    message:
                      type: string
                      description: Error message describing the resolution issue
                      maxLength: 1000
                    details:
                      type: object
                      description: Additional details about the resolution error
                      additionalProperties: false
                      properties:
                        resolution:
                          type: integer
                          description: Maximum allowed resolution in pixels
                          format: int32
                - type: object
                  description: Error response for invalid file format
                  additionalProperties: false
                  properties:
                    status:
                      type: string
                      description: Status of the operation
                      enum:
                      - error
                    code:
                      type: string
                      description: Error code indicating invalid data
                      enum:
                      - INVALID_DATA
                    message:
                      type: string
                      description: Error message describing the invalid file format
                      maxLength: 1000
                    details:
                      type: object
                      description: Additional details about the error
                      additionalProperties: false
                  required:
                  - status
                  - code
                  - message
                  - details
      tags:
      - Org
    delete:
      security:
      - iam-oauth2-schema:
        - ZohoCRM.org.DELETE
      summary: Delete Organization Photo
      description: Delete the organization photo
      operationId: delete
      responses:
        '200':
          description: Successfully deleted the organization photo
          content:
            application/json:
              schema:
                oneOf:
                - type: object
                  description: Success response for organization photo deletion
                  additionalProperties: false
                  properties:
                    status:
                      type: string
                      description: Status of the operation
                      enum:
                      - success
                    code:
                      type: string
                      description: Response code
                      enum:
                      - SUCCESS
                    message:
                      type: string
                      description: Success message
                      maxLength: 1000
                    details:
                      type: object
                      description: Additional details about the operation
                      additionalProperties: false
        '400':
          description: Bad Request - Invalid request parameters or data
          content:
            application/json:
              schema:
                type: object
                description: Error response for bad request
                additionalProperties: false
                properties:
                  status:
                    type: string
                    description: Status of the operation
                    enum:
                    - error
                  code:
                    type: string
                    description: Error code indicating the type of error
                    enum:
                    - INVALID_URL_PATTERN
                    - INVALID_DATA
                    - INVALID_REQUEST_METHOD
                    - INVALID_REQUEST
                    - INVALID_TOKEN
                  message:
                    type: string
                    description: Error message describing the issue
                    maxLength: 1000
                  details:
                    type: object
                    description: Additional details about the error
                    additionalProperties: false
        '403':
          description: Forbidden - insufficient permissions to delete organization photo
          content:
            application/json:
              schema:
                type: object
                description: Error response for forbidden access
                additionalProperties: false
                properties:
                  status:
                    type: string
                    description: Status of the operation
                    enum:
                    - error
                  code:
                    type: string
                    description: Error code indicating no permission
                    enum:
                    - NO_PERMISSION
                  message:
                    type: string
                    description: Error message describing the permission issue
                    maxLength: 1000
                  details:
                    type: object
                    description: Additional details about the permission error
                    additionalProperties: false
                    properties:
                      permissions:
                        type: array
                        description: List of required permissions
                        maxItems: 100
                        items:
                          type: string
                          description: Permission name
                          maxLength: 500
      tags:
      - Org
components:
  schemas:
    OrgDetails:
      type: object
      description: Company details
      properties:
        country:
          oneOf:
          - type: string
            maxLength: 50
            description: value present
          - type: 'null'
            description: null value
          description: Company's country
        photo_id:
          readOnly: true
          oneOf:
          - type: string
            description: photo present
            maxLength: 50
          - type: 'null'
            description: null value
          description: photo id of the company's logo
        city:
          oneOf:
          - type: string
            maxLength: 50
            description: value present
          - type: 'null'
            description: null value
          description: Company's city
        description:
          oneOf:
          - type: string
            maxLength: 250
            description: value present
          - type: 'null'
            description: null value
          description: description
        type:
          type: string
          enum:
          - bigin
          - production
          - sandbox
          - developer
          description: type of org
          readOnly: true
        created_time:
          type: string
          format: date-time
          description: time of creation
          readOnly: true
        mc_status:
          type:
          - boolean
          - 'null'
          description: multi currency status
          readOnly: true
        gapps_enabled:
          type: boolean
          description: google apps integration status
          readOnly: true
        translation_enabled:
          type: boolean
          description: translation status
          readOnly: true
        street:
          oneOf:
          - type: string
            maxLength: 50
            description: value present
          - type: 'null'
            description: null value
          description: Company's street
        domain_name:
          type: string
          pattern: '[a-z][a-z0-9]{4,30}'
          maxLength: 30
          description: domain name of the organization
        alias:
          oneOf:
          - type: string
            maxLength: 50
            description: value present
          - type: 'null'
            description: null value
          description: Company's alias
        currency:
          type: string
          description: home currency
          maxLength: 30
        id:
          type: string
          description: org id
          maxLength: 20
          readOnly: true
        employee_count:
          oneOf:
          - type: string
            maxLength: 18
            pattern: '[0-9]+'
            description: value present
          - type: 'null'
            description: null value
          description: Company's employee count
        state:
          oneOf:
          - type: string
            maxLength: 50
            description: state
          - type: 'null'
            description: null value
          description: Company's state
        fax:
          oneOf:
          - type: string
            maxLength: 30
            description: value present
          - type: 'null'
            description: null value
          description: Company's fax
        zip:
          oneOf:
          - type: string
            maxLength: 20
            description: value present
          - type: 'null'
            description: null value
          description: Company's postal code
        website:
          oneOf:
          - type: string
            maxLength: 50
            pattern: ^(http:\/\/www.|https:\/\/www.|ftp:\/\/www.|www.|http:\/\/|https:\/\/|ftp:\/\/|){1}[^\x00-\x19\x22-\x27\x2A-\x2C\x2E-\x2F\x3A-\x3F\x5B-\x5E\x60\x7B\x7D-\x7F]+(\.[^\x00-\x19\x22\x24-\x2C\x2E-\x2F\x3C\x3E\x40\x5B-\x5E\x60\x7B\x7D-\x7F]+)+([\/\?].*)*$
            description: value present
          - type: 'null'
            description: null value
          description: Company's website
        currency_symbol:
          type: string
          maxLength: 5
          minLength: 1
          description: home currency symbol
        mobile:
          oneOf:
          - type: string
            maxLength: 30
            pattern: ^[+]?([0-9A-Za-z()\.\-\s]){1,30}$
            description: value present
          - type: 'null'
            description: null value
          description: Company's mobile
        currency_locale:
          type: string
          maxLength: 10
          description: home currency locale
        primary_zuid:
          oneOf:
          - type: string
            maxLength: 20
            description: zuid of the super admin
          - type: 'null'
            description: null value if there is no super admin(only when company details not updated)
            readOnly: true
        zia_portal_id:
          type:
          - string
          - 'null'
          description: zia portal id
          readOnly: true
        time_zone:
          type: string
          maxLength: 30
          description: Company's time zone
        zgid:
          type: string
          description: zgid
          maxLength: 20
          readOnly: true
        country_code:
          type:
          - string
          - 'null'
          description: Company's country code
        deletable_org_account:
          type: boolean
          description: is deletable
          readOnly: true
        license_details:
          type: object
          readOnly: true
          description: license details
          properties:
            paid_expiry:
              oneOf:
              - type: string
                format: date-time
                description: value present
              - type: 'null'
                description: null value
              readOnly: true
              description: license expiry date
            users_license_purchased:
              type: integer
              format: int32
              readOnly: true
              description: no of users can be added based on the purchased licenses
            trial_type:
              type:
              - string
              - 'null'
              description: trial type
              readOnly: true
            trial_expiry:
              type:
              - string
              - 'null'
              description: trial expiry date
            paid:
              type: boolean
              description: is paid edition account
              readOnly: true
            paid_type:
              type: string
              readOnly: true
              description: actual license type
              enum:
              - free
              - standard
              - professional
              - enterprise
              - ultimate
              - crmplus
              - crmplusstarter
              - zohooneenterprise
              - zohoonestandard
            portal_users_license_purchased:
              type: integer
              format: int32
              description: no of portal users can be added based on the purchased licenses
              readOnly: true
          additionalProperties: false
          required:
          - users_license_purchased
          - paid
          - paid_type
          - portal_users_license_purchased
        hierarchy_preferences:
          type: object
          properties:
            type:
              type: string
              enum:
              - Role_Hierarchy
              - Reporting_To_Hierarchy
              description: type of hierarchy
            strictly_reporting:
              type:
              - boolean
              - 'null'
              description: non reporting users data should be visible to CEO and Administator(true) or any user higher in the hierarchy(false)
          required:
          - type
          additionalProperties: false
          description: hierarchy preference of an organization
        phone:
          oneOf:
          - type: string
            maxLength: 30
            pattern: ^[+]?([0-9A-Za-z()\.\-\s]){1,30}$
            description: phone number present
          - type: 'null'
            description: null value
          description: Company's phone number
        company_name:
          oneOf:
          - type: string
            maxLength: 100
            description: Company name present
          - type: 'null'
            description: null value.
            readOnly: true
          description: Company's name
        privacy_settings:
          type: boolean
          description: privacy settings enabled status
          readOnly: true
        primary_email:
          oneOf:
          - type: string
            pattern: ^[\+\-\p{L}\p{M}\p{N}_]([\p{L}\p{M}\p{N}!#$%&'*+\-\/=?^_`{|}~.]*)@(?=.{4,256}$)(([\p{L}\p{N}\p{M}]+)(([\-_]*[\p{L}\p{M}\p{N}])*)[.])+[\p{L}\p{M}]{2,22}$
            description: super admin present
            maxLength: 100
          - type: 'null'
            description: null value if there is no super admin(only when company details not updated)
          description: Email of the super admin
        iso_code:
          type: string
          maxLength: 10
          description: iso code of the home currency
        hipaa_compliance_enabled:
          type: boolean
          description: hipaa compliances enabled status
          readOnly: true
        lite_users_enabled:
          type: boolean
          description: lite users enabled status
          readOnly: true
      additionalProperties: false
  securitySchemes:
    iam-oauth2-schema:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://accounts.zoho.com/oauth/v2/auth
          tokenUrl: https://accounts.zoho.com/oauth/v2/token
          refreshUrl: https://accounts.zoho.com/oauth/v2/token
          scopes:
            ZohoCRM.org.READ: Allows reading org details.
            ZohoCRM.org.UPDATE: Allows updating org details.