Skip to main content
Version: v3New

Update Countdown Timer

PATCH 

/countdown-timer/timers/:timerId

Update an existing countdown timer

Request​

Version stringrequired

API Version

Available optionsv3
timerId stringrequired

Countdown Timer ID

application/json

Bodyrequired

    namestring

    Timer name

    timerTypestring

    Timer type

    Available optionsfixeddynamicrecurring
    templateIdstring

    Template ID from the list-templates endpoint

    endDatestring

    End date (ISO 8601)

    startDatestring

    Start date (ISO 8601)

    timezonestring

    Valid IANA timezone identifier

    timerDurationobject

    Timer duration

    waitTimeobject

    Wait time between recurring loops

    loopCountnumber

    Number of recurring loops

    designMetaobject

    Design metadata for timer appearance. Get defaults from the templates endpoint and customize as needed.

    expiryImageLinkstring

    Expiry image link

    bgImageLinkstring

    Background image link

    linksobject

    Timer redirect links for active, expired, and non-user states

    hideTimerForAppleMailboolean

    Hide timer for Apple Mail clients

    hideRecurringTimerFunnelsboolean

    Hide recurring timer in funnels preview

    dynamicTimerParamsobject

    Dynamic timer parameters

application/json

Timer updated

Schema
    idstringrequired

    Timer ID

    namestringrequired

    Timer name

    templateIdstring

    Template ID

    locationIdstringrequired

    Location ID

    statusstringrequired

    Timer status

    Available optionsactivedraftarchived
    timerTypestringrequired

    Timer type

    Available optionsfixeddynamicrecurring
    endDatestring

    End date (ISO 8601)

    startDatestring

    Start date (ISO 8601)

    timezonestring

    Timezone

    designMetaobject

    Design metadata for timer appearance

    timerDurationobject

    Timer duration

    linksobject

    Timer links

    trackingLinkstring

    Tracking link URL

    hasLinkboolean

    Whether timer has an active link

    previewUrlstring

    Preview image URL

    thumbnailUrlstring

    Thumbnail image URL

    expiryImageLinkstring

    Expiry image link

    loopCountnumber

    Number of recurring loops

    waitTimeobject

    Wait time between loops

    hideTimerForAppleMailboolean

    Hide timer for Apple Mail clients

    hideRecurringTimerFunnelsboolean

    Hide recurring timer in funnels

    dynamicTimerParamsobject

    Dynamic timer parameters

    createdAtstring

    Created timestamp

    updatedAtstring

    Updated timestamp