Accounts

Save a complete batch of feature choices

post/account-features

Request

  • Base URL: https://app.openpo.st/api/v1
  • URL: https://app.openpo.st/api/v1/account-features
  • Auth: one of:
    • HTTP bearer
    • API key in cookie openpost_session

Request body

$schemastring uri

A URL to the JSON Schema for this object.

workspace_idstring required

Workspace ID

Example request

{
  "$schema": "https://example.com/api/v1/schemas/SaveAccountFeaturesInputBody.json"
}

Response

OK

availability'available' | 'unsupported' | 'missing_scope' | 'plan_restricted' required

Availability state

decided_atstring

When decision was made

decided_by_user_idstring

User who decided

effective_enabledboolean required

Effective enabled state (fail-closed)

feature'messaging' | 'engagement' | 'analytics' | 'grow' required

Feature key

missing_scopesstring[] nullable

Provider scopes missing for this feature

platformstring required

Provider key

reason_code'available' | 'unsupported' | 'missing_scope' | 'plan_restricted' required

Stable reason code

required_scopesstring[] nullable

Required provider scopes for this feature

social_account_idstring required

Social account ID

sourcestring

Source of decision

stored_enabledboolean required

Stored enabled value

stored_existsboolean required

Whether a choice has been stored

supportedboolean required

Whether provider supports this feature

unavailable_reasonstring

Why feature is unavailable

workspace_idstring required

Workspace ID

Changes

No recorded changes to this operation across all 1 revision of this API.