Skip to main content
PATCH
Update an account's permissions

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

account_id
string
required

Account ID

Body

application/json

New permissions

permissions
string[] | null
required

Permissions replaces the account's permissions and is required. Send null to give the account every permission, including ones added later. An empty list is rejected. Removing a permission immediately deletes the comments, messages, analytics and posts not published through SocialAPI that it covers; posts published through SocialAPI are kept. Valid values: posts.read, posts.write, comments.read, comments.write, messages.read, messages.write, reviews.read, reviews.write, analytics.read.

Example:

Response

OK

brand_id
string
required

[always] SocialAPI brand ID this account belongs to

effective_permissions
string[] | null
required

[always] The permissions this account can use right now: the requested permissions the platform supports, minus any the platform did not grant or has since refused. Uses the same names as permissions. An empty list when none apply

id
string
required

[always]

Example:

"acc_01HZ9X3Q4R5M6N7P8V2K0W1J"

name
string
required

[always] Display name of the account or page

Example:

"Acme Corp"

permissions
string[] | null
required

[always] The permissions requested for this account: one or more of posts.read, posts.write, comments.read, comments.write, messages.read, messages.write, reviews.read, reviews.write, analytics.read. null means every permission, including ones added later

platform
enum<string>
required

[always]

Available options:
app_store_connect,
bluesky,
facebook,
google,
instagram,
instagram_fb,
linkedin,
linkedin_page,
pinterest,
telegram,
threads,
tiktok,
twitter,
whatsapp,
youtube,
zalo
Example:

"instagram"

status
string
required

[always] One of: active, reconnect_required

Example:

"active"

username
string
required

[always] May equal Name on platforms without a distinct handle

Example:

"acmecorp"

bio
string

[optional] Profile biography or description

connection_type
enum<string>

[optional] LinkedIn only: "profile" for a member profile, "organization" for a company Page. Absent for every other account

Available options:
profile,
organization
Example:

"profile"

login_id
string

[optional] Login id shared by accounts connected in the same authorization (facebook, google, linkedin)

metadata
object

[optional] Platform-specific keys for this account

page_name
string

[optional] Name of the single active page bound to this account; set only when exactly one page is active (e.g. facebook), so clients can label the tile with the page instead of the login identity

profile_picture_url
string

[optional] Profile picture URL

reconnect_reason
string

[optional] Human-readable reason; only set when Status == "reconnect_required"