Automation

Arm or unarm a post's automation

Only a person (the SociaHive iOS app) may call this; API keys and third-party OAuth clients get 403 arm_requires_human.

patch/posts/{id}/automation

Request

  • Base URL: https://www.sociahive.com/api/v1
  • URL: https://www.sociahive.com/api/v1/posts/{id}/automation
  • 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)

Path parameters

idstring required

MongoDB ObjectId (24-character hex string)

Example:507f1f77bcf86cd799439011

Request body

armedboolean required
previewed_hashstring

Response

Armed state

Changes

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