Skip to content
Last updated

Configure an account for QA testing

It is possible to configure a mock provider for testing purposes without sending real SMS messages. This is intended for QA testing only.

To set it up:

  • Request mock provider configuration for your account via the support portal
  • Optionally, provide a callback endpoint to be called for every message sent
  • Use the send methods without any changes

When the mock provider is configured, no SMS messages are sent. If you provide a callback endpoint (HTTP POST), the SMS service will call it for every message you send with the following JSON body:

{
  "to": "+4412345678",
  "text": "Hello, World"
}