Skip to main content
POST
Trigger a test scenario

Authorizations

Authorization
string
header
required

OAuth 2.0 client credentials. Exchange the client id and secret Securitize issued you for a bearer token at the token URL, with grant_type=client_credentials; the token lasts 2 hours and goes in the Authorization: Bearer header of every request. No scope is needed.

Body

application/json
scenario
enum<string>
required
Available options:
CASH_DIVIDEND_CREATED,
CASH_DIVIDEND_LIFECYCLE,
STOCK_SPLIT_LIFECYCLE,
CA_CORRECTED,
CA_POSTPONED,
CA_CANCELLED,
CA_SUPERSEDED,
RESTRICTION_LIFECYCLE,
UNKNOWN_CA_TYPE
tokenId
string
required

One of your tokens. The run acts on its asset and publishes on every token stream of that asset you hold.

Example:

"7f3b2c10-5d4e-4a6b-9c8d-1e2f3a4b5c6d"

Response

The run, with the steps it executed.

runId
string
required
Example:

"sbx_01K7Q4B1E3G5H7K9M1N3Q5S7V9"

scenario
string
required
tokenId
string
required
steps
object[]
required