The Sink Test Resource creates a test event. This test gives you a simple way to publish to yourself and programatically ensure that your Sink is ready to receive events.
To create an active Kinesis Sink, you'll need to complete the following steps. Webhook Sinks are active by default but you can choose to validate them if you would like to. The steps in bold are handled using the Sink Test Resource:
initialized
by default. The status of Webhook Sinks will be
active
by default.
test_id
and create a
Sink Validate Resource
. This will let Twilio know that you successfully configured the Sink, and will toggle the Sink state to
active
Feedback indicating whether the test event was generated.
POST https://events.twilio.com/v1/Sinks/{Sid}/Test
Initiates a test event on a Sink. Once a Test Event has been initiated, the Sink status
property will be set to Validating
.
If a Test event is initiated twice then the most recent test event will take precedence and the first Test event will no longer be valid.
A 34 character string that uniquely identifies the Sink to be Tested.