latestSwagger 2.02026-08-101561322.2 MB

3e4029d19684

User Settings

Update callback URL settings

<a class="try-sandbox-link" href="https://sandbox.textmagic.com/#/undefined/updateCallbackSettings" target="_blank">Try in sandbox</a><br>

put/api/v2/callback/settings

Request body

outUrlstring nullable required

This URL is used to push message delivery status updates to your application.

inUrlstring nullable required

This URL is used to push incoming SMS to your application.

format'm' | 'u' | 'j' required

Desired callback data format. m - multipart/form-data, u - application/x-www-form-urlencoded, j - application/json

Example request

{
  "outUrl": "http://www.mysite.com/delivery-callback.php",
  "inUrl": "http://www.mysite.com/incoming-sms-callback.php"
}

Response

Request executed with success.