Skip to main content
PATCH
/
v1
/
accounts
/
{id}
/
profile
curl -X PATCH https://api.infinipost.co/v1/accounts/acc_1a2b3c4d5e/profile \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "bio": "Premium fashion content daily 👗✨",
    "profilePictureUrl": "https://example.com/new-pic.jpg"
  }'
{
  "id": "acc_1a2b3c4d5e",
  "name": "Fashion Insider",
  "username": "fashioninsider",
  "bio": "Premium fashion content daily 👗✨",
  "profilePictureUrl": "https://storage.googleapis.com/...",
  "updatedAt": "2024-04-21T19:45:00Z"
}

Path Parameters

id
string
required
The unique account identifier.

Request Body

name
string
New display name.Restrictions:
  • TikTok: Can change once every 7 days (after Day 5 of warmup)
  • Instagram: Can change once every 14 days
username
string
New username.Restrictions:
  • TikTok: Can only be set after Day 5 of warmup, then once every 7 days
  • Instagram: No restriction on username changes
bio
string
New bio/description. No restrictions on frequency.
profilePictureUrl
string
URL of new profile picture. Must be a publicly accessible image URL.

Response

id
string
Account identifier.
name
string
Updated display name.
username
string
Updated username.
bio
string
Updated bio.
profilePictureUrl
string
Updated profile picture URL.
updatedAt
string
ISO 8601 timestamp of when the profile was updated.
nextNameChangeAllowed
string
ISO 8601 timestamp of when the name can be changed again (TikTok/Instagram only).
curl -X PATCH https://api.infinipost.co/v1/accounts/acc_1a2b3c4d5e/profile \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "bio": "Premium fashion content daily 👗✨",
    "profilePictureUrl": "https://example.com/new-pic.jpg"
  }'
{
  "id": "acc_1a2b3c4d5e",
  "name": "Fashion Insider",
  "username": "fashioninsider",
  "bio": "Premium fashion content daily 👗✨",
  "profilePictureUrl": "https://storage.googleapis.com/...",
  "updatedAt": "2024-04-21T19:45:00Z"
}
Name Change RestrictionsAttempting to change the name before the allowed time will return a 429 error with the next allowed change date.
{
  "error": {
    "code": "name_change_restricted",
    "message": "You can change your TikTok name again on 2024-04-28",
    "nextAllowedAt": "2024-04-28T10:00:00Z"
  }
}