Skip to main content
POST
For a paused subscription, send a future resumeAt in Unix milliseconds to set or replace its automatic resume time. For example, { resumeAt: Date.now() + 24 * 60 * 60 * 1000 } in JavaScript schedules resumption in 24 hours. Send the following JSON to switch to manual resumption. The subscription stays paused.
An empty body or {} has the same effect. Setting, changing, or clearing this time emits subscription.updated.pause_schedule_set. Actual resumption emits subscription.resumed. Clink returns 90100259 if the subscription is not paused and 90100258 if the time is outside the allowed window. Use the UTC range in the error message.

Authorizations

X-API-KEY
string
header
required

Your secret API key obtained from the Clink dashboard (Developers section)

Headers

X-Timestamp
string
required

Current timestamp in milliseconds since Unix epoch (required for request signing)

Example:

"1783513683000"

Path Parameters

id
string
required

Unique identifier of the subscription

Body

application/json
resumeAt
integer<int64> | null

Automatic resume time in Unix milliseconds, later than both now and the pause time and within the allowed scheduling window. Omit or send null for manual resumption.

Example:

1799366400000

Response

Updated subscription on success. Check the business code in the response.

code
integer<int32>

Clink business result code. A value of 200 indicates success.

msg
string

Human-readable result message describing the outcome of the request.

data
object

Subscription details after the operation, including the current status and billing period.