API documentation
Method list
Test your request
Changelog


getCrmClientStatusGroups
The method allows you to retrieve the list of CRM client status groups.


Input parameters



Output data
The method returns the data in JSON format.
statusvarchar(30)SUCCESS - request executed correctly
ERROR - an error occurred during an API request. Error details will be described in 2 additional returned fields: error_message and error_code
status_groupsarrayAn array of CRM client status groups containing the fields listed below.
| - group_idintStatus group ID.
| - nametextStatus group name.
| - is_main_groupintWhether this is the main (default) group (0 or 1).



Sample
Input data:
Output data:
A sample request in PHP: