Comment triggers

Simulate a comment

Dry run: what would happen if this text were commented on this channel and post. Runs the live matcher over every trigger in id order and reports the first that fires, the reason each other one did not, the linked flow that would start, or the native flow that would answer if no trigger fires. Nothing is sent and nothing is recorded. Per-person rules (opt-out, blocklist, once-per-user) are not simulated. Requires the read scope.

get/comment-triggers/simulate

Request

  • Base URL: https://sumgenius.ai/api/v1
  • URL: https://sumgenius.ai/api/v1/comment-triggers/simulate
  • Auth: one of:
    • API key in header X-SumGenius-Api-Key
    • HTTP bearer

Query parameters

platform'instagram' | 'facebook' required

Channel the comment would be on.

textstring required

The comment text.

source_type'comment' | 'story' | 'live'

Default comment.

post_idstring

The post the comment would be on. Needed for post-scoped triggers to match.

Response

OK

Changes

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