Skip to main content
Version: v3New

Create Countdown Timer

POST 

/countdown-timer/timers

Create a countdown timer for the access token's location

Request​

Version stringrequired

API Version

Available optionsv3
application/json

Bodyrequired

    namestringrequired

    Timer name

    timerTypestringrequired

    Timer type

    Available optionsfixeddynamicrecurring
    templateIdstringrequired

    Template ID from the list-templates endpoint

    endDatestring

    End date in ISO 8601 format. Required for fixed timers.

    timezonestring

    Valid IANA timezone identifier

    timerDurationobject

    Timer duration. Required for dynamic and recurring timers.

    waitTimeobject

    Wait time between recurring loops

    designMetaobjectrequired

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

    hideTimerForAppleMailboolean

    Hide timer for Apple Mail clients

    Default value: false
    dynamicTimerParamsobject

    Dynamic timer parameters. Required for dynamic timers.

    linksobject

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

    expiryImageLinkstring

    Image to show when timer expires

    bgImageLinkstring

    Background image for timer

application/json

Timer created successfully

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