Skip to content

STATEMENT_CREATED

Request payload

POST: https://api.{ENV}.dais.com/ioi/v3/event/fire

curl --location --request POST 'https://api.{ENV}.dais.com/ioi/v3/event/fire' \
--header 'Authorization: Basic <yourAuthHere>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "type": "STATEMENT_CREATED",
    "payload": {
        "statementId": "<statementId>"
    }
}'
{
  "type": "STATEMENT_CREATED",
  "payload": {
        "statementId": "b5d87fb6-1f92-44b7-882a-0470ce228395"
    }
}

Event payload fields:

TypeRequiredDescription
typetrueMust be set to STATEMENT_CREATED
payloadtrueExplained below

Payload fields

TypeRequiredDescription
statementIdtrueUUID for the statement