Thrust Carbon

Groupings: List

GET
/groupings

This list endpoint will provide a paginated list of all groupings in your organisation.


Creation of groupings

While you can forcefully create a grouping using the POST endpoint, groupings are typically created through segment requests. When creating a segment you may associate the segment with one or more groupings, and these will be automatically created for you.


Description of grouping endpoints

Grouping endpoints let you set additional details for each grouping key. These additional details are use in other Thrust Carbon products, such as correct department names on Thrust Calculator reports or in the Thrust Engage dashboard.

For example, a grouping with key '123' may have the name 'US HR' attached, and a description of 'Human Resources department for United States'. Since the grouping id of '123' is not understandable to most users, the name can be used instead.


Online interface

You may create/read/update/delete groupings manually via your account settings at https://app.thrustcarbon.com

Query Parameters

organisation_id?string

Optional. Used by partner accounts to take an action against another account that they manage.

Formatuuid

Response Body

application/json

curl -X GET "https://example.com/groupings"
{  "to": 0,  "from": 0,  "path": "http://example.com",  "prev_page_url": "http://example.com",  "next_page_url": "http://example.com",  "last_page_url": "http://example.com",  "first_page_url": "http://example.com",  "last_page": 0,  "current_page": 0,  "per_page": 0,  "total": 0,  "data": [    {      "key": "string",      "parent_key": "string",      "title": "string",      "description": "string",      "grouping_type": "default"    }  ]}