Docs

Create Schedule Block Type

POST /schedule-block-types

POST/schedule-block-types

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour API key. Pass it as the Bearer token on every request.
Organization tokenx-Organization-TokenOptionalRun **Authorize Organization** in the Authorization folder.

Creates a schedule block type.

Requires ResourceTypeDatabase.Edit permission.

Request Body

FieldTypeRequiredDescription
namestringRequiredInternal name.
labelstringOptionalDisplay label.
iconstringOptionalIcon identifier.
colorstringOptionalColor token.
defaultResourceStateIdGuid?OptionalThe state a block of this type puts its resource into by default.

Response

201 Created with the new type's id as a bare Guid.

Error Codes

HTTP StatusDescription
400Invalid arguments.