Media

    PropertyTypeDescription
    mediatypeid
    (required)
    stringID of the media type used by the media.
    sendto
    (required)
    string/arrayAddress, user name or other identifier of the recipient.

    If type of Media type is e-mail, values are represented as array. For other types of , value is represented as a string.
    activeintegerWhether the media is enabled.

    Possible values:
    0 - (default) enabled;
    1 - disabled.
    severityintegerTrigger severities to send notifications about.

    Severities are stored in binary form with each bit representing the corresponding severity. For example, 12 equals 1100 in binary and means, that notifications will be sent from triggers with severities warning and average.

    Refer to the trigger object page for a list of supported trigger severities.

    Default: 63
    periodstringTime when the notifications can be sent as a or user macros separated by a semicolon.

    Default: 1-7,00:00-24:00