Skip to content
campaiDeveloper
campai.com

Crm ยท Social integrations

GET/{organizationId}/crm/communication/socialIntegrations/{accountId}/publishingOptions

Get social publishing options

Lists platform publishing choices for a connected social account.

Permissions

Send an API key of the organization in the path, using the X-API-Key header.

Permission checks in detail
Required permissions
  • social.read

Request

Path parameters

  • organizationIdidrequired
  • accountIdidrequired
Request
curl --fail-with-body --silent --show-error --max-time 30 --globoff \
  --request GET 'https://cloud.campai.com/api/YOUR_ORGANIZATION_ID/crm/communication/socialIntegrations/YOUR_ACCOUNT_ID/publishingOptions' \
  --header 'X-API-Key: YOUR_API_KEY'

Response

200 Successful response

Content-Type: application/json

  • boardsobject[]
    2 properties
    • idstring
    • namestring
  • privacyOptionsstring[]
  • creatorNamestringnullable
  • commentDisabledboolean
  • duetDisabledboolean
  • stitchDisabledboolean
  • maxVideoDurationSecondsnumbernullable
Response200
{
  "boards": [
    {
      "id": "string",
      "name": "string"
    }
  ],
  "privacyOptions": [
    "string"
  ],
  "creatorName": "string",
  "commentDisabled": true,
  "duetDisabled": true,
  "stitchDisabled": true,
  "maxVideoDurationSeconds": 1
}

Errors

No errors of its own are known for this endpoint.

Errors nearly every request can meet are listed under Errors.