Meta Data APIs
Returns the metadata for fields, layouts, and related lists for the specified module. It lists the entire fields available and related list for that module.
Module Metadata
Purpose
To get the metadata for a specific module. Specify the API name of the module, such as Leads, Accounts or Deals in your API request.
Request Details
Request URL
https://www.zohoapis.com/crm/v2/settings/modules/{module_api_name}
Supported modules
Leads, Accounts, Contacts, Deals, Campaigns, Tasks, Cases, Events, Calls, Solutions, Products, Vendors, Price Books, Quotes, Sales Orders, Purchase Orders, Invoices, Custom, and Activities
Header
Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52
Scope
scope=ZohoCRM.settings.modules.READ
(or)
scope=ZohoCRM.settings.modules.ALL
(or)
scope=ZohoCRM.settings.ALL
Sample Request
Copied
Copied
Copied
Copied
Copied
Copied
Copied
Copied
Copied
Copied
Copied
Copied
Copied
Copied
Copied
Copied
Show full
Show less
Response JSON Keys
- kanban_viewboolean
Represents if the records are displayed in kanban view for the current module.
Possible values - true:The records are displayed in kanban view.
false: The records are displayed in list view. - filter_statusboolean
Represents the filters are enabled for the current module.
Possible values - true:Filters are enabled.
false: Filters are not enabled. - related_list_propertiesJSON object
Represents the details of related lists in the current module.
- $propertiesJSON array
Represents the list of dollar properties of the current module.
- per_pageinteger
Represents the number of records listed in the list view of the current module.
- visibilityinteger
Represents the visibility of the module to the current user.
- 2 - The module is hidden in the UI, but is available in the API response
- 1 - The module is visible
- 0 - The module is hidden
- -1 - The module is unavailable/hidden by the system itself due to the downgrading of the plan.
- display_fieldstring
Represents the API name of the field that will be displayed in bold, in the list view of the current module.
- search_layout_fieldsJSON array
Represents the API names of the fields with which users can perform search in the current module.
- kanban_view_supportedboolean
Represents if the current module has kanban view support.
Possible values - true:The current module has kanban view support.
false: The current module does not have kanban view support. - custom_viewJSON object
Represents the details of the default view in the current module.
Note
- For details regarding other response keys, refer to Modules API.
Possible Errors
- INVALID_MODULEHTTP 400
The module name given seems to be invalid
Resolution: You have specified an invalid module name or there is no tab permission, or the module could have been removed from the available modules. Specify a valid module API name. - INVALID_MODULEHTTP 400
The given module is not supported in API
Resolution: The modules such as Documents and Projects are not supported in the current API. (This error will not be shown, once these modules are been supported). Specify a valid module API name. - INVALID_URL_PATTERNHTTP 404
Please check if the URL trying to access is a correct one
Resolution: The request URL specified is incorrect. Specify a valid request URL. Refer to request URL section above. - OAUTH_SCOPE_MISMATCHHTTP 401
Unauthorized
Resolution: Client does not have ZohoCRM.settings.modules.READ scope. Create a new client with valid scope. Refer to scope section above. - NO_PERMISSIONHTTP 403
Permission denied to read
Resolution: The user does not have permission to read modules data. Contact your system administrator. - INTERNAL_ERRORHTTP 500
Internal Server Error
Resolution: Unexpected and unhandled exception in Server. Contact support team. - INVALID_REQUEST_METHODHTTP 400
The http request method type is not a valid one
Resolution: You have specified an invalid HTTP method to access the API URL. Specify a valid request method. Refer to endpoints section above. - AUTHORIZATION_FAILEDHTTP 400
User does not have sufficient privilege to read modules data
Resolution: The user does not have the permission to retrieve modules data. Contact your system administrator.
Sample Response
Copied