Category Groups
Retrieve a category group
Changed onThis endpoint returns a specific category group.
ℹ️ This endpoint requires one of the following scopes: categories:all, categories:readonly
get/api/external/v2/category_groups/{id}
Request
- Base URLhttps://app.pennylane.com
- URLhttps://app.pennylane.com/api/external/v2/category_groups/{id}
- AuthOAuth 2Authorization code: https://app.pennylane.com/oauth/authorizeToken URL: https://app.pennylane.com/oauth/oauth/token scopes: categories:all, categories:readonly
Path parameters
idstring required
The unique identifier of the category group
Headers
X-Company-Idstring
Example:12345
Numeric ID of the company to act on. Required when authenticating with a firm token. Ignored when the token is already bound to a company.
Response
Returns a category group
Example response
{
"id": 989,
"label": "Types de dépenses / revenus",
"categories": {
"url": "https://app.pennylane.com/api/external/v2/category_groups/42/categories"
},
"created_at": "2023-08-30T10:08:08.146343Z",
"updated_at": "2023-08-30T10:08:08.146343Z"
}Changes
- info
added the new optional
headerrequest parameterX-Company-Id
- info