latestSwagger 2.02026-08-101561322.2 MB

3e4029d19684

User Settings

Fetch callback URL settings

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

get/api/v2/callback/settings

Response

Callback settings has been returned with success.

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 response

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