Restricting System Templates
Restrict system templates to specific companies via Groups
This guide explains how to restrict system templates to specific companies by using Groups, Group Templates, and Group Companies.
By creating a group and associating:
- Templates → via Group Templates
- Companies → via Group Companies
You control which companies can access specific system templates.
Currently, the Groups API is available only for Private Lable Admins.
Overview
A Group acts as a container that connects:
-
Group Templates
A polymorphic association to a:- Task Template
- Step Template
- Workflow Template
These are the system templates that should be made visible to companies in this group.
-
Group Companies
An association to companies that should be able to see and use the group's available templates.
High-Level Flow
- Create a Group
- Use the returned
idto:- Create Group Templates
- Create Group Companies
- Templates become visible only to the companies associated with that group.
All groups and their associations can be:
- Created
- Listed
- Deleted
Step 1 — Create a Group
Create a group using:
POST /api/v1/groups
Documentation:
talent-software.readme.io/reference/post_api-v1-groups
Example Request
curl -X POST https://api.yourdomain.com/api/v1/groups \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "Restricted System Templates - Enterprise Clients",
"description": "Group restricting system templates to specific enterprise companies"
}'Example Response
{
"id": 42,
"name": "Restricted System Templates - Enterprise Clients",
"created_at": "2026-02-20T12:00:00Z",
"updated_at": "2026-02-20T12:00:00Z"
}You must store the returned id (e.g., 42).
This group_id will be used to create:
- Group Templates
- Group Companies
Step 2 — Associate Templates to the Group
Create Group Templates using:
POST /api/v1/group_templates
Documentation:
talent-software.readme.io/reference/post_api-v1-group-templates
What is a Group Template?
A Group Template is a polymorphic association to one of the following:
TaskTemplateStepTemplateWorkflowTemplate
This determines which system templates are visible to companies within this group.
Example Request
curl -X POST https://api.yourdomain.com/api/v1/group_templates \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"group_id": 42,
"templatable_id": 1001,
"templatable_type": "WorkflowTemplate"
}'Example Payload Fields
| Field | Description |
|---|---|
group_id | The ID returned when creating the group |
templatatable_id | ID of the system template |
templatatable_type | One of: TaskTemplate, StepTemplate, WorkflowTemplate |
You may repeat this call to associate multiple templates to the same group.
Step 3 — Associate Companies to the Group
Create Group Companies using:
POST /api/v1/group_companies
Documentation:
talent-software.readme.io/reference/post_api-v1-group-companies
A Group Company associates a company to a group.
Companies added here will gain visibility to all templates associated with the group.
Example Request
curl -X POST https://api.yourdomain.com/api/v1/group_companies \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"group_id": 42,
"company_id": 555
}'Example Payload Fields
| Field | Description |
|---|---|
group_id | The ID of the group |
company_id | The ID of the company that should see the group’s templates |
Repeat this call to associate multiple companies to the same group.
Resulting Behavior
Once configured:
- Only companies linked via Group Companies
- Can access templates linked via Group Templates
- Within that specific group
Listing Resources
You can list all created resources.
List Groups
GET /api/v1/groups
List Group Templates
GET /api/v1/group_templates
GET /api/v1/groups/:group_id/group_templates
List Group Companies
GET /api/v1/group_companies
GET /api/v1/groups/:group_id/group_companies
Deleting Resources
All entities can be deleted if needed.
Delete Group
DELETE /api/v1/groups/{group_id}
Delete Group Template
DELETE /api/v1/group_templates/{group_template_id}
Delete Group Company
DELETE /api/v1/group_companies/{group_company_id}
Deleting a group does not automatically imply deletion of system templates or companies — only the association is removed.
For full endpoint details and request/response schemas, refer to:
- talent-software.readme.io/reference/get_api-v1-groups
- talent-software.readme.io/reference/get_api-v1-group_companies
- talent-software.readme.io/reference/get_api-v1-group_templates
Updated 1 day ago
