Validate that a test event for a Sink was received

POST /v1/Sinks/{Sid}/Validate

Validate sink

Validate that a test event for a Sink was received.

Path parameters

  • Sid string Required

    A 34 character string that uniquely identifies the Sink being validated.

Body

  • TestId string Required

    A 34 character string that uniquely identifies the test event for a Sink being validated.

Responses

  • Created

    Hide response attribute Show response attribute object
    • result string | null

      Feedback indicating whether the given Sink was validated.

POST /v1/Sinks/{Sid}/Validate
curl \
 -X POST https://events.twilio.com/v1/Sinks/{Sid}/Validate \
 --user "username:password" \
 -H "Content-Type: application/x-www-form-urlencoded" \
 -d 'TestId=string'
Request example
{
  "TestId": "string"
}
Request examples
{
  "TestId": "string"
}
Response examples (201)
{
  "result": "string"
}
Response examples (201)
{
  "result": "string"
}