Create Empty Scenario
Create a new, empty scenario as a draft with a single trigger event. Build its loaders, conditions and actions afterwards with the Update Draft operations, then publish it with Create Revision. For webhook subscriptions, the simpler path is Import Subscription with a ready template.
Required token scopes: Create scenarios, Manage scenarios on behalf of user (both are required)
Optionally, you can include an authorUid body field (a Texter user UID) to attribute the action to a specific user; when omitted, it is attributed automatically.
הרשאות
API token generated in Texter: gear icon → Developers → API Tokens. When creating a token, assign it the scopes required by the endpoints you plan to call - each endpoint lists its required scopes.
גוף
תגובה
The created scenario (as a draft). Field-by-field reference: The Scenario object
An event subscription (scenario) in Texter
Unique identifier of the subscription/scenario
System scenario identifier. Present only on built-in system scenarios (returned when includeSystem=true)
Draft revisions of this scenario being edited. Same shape as a revision, but with status: "draft", no version/revisionComment, and metadata limited to authorUid/created/modified
Inactive revisions
The currently active version of the scenario