Skip to main content
GET
/
v1
/
accounts
/
{accountId}
curl "https://api.infinipost.co/v1/accounts/acc_1a2b3c4d5e" \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "accountId": "acc_1a2b3c4d5e",
  "phoneId": "phone_abc123",
  "platform": "tiktok",
  "name": "Fashion Insider",
  "username": "fashioninsider",
  "bio": "Daily fashion tips and trends 👗",
  "accountStatus": "warming_up",
  "warmupDay": 3,
  "warmupStartDate": "2024-04-19T10:00:00Z",
  "warmupCompletionDate": "2024-04-26T10:00:00Z",
  "profilePicUrl": "https://storage.googleapis.com/...",
  "createdAt": "2024-04-19T10:00:00Z"
}

Path Parameters

accountId
string
required
The unique account identifier.

Response

accountId
string
Unique identifier for the account.
phoneId
string
ID of the phone this account belongs to.
platform
string
Platform: tiktok or instagram.
name
string
Display name of the account.
username
string
Account username. For TikTok accounts, this is set on Day 5 of warmup and may be empty before then.
bio
string
Account bio.
accountStatus
string
Current account status: created_pending_warmup, warming_up, or ready.
warmupDay
number
Current day of the 7-day warmup period. 0 if warmup has not started.
warmupStartDate
string
ISO 8601 date when warmup started. null if warmup has not started.
warmupCompletionDate
string
ISO 8601 date when warmup will complete. null if warmup has not started.
profilePicUrl
string
URL of the account’s profile picture.
createdAt
string
ISO 8601 timestamp of when the account was created.
curl "https://api.infinipost.co/v1/accounts/acc_1a2b3c4d5e" \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "accountId": "acc_1a2b3c4d5e",
  "phoneId": "phone_abc123",
  "platform": "tiktok",
  "name": "Fashion Insider",
  "username": "fashioninsider",
  "bio": "Daily fashion tips and trends 👗",
  "accountStatus": "warming_up",
  "warmupDay": 3,
  "warmupStartDate": "2024-04-19T10:00:00Z",
  "warmupCompletionDate": "2024-04-26T10:00:00Z",
  "profilePicUrl": "https://storage.googleapis.com/...",
  "createdAt": "2024-04-19T10:00:00Z"
}

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"
  }
}
Server Error
{
  "error": {
    "code": "internal",
    "message": "An unexpected error occurred"
  }
}