Skip to main content

Start a Test Invocation

POST 

/trigger-invocations/test

experimental

This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.

Initiate a test event for all subscribers of the specified event trigger. If there are no subscribers to the specified trigger in the tenant, then no test event will be sent.

Request

Header Parameters

    X-SailPoint-Experimental stringrequired

    Default value: true

    Use this header to enable this experimental API.

    Example: true

Body

required

    triggerId stringrequired

    Trigger ID

    input object

    Mock input to use for test invocation. This must adhere to the input schema defined in the trigger being invoked. If this property is omitted, then the default trigger sample payload will be sent.

    contentJson objectrequired

    JSON map of invocation metadata.

    subscriptionIds string[]

    Only send the test event to the subscription IDs listed. If omitted, the test event will be sent to all subscribers.

Responses

Test trigger invocations that have been started for specified subscription(s).

Schema

  • Array [

  • id string

    Invocation ID

    triggerId string

    Trigger ID

    secret string

    Unique invocation secret.

    contentJson object

    JSON map of invocation metadata.

  • ]

Loading...