---
title: "Trainings > Training > Creates"
method: POST
path: "Webhooks > Trainings > Training > Creates"
tags: ["Webhooks"]
---

# Trainings > Training > Creates

`POST Webhooks > Trainings > Training > Creates` (webhook)

Subscription_type: `trainings/training/create`

## Payload

- TrainingsTraining
  - `id` string, required: Identifier of the course
  - `company_id` string, required: Company identifier
  - `author_id` string, required: The person that creates the training
  - `author_employee_id` string: Employee identifier of the training author
  - `name` string, required: Name of the training
  - `code` string: Code of the training
  - `description` string, required: Description of the training
  - `created_at` string: Creation date of the course
  - `updated_at` string: Last modification date of the course
  - `external_provider` string: The name of the provider if any
  - `external` boolean, required: External training
  - `total_cost` integer
  - `fundae_subsidized` boolean, required: Subsidized by Fundae
  - `subsidized` boolean, required: Marked as subsidized
  - `cost` integer, required
  - `subsidized_cost` integer, required
  - `total_cost_decimal` string
  - `cost_decimal` string, required
  - `subsidized_cost_decimal` string, required
  - `category_ids` string[]: List of ids of training categories
  - `status` 'draft' | 'active' | 'deleted': Training status. Can be one of the following values
  - `year` integer, required: Year of the training
  - `catalog` boolean, required: Visible in catalog
  - `competency_ids` string[], required: List of ids of training competencies
  - `total_training_cost` string, required: The total direct cost of all course's groups
  - `total_training_indirect_cost` string, required: The total indirect cost of all course's groups
  - `total_training_salary_cost` string, required: The total salary cost of all course's groups
  - `total_training_subsidized_cost` string, required: The total subsidized cost of all course's groups
  - `total_participants` integer, required: Number of participants of all course's groups
  - `training_attendance_status` 'notassigned' | 'notstarted' | 'missing' | 'started' | 'partiallycompleted' | 'completed', required
  - `valid_for` integer: Number of years this course is valid for
  - `objectives` string: Objectives of the course
  - `number_of_expired_participants` integer: Number of participants that have the course expired or about to expire in the next 3 months. Only applicable to trainings with validity period.
  - `total_duration` number, required: The total duration in hours and minutes of the course
  - `is_mandatory` boolean, required: This field is used to define if the training is mandatory or not

## Acknowledgement `200`

Return a 200 status to indicate that the data was received successfully

---

[API](https://skmtc.dev/factorialhr/apis/factorial-api.md) - [All operations](https://skmtc.dev/factorialhr/apis/factorial-api/llms.txt) - [OpenAPI document](https://skmtc.dev/factorialhr/apis/factorial-api/revisions/83ac9aa1de50?raw)
