Skip to main content
GET
Required token scopes: View scenarios

Authorizations

Authorization
string
header
required

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.

Query Parameters

skip
string

The number of results to skip (0-100000)

limit
string

The maximum number of results to return (1-1000)

triggerEvents[]
string[]

Return only scenarios having one of these trigger events in their active revision (e.g. domain.message.created)

onlyActive
enum<string>

Return only scenarios with an active revision

Available options:
true,
false
draftsAuthor
string

Return only scenarios with drafts created by this user

sortLatestModified
enum<string>

Sort the scenarios by modified time

Available options:
asc,
desc
sortLatestActivated
enum<string>

Sort the scenarios by activated time

Available options:
asc,
desc

Response

The matching scenarios and total count. Field-by-field reference: The Scenario object

total
number

Total number of scenarios matching the query

scenarios
object[]