{
"PhoneNumber": "+13156120726",
"AccountId": "AID-eab92510-1040-45a5-bb9c-xxxx",
"EnableMms": true
}curl -X POST https://api.telegent.com/v1.0/numbers/mms/update \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"PhoneNumber": "+13156120726",
"AccountId": "AID-eab92510-1040-45a5-bb9c-xxxx",
"EnableMms": true
}'import requests
url = "https://api.telegent.com/v1.0/numbers/mms/update"
payload = {
"PhoneNumber": "+13156120726",
"EnableMms": True,
"AccountId": "AID-eab92510-1040-45a5-bb9c-xxxx"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
PhoneNumber: '+13156120726',
EnableMms: true,
AccountId: 'AID-eab92510-1040-45a5-bb9c-xxxx'
})
};
fetch('https://api.telegent.com/v1.0/numbers/mms/update', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.telegent.com/v1.0/numbers/mms/update",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'PhoneNumber' => '+13156120726',
'EnableMms' => true,
'AccountId' => 'AID-eab92510-1040-45a5-bb9c-xxxx'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.telegent.com/v1.0/numbers/mms/update"
payload := strings.NewReader("{\n \"PhoneNumber\": \"+13156120726\",\n \"EnableMms\": true,\n \"AccountId\": \"AID-eab92510-1040-45a5-bb9c-xxxx\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.telegent.com/v1.0/numbers/mms/update")
.header("Content-Type", "application/json")
.body("{\n \"PhoneNumber\": \"+13156120726\",\n \"EnableMms\": true,\n \"AccountId\": \"AID-eab92510-1040-45a5-bb9c-xxxx\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.telegent.com/v1.0/numbers/mms/update")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"PhoneNumber\": \"+13156120726\",\n \"EnableMms\": true,\n \"AccountId\": \"AID-eab92510-1040-45a5-bb9c-xxxx\"\n}"
response = http.request(request)
puts response.read_body{
"PhoneNumber": "+13156120726",
"AccountId": "AID-eab92510-1040-45a5-bb9c-xxxx",
"MMS": "Enabled",
"Status": "Success",
"StatusMessage": "MMS settings updated successfully."
}{
"StatusCode": 123,
"Message": "<string>"
}{
"StatusCode": 123,
"Message": "<string>"
}{
"StatusCode": 123,
"Message": "<string>"
}{
"StatusCode": 123,
"Message": "<string>"
}{
"StatusCode": 123,
"Message": "<string>"
}{
"StatusCode": 123,
"Message": "<string>"
}{
"StatusCode": 123,
"Message": "<string>"
}{
"StatusCode": 123,
"Message": "<string>"
}{
"StatusCode": 123,
"Message": "<string>"
}{
"StatusCode": 123,
"Message": "<string>"
}Numbers - Update MMS Settings
Enable or disable MMS (multimedia messaging) on a provisioned phone number. Use this to turn picture, video and group messaging on for a line, or to disable it while leaving SMS in place.
What this does: Sets the MMS feature flag on the line and returns the resulting state. SMS is unaffected either way — disabling MMS does not stop the line sending or receiving text messages.
Reading the response: MMS reflects the state of the line after the update (Enabled or Disabled). Check Status — Success means the change was applied; any other value means it was not, and StatusMessage carries the reason.
Next steps:
- Confirm the line’s current service state —
POST /v1.0/numbers/status - Review the account’s message routing —
GET /v1.0/message/routes
{
"PhoneNumber": "+13156120726",
"AccountId": "AID-eab92510-1040-45a5-bb9c-xxxx",
"EnableMms": true
}curl -X POST https://api.telegent.com/v1.0/numbers/mms/update \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"PhoneNumber": "+13156120726",
"AccountId": "AID-eab92510-1040-45a5-bb9c-xxxx",
"EnableMms": true
}'import requests
url = "https://api.telegent.com/v1.0/numbers/mms/update"
payload = {
"PhoneNumber": "+13156120726",
"EnableMms": True,
"AccountId": "AID-eab92510-1040-45a5-bb9c-xxxx"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
PhoneNumber: '+13156120726',
EnableMms: true,
AccountId: 'AID-eab92510-1040-45a5-bb9c-xxxx'
})
};
fetch('https://api.telegent.com/v1.0/numbers/mms/update', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.telegent.com/v1.0/numbers/mms/update",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'PhoneNumber' => '+13156120726',
'EnableMms' => true,
'AccountId' => 'AID-eab92510-1040-45a5-bb9c-xxxx'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.telegent.com/v1.0/numbers/mms/update"
payload := strings.NewReader("{\n \"PhoneNumber\": \"+13156120726\",\n \"EnableMms\": true,\n \"AccountId\": \"AID-eab92510-1040-45a5-bb9c-xxxx\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.telegent.com/v1.0/numbers/mms/update")
.header("Content-Type", "application/json")
.body("{\n \"PhoneNumber\": \"+13156120726\",\n \"EnableMms\": true,\n \"AccountId\": \"AID-eab92510-1040-45a5-bb9c-xxxx\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.telegent.com/v1.0/numbers/mms/update")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"PhoneNumber\": \"+13156120726\",\n \"EnableMms\": true,\n \"AccountId\": \"AID-eab92510-1040-45a5-bb9c-xxxx\"\n}"
response = http.request(request)
puts response.read_body{
"PhoneNumber": "+13156120726",
"AccountId": "AID-eab92510-1040-45a5-bb9c-xxxx",
"MMS": "Enabled",
"Status": "Success",
"StatusMessage": "MMS settings updated successfully."
}{
"StatusCode": 123,
"Message": "<string>"
}{
"StatusCode": 123,
"Message": "<string>"
}{
"StatusCode": 123,
"Message": "<string>"
}{
"StatusCode": 123,
"Message": "<string>"
}{
"StatusCode": 123,
"Message": "<string>"
}{
"StatusCode": 123,
"Message": "<string>"
}{
"StatusCode": 123,
"Message": "<string>"
}{
"StatusCode": 123,
"Message": "<string>"
}{
"StatusCode": 123,
"Message": "<string>"
}{
"StatusCode": 123,
"Message": "<string>"
}Body
The phone number to update, in E.164 format (e.g. +13156120726). Required.
"+13156120726"
Set to true to enable MMS on the number, or false to disable it. Required.
true
Account identifier (AID- prefix) that the number belongs to. Conditional — required for distributors whose Bearer token has access to more than one account, and optional otherwise.
"AID-eab92510-1040-45a5-bb9c-xxxx"
Response
Success — returns the line's MMS state after the update
The response is of type object.