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.

application/x-www-form-urlencoded

Body

  • TestId string Required

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

Responses

  • 201

    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"
}
Response examples (201)
{
  "result": "string"
}