Skip to main content
POST
/
v1
/
accounts
/
{accountId}
/
warmup
/
stop
curl -X POST https://api.infinipost.co/v1/accounts/acc_1a2b3c4d5e/warmup/stop \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "accountId": "acc_1a2b3c4d5e",
  "platform": "tiktok",
  "warmupStatus": {
    "enabled": false,
    "stoppedAt": "2024-04-25T20:05:00Z",
    "startedAt": "2024-04-21T20:00:00Z",
    "duration": 7
  }
}

Path Parameters

accountId
string
required
The unique account identifier.

Response

accountId
string
The account identifier.
platform
string
Platform: tiktok or instagram.
warmupStatus
object
Updated warmup status.
curl -X POST https://api.infinipost.co/v1/accounts/acc_1a2b3c4d5e/warmup/stop \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "accountId": "acc_1a2b3c4d5e",
  "platform": "tiktok",
  "warmupStatus": {
    "enabled": false,
    "stoppedAt": "2024-04-25T20:05:00Z",
    "startedAt": "2024-04-21T20:00:00Z",
    "duration": 7
  }
}

Error Responses

Unauthorized
{
  "error": {
    "code": "unauthenticated",
    "message": "Invalid or missing API key"
  }
}
Account Not Found
{
  "error": {
    "code": "not_found",
    "message": "Account acc_1a2b3c4d5e not found"
  }
}
Warmup Not Active
{
  "error": {
    "code": "warmup_not_active",
    "message": "No active warmup found for this account"
  }
}
Server Error
{
  "error": {
    "code": "internal",
    "message": "An unexpected error occurred"
  }
}