v1

latestSwagger 2.0Apache 2.02026-07-13123128517.6 KB
keywords

Update a lease

Updates a keyword lease. Turns the autoRenew on/off. Configure double opt in feature. Add/remove contact list from keyword.

put/keywords/leases/{keyword}

Path parameters

keywordstring required

To update a keyword lease

Request body

shortCodestring

A short code assigned to keyword. Example: 67076 (Deprecated - please use number instead)

numberstring

A number assigned to keyword. Example: 12132212344

keywordstring

A text used as a keyword

leaseBegininteger

A time of a lease timestamp, formatted in unix time milliseconds (read only). Example: 1473781817000 for Sat, 05 Jan 1985 14:03:37 GMT

leaseEndinteger

A date and time when the keyword lease is finishes. Timestamp, formatted in unix time milliseconds (read only). Example: 1473781817000

autoRenewboolean

Enables the auto renewal of a keyword lease at the end of each billing cycle

doubleOptInEnabledboolean

Enable/disable double opt in feature

optInConfirmationMessagestring

Opt in confirmation message

contactListIdinteger

Existing contact list ID

status'PENDING' | 'ACTIVE' | 'RELEASED' | 'UNAVAILABLE'

A lease status. Available values: PENDING, ACTIVE, RELEASED, UNAVAILABLE

labelsstring[]

~

type'PLAN' | 'EXTRA'

~