Automation

Build a draft comment automation

Builds the draft before the post is saved. funnel and template are ready at once; prompt answers building — poll GET /automation/drafts/{flowId}.

post/automation/drafts

Request

  • Base URL: https://www.sociahive.com/api/v1
  • URL: https://www.sociahive.com/api/v1/automation/drafts
  • Auth: one of:
    • API key in header X-API-Key
    • OAuth 2 (authorization code, authorization URL /api/oauth/authorize, token URL /api/oauth/token, scopes: flows:write, posts:write)

Request body

door'funnel' | 'template' | 'prompt' required
account_idstring required

The Instagram account the automation listens on.

keywordstring

door funnel only (required there).

linkstring uri

door funnel only.

template_idstring

door template only (required there).

inputsobject

door template only.

promptstring

door prompt only (required there).

Example request

{
  "account_id": "507f1f77bcf86cd799439011"
}

Response

Draft created

Changes

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