Company Groups

Create a new group

post

Creates a new group under a specified company.

Body
company_idintegerRequired

The ID of the company to create the group in.

Example: 385
parent_group_idintegerOptional

The ID of the parent group under which this group will be created.

Example: 1
namestringRequired

The name of the group.

Example: Sales Team
descriptionstringOptional

A brief description of the group.

Example: This group handles all sales operations.
Responses
200

Group created successfully

application/json
post
/company/group
200

Group created successfully

Get group details

get

Fetches details of a specific group by its ID.

Body
group_idintegerRequired

The ID of the group to retrieve.

Example: 257
Responses
200

Group retrieved successfully

application/json
get
/company/group
200

Group retrieved successfully

Update group details

put

Updates the details of an existing group based on the provided fields.

Body
group_idintegerRequired

The ID of the group to update.

Example: 257
languagestringOptional

Language setting for the group.

Example: en
fontstringOptional

Font used in the group.

Example: Arial
image_bannerstringOptional

URL or path to the banner image.

Example: https://example.com/banner.png
image_companystringOptional

URL or path to the company image.

Example: https://example.com/company.png
imagestringOptional

URL or path to the group image.

Example: https://example.com/group.png
descriptionstringOptional

A brief description of the group.

Example: This is a description of the group.
namestringOptional

The name of the group.

Example: Sales Team
parent_group_idintegerOptional

The ID of the parent group.

Example: 1
company_idintegerOptional

The ID of the company associated with the group.

Example: 385
hide_default_profile_data_from_companyinteger · enumOptional

Flag to hide default profile data from the company.

Possible values:
iconsstringOptional

Hex code for icon color.

Example: FFFFFF
textstringOptional

Hex code for text color.

Example: 000000
backgroundstringOptional

Hex code for background color.

Example: 333333
automation_mappingsobjectOptional

Automation mappings for the group.

Example: {"department":"Sales","job":"Manager"}
Responses
200

Group update success response

application/json
put
/company/group
200

Group update success response

Get all groups

get

Retrieves all groups under a specified company, including their top profiles.

Body
company_idintegerRequired

The ID of the company to retrieve groups for.

Example: 385
Responses
200

Groups retrieved successfully

application/json
get
/company/groups
200

Groups retrieved successfully

get

Searches for groups within a company based on a query string.

Body
company_idintegerRequired

The ID of the company to search groups within.

Example: 385
querystringRequired

The query string to search for groups.

Example: Sales
Responses
200

Groups search results

application/json
get
/company/groups/search
200

Groups search results

Update the order of company groups

put

Updates the order of the groups for a company.

Body
company_idintegerRequired

The ID of the company.

Example: 385
orderinteger[]Required

An array representing the new order of group IDs.

Example: 257
Responses
200

Order update success response

application/json
put
/company/groups/order
200

Order update success response

Last updated