Types

The following is a list of the types of data used within the Cal.com API:

NameDefinitionExample

ID

A unique value used to identify resources.

"V0fra8eEgQwEpFhYG2vTzC3K"

Numeric ID

A unique integer number used to identify resources.

7

String

A string is a sequence of characters used to represent text.

"value"

Integer

An integer is a number without decimals.

1234

Float

A float is a number with decimals.

12.34

Map

A data structure with a list of values assigned to a unique key.

{ "key": "value" }

List

A data structure with only a list of values separated by a comma.

["value", 1234, 12.34]

Enum

An Enum is a String with only a few possible valid values.

A | B

Date

An Integer representing a date in milliseconds since the UNIX epoch.

1540095775941

Boolean

A Boolean is a type of two possible values representing true or false.

true

Last updated

Logo

Copyright 2023 Cal.com, Inc. All rights reserved.