Skip to main content
PUT
/
tokens
/
{tokenId}
/
settings
Update platform account settings
curl --request PUT \
  --url https://app.autoposting.ai/api-proxy/tokens/{tokenId}/settings \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "defaultReplyControl": "everyone",
  "autoRepost": true
}
'
{
  "success": true,
  "data": {
    "tokenId": "tok_01HXYZ",
    "defaultReplyControl": "everyone",
    "autoRepost": true
  }
}

Authorizations

Authorization
string
header
required

API key as Authorization: Bearer sk-social-...

Path Parameters

tokenId
string
required

Identifier of the stored platform token.

Example:

"tok_01HXYZ"

Body

application/json
defaultReplyControl
enum<string>

Default reply control for Threads posts.

Available options:
everyone,
accounts_you_follow,
mentioned_only
Example:

"everyone"

autoRepost
boolean

Enable automatic reposting for this account.

Example:

true

Response

Settings updated.

success
boolean
Example:

true

data
object