Callbacks

The Callback Management section lets you configure and test real-time webhooks (callbacks) to receive event notifications from the MyLINK SMS API. Callbacks ensure that your systems are kept up-to-date automatically whenever key messaging events occur, without needing to poll the API.

Key Features

Callback Types Supported

  • Delivery Reports (DLRs) – receive delivery status updates for messages you’ve sent.
  • Mobile Originated Messages (MOs) – receive messages that users send to your long/sub-number.
  • Other Events – depending on service, may include opt-ins, keyword replies, or system errors.

Create & Edit Callbacks

  • Specify the callback URL endpoint
  • Set the event type (DLR, MO, etc.)
  • Choose content format (JSON, form-encoded, etc.)
  • Optionally configure headers (e.g., for authentication)

Test Your Endpoint

  • Use the Test feature to simulate a real event.
  • See the payload and the HTTP response.
  • Quickly verify that your system correctly receives and responds to callbacks.

Manage Your Callbacks

  • Enable, disable, or delete any registered callback.
  • See callback status and last delivery results.
  • Use this to monitor reliability and adjust integration.

Best Practices

  • Use HTTPS URLs with TLS 1.2 or higher.
  • Validate request origins on your side using headers or tokens.
  • Ensure your endpoint responds within 2 seconds to avoid timeouts.
  • Consider logging and retry handling in your backend.