ReferenceSocialSocialAutomationsIdGo live
Start replying to new comments
422 SOCIAL_AUTOMATION_INVALID with details.problems when a rule or the account's readiness fails. Only comments made after going live are answered.
Loading the API reference…
422 SOCIAL_AUTOMATION_INVALID with details.problems when a rule or the account's readiness fails. Only comments made after going live are answered.
A practice API key or an OAuth access token, both presented as Authorization: Bearer <token>. The token itself names the practice, so no organization header is needed.
In: header
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$uuidapplication/json
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/social/automations/497f6eca-6276-4993-bfeb-53cbbbba6f08/go-live" \ -H "Content-Type: application/json" \ -d '{ "expectedVersion": 1 }'{ "name": "string", "socialAccountId": "05a4c669-9071-470b-a818-13e561e0592a", "postScope": "any", "postId": "string", "postSnapshot": { "caption": "string", "permalink": "http://example.com", "thumbnailUrl": "http://example.com", "postedAt": "2019-08-24T14:15:22Z" }, "keywordMode": "keywords", "keywords": [ "string" ], "publicReplyEnabled": true, "publicReplies": [ "string" ], "openingEnabled": true, "openingText": "string", "openingButtonLabel": "string", "linkText": "string", "linkButtonLabel": "string", "linkUrl": "http://example.com", "oncePerUser": true, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "status": "draft", "version": 1, "account": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "platform": "facebook", "displayName": "string", "handle": "string", "avatarUrl": "string" }, "metrics": { "runs": 0, "sends": 0, "clicks": 0, "ctr": 0 }, "readiness": { "ready": true, "privateReplies": true, "dmConnection": true, "buttons": true, "problems": [ "string" ] }, "wentLiveAt": "2019-08-24T14:15:22Z", "stoppedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}0 < value <= 9007199254740991