---
title: "POST /api/employees/trainings/{curriculum_id}/channel"
method: POST
path: "/api/employees/trainings/{curriculum_id}/channel"
tags: ["api"]
---

# POST /api/employees/trainings/{curriculum_id}/channel

`POST /api/employees/trainings/{curriculum_id}/channel`

## Request

- Base URL: `https://app.haekka.com`
- URL: `https://app.haekka.com/api/employees/trainings/{curriculum_id}/channel`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/haekka/apis/snippets-api/docs/api/employees/trainings/:curriculum_id/channel/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- object
  - `company_id` string: ID of the company we want to bulk assign employees to training for
  - `employee_data` object
    - `channels` object[]
      - `slack_channel` string: ID of Slack channel from which we'll add users to a training
      - `automatically_enroll` boolean: Should we automatically enroll a new user \ # noqa into a training when he joins this slack channel
  - `manually_selected_users` string[]: IDs of the manually selected employees (can be outside of the Slack workspace)

## Response `200`

Emplyoee training bulk open for one or more Slack channels

- EmployeeTrainingBulkOpen
  - `results` string, required
  - `error` boolean, required
  - `error_message` string, required

---

[API](https://skmtc.dev/haekka/apis/snippets-api.md) - [All operations](https://skmtc.dev/haekka/apis/snippets-api/llms.txt) - [OpenAPI document](https://skmtc.dev/haekka/apis/snippets-api/revisions/2a72ba99e389?raw)
