Update inbound MMS webhook/URI

Overview

Update the webhook/URI for inbound MMS messages.

As a prerequisite to use MMS, the number you are enabling must already be SMS enabled, and your account must have MMS enabled. Contact support@tsgglobal.com if you have any concerns.

Authentication

Authentication is done by passing your TSG Global API key via the Authorization header in the format "Authorization: Bearer <api_key>"

Method

To enable MMS, call the below end-point and set the PostURL for inbound MMS.

POST https://api-service.tsgglobal.world/v2/dids/<number>/mms/enable

Path Parameters

NameTypeDescription

number*

String

The phone number you would like to update sms uri for

Request Body

NameTypeDescription

uri*

String

A URI pointing to the destination at which you want to receive the messages. Can either be HTTP(S) or an MMS server.

{
  "mms_enabled": true,
  "mms_uri": "http://mms.example.com",
  "number": "12342341234",
  "sms_enabled": true,
  "sms_uri": null # null means SMPP
}

Last updated