Accounts

Opt a connected account into or out of native post imports

put/accounts/{account_id}/post-imports

Request

  • Base URL: https://app.openpo.st/api/v1
  • URL: https://app.openpo.st/api/v1/accounts/{account_id}/post-imports
  • Auth: one of:
    • HTTP bearer
    • API key in cookie openpost_session

Path parameters

account_idstring required

Connected account ID

Request body

$schemastring uri

A URL to the JSON Schema for this object.

enabledboolean required

Whether native post imports are enabled

workspace_idstring required

Workspace ID

Example request

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

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

account_idstring required
enabledboolean required
failure_messagestring
last_success_atstring date-time
next_cursorstring
next_eligible_atstring date-time
platformstring required
statusstring required
supportedboolean required
unavailable_reasonstring

Example response

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

Changes

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