Validate that a test event for a Sink was received.
Validate sink
Validate that a test event for a Sink was received.
Path parameters
-
A 34 character string that uniquely identifies the Sink being validated.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^DG[0-9a-fA-F]{32}$
.
POST
/v1/Sinks/{Sid}/Validate
curl \
--request POST 'https://events.twilio.com/v1/Sinks/{Sid}/Validate' \
--user "username:password" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data 'TestId=TestID'
Request example
{"TestId"=>"TestID"}
Response examples (201)
{
"result": "valid"
}