> For the complete documentation index, see [llms.txt](https://docs.tsgglobal.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tsgglobal.com/api-reference/phone-numbers/manage-number-for-mms/update-inbound-mms-webhook-uri.md).

# Update inbound MMS webhook/URI

Change the HTTP(S) or MM4 destination that receives inbound MMS for a phone number. Uses the same endpoint as Enable MMS.

## Overview

Update the webhook/URI for inbound MMS messages. This uses the same endpoint as [Enable MMS on a Number](/api-reference/phone-numbers/manage-number-for-mms/enable-mms-on-a-number.md): calling it on a number that already has MMS enabled replaces the inbound URI.

{% hint style="danger" %}
As a prerequisite to use MMS, the number must already be SMS enabled, and your account must have MMS enabled. Contact <support@tsgglobal.com> if you have any concerns.
{% endhint %}

## Authentication

{% hint style="info" %}
Authentication is done by passing your TSG Global API key via the Authorization header in the format "Authorization: Bearer \<api\_key>"
{% endhint %}

## Method

To change where inbound MMS is delivered, call the endpoint below with the new `uri`.

<mark style="color:green;">`POST`</mark> `https://api-service.tsgglobal.world/v2/dids/<number>/mms/enable`

#### Path Parameters

| Name                                     | Type   | Description                                               |
| ---------------------------------------- | ------ | --------------------------------------------------------- |
| number<mark style="color:red;">\*</mark> | String | The phone number whose inbound MMS URI you want to update |

#### Request Body

| Name                                  | Type   | Description                                                                                                          |
| ------------------------------------- | ------ | -------------------------------------------------------------------------------------------------------------------- |
| uri<mark style="color:red;">\*</mark> | String | A URI pointing to the destination at which you want to receive the messages. Can either be HTTP(S) or an MMS server. |

{% tabs %}
{% tab title="200: OK " %}

```json
{
  "mms_enabled": true,
  "mms_uri": "http://mms.example.com",
  "number": "12342341234",
  "sms_enabled": true,
  "sms_uri": null
}
```

{% endtab %}
{% endtabs %}

`sms_uri` of `null` means inbound SMS for the number is delivered over SMPP.
