Customizing email and SMS providers
You can customize the email sender and the SMS provider for the IBM® Verify notification messages.
Before you begin
Customers that want to integrate their own SMS provider for IBM Verify OTP notifications must configure an external webhook endpoint that accepts POST requests from IBM Verify.
External webhook setup requirements
- The external SMS provider must expose an HTTP POST webhook endpoint to receive OTP notification requests from IBM Verify.
- The endpoint must immediately queue requests and return an HTTP response.
Sample JSON request payload
{
"destinationPhoneNumber": "18005551212",
"content": "Your passcode is 6439-123456. It expires in 5 minutes.",
"category": "OTP",
"language": "en-US",
"otp": "123456",
"correlation": "6439",
"expiry": 5
}Field-level descriptions
destinationPhoneNumber- The recipient’s phone number in E.164 format.
content- The complete SMS text that is shown to the user.
category- OTP
language- The locale or language code, for example en-US.
otp- The one-time passcode value.
correlation- The ID to correlate OTP with a verification flow; typically shown in message.
expiry- The validity duration in minutes.
Webhook response requirements
- 202 Accepted
- Request successfully queued.
- 400 Bad Request
- Payload format invalid.
- 500 Internal Server Error
- Provider unable to process.
Example of a success response
{
"status": "accepted",
"statusMessage": "Message accepted by provider"
}Example of a failure response
{
"status": "failed",
"statusMessage": "The destination phone number is invalid."
}About this task
IBM is the default email sender and SMS provider for Verify.
icon on the