> ## Documentation Index
> Fetch the complete documentation index at: https://apidocs.sesametime.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Check Type



## OpenAPI

````yaml POST /schedule/v1/check-types
openapi: 3.0.0
info:
  description: ''
  version: 3.0.0
  title: Sesame Public API
servers:
  - url: https://api-{region}.sesametime.com
    variables:
      region:
        default: eu1
security: []
tags: []
paths:
  /schedule/v1/check-types:
    post:
      tags:
        - Check Types
      summary: Create Check Type
      operationId: CreateCheckType
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - name
                - color
                - icon
                - checkTypeWorkType
                - checkTypeStatus
              properties:
                name:
                  type: string
                  description: Check type name
                  example: Office
                color:
                  type: string
                  description: Check type color identifier
                  example: ssm-salmon
                icon:
                  type: string
                  description: Check type icon identifier
                  example: icon-briefcase
                checkTypeWorkType:
                  type: string
                  description: Work type for this check type
                  example: default
                checkTypeStatus:
                  type: string
                  description: Status for this check type
                  example: active
              anyOf:
                - title: Legacy remunerated flag
                  description: >-
                    Use the legacy boolean field. true = remunerated, false =
                    not_remunerated. When sent together with remuneratedMode,
                    this legacy field takes precedence.
                  required:
                    - remunerated
                  properties:
                    remunerated:
                      type: boolean
                      description: true = remunerated, false = not_remunerated.
                      example: true
                - title: Non-hybrid remunerated mode
                  description: Use remuneratedMode with a non-hybrid value.
                  required:
                    - remuneratedMode
                  properties:
                    remuneratedMode:
                      type: string
                      enum:
                        - remunerated
                        - not_remunerated
                      example: remunerated
                - title: Hybrid remunerated mode
                  description: >-
                    Use remuneratedMode='hybrid' with all three hybrid
                    configuration fields.
                  required:
                    - remuneratedMode
                    - hybridStartAsRemunerated
                    - hybridSwitchMinutes
                    - hybridSwitchPeriod
                  properties:
                    remuneratedMode:
                      type: string
                      enum:
                        - hybrid
                      example: hybrid
                    hybridStartAsRemunerated:
                      type: boolean
                      description: >-
                        Initial remuneration state: true = starts as remunerated
                        and switches to not-remunerated after the threshold;
                        false = the opposite.
                      example: true
                    hybridSwitchMinutes:
                      type: integer
                      description: >-
                        Minutes per period after which the remuneration mode
                        switches. Min 1, max 99999.
                      minimum: 1
                      maximum: 99999
                      example: 30
                    hybridSwitchPeriod:
                      type: string
                      enum:
                        - day
                        - week
                        - month
                        - year
                      description: >-
                        Period to which hybridSwitchMinutes applies. Example:
                        minutes=30 + period=day means the mode switches after 30
                        accumulated minutes in the same day.
                      example: day
      responses:
        '201':
          description: Created
          content: {}
        '400':
          description: Bad Request - The request was invalid or cannot be served
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: Error message describing what went wrong
                    example: Validation failed for the provided data
                  errors:
                    type: array
                    description: List of specific validation errors
                    items:
                      type: object
                      properties:
                        field:
                          type: string
                          description: The field that caused the error
                          example: questionId
                        message:
                          type: string
                          description: Specific error message for the field
                          example: This value is not a valid UUID.
              example:
                message: Validation failed
                errors:
                  - field: questionId
                    message: This value is not a valid UUID.
                  - field: answer
                    message: This field is required for text-based questions.
        '401':
          description: Unauthorized - Invalid or missing API Key
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: Error message indicating authentication failure
                    example: Invalid or missing API Key
                  code:
                    type: string
                    description: Error code for programmatic handling
                    example: UNAUTHORIZED
              example:
                message: Invalid or missing API Key
                code: UNAUTHORIZED
      security:
        - Bearer: []
components:
  securitySchemes:
    Bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT

````