Update a messaging profile
Updates the supplied settings on the specified messaging profile. Settings omitted from the request remain unchanged.
Path parameters
The id of the messaging profile to retrieve
Request body
Example request
{
"enabled": true,
"name": "Updated Profile for Messages",
"number_pool_settings": {
"geomatch": false,
"long_code_weight": 2,
"skip_unhealthy": false,
"sticky_sender": true,
"toll_free_weight": 10
},
"url_shortener_settings": {
"domain": "example.ex",
"prefix": "cmpny",
"replace_blacklist_only": true,
"send_webhooks": false
},
"v1_secret": "rP1VamejkU2v0qIUxntqLW2c",
"webhook_api_version": "2",
"webhook_failover_url": "https://backup.example.com/hooks",
"webhook_url": "https://www.example.com/hooks",
"whitelisted_destinations": [
"US"
]
}Response
Successful response with details about a messaging profile.
Example response
{
"data": {
"created_at": "2019-01-23T18:10:02.574Z",
"daily_spend_limit": "100.00",
"daily_spend_limit_enabled": false,
"enabled": true,
"health_webhook_url": null,
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"mms_fall_back_to_sms": false,
"mms_transcoding": false,
"mobile_only": false,
"name": "Profile for Messages",
"number_pool_settings": {
"geomatch": false,
"long_code_weight": 2,
"skip_unhealthy": false,
"sticky_sender": true,
"toll_free_weight": 10
},
"record_type": "messaging_profile",
"redaction_enabled": false,
"redaction_level": 2,
"updated_at": "2019-01-23T18:10:02.574Z",
"url_shortener_settings": {
"domain": "example.ex",
"prefix": "cmpny",
"replace_blacklist_only": true,
"send_webhooks": false
},
"v1_secret": "rP1VamejkU2v0qIUxntqLW2c",
"webhook_api_version": "2",
"webhook_failover_url": "https://backup.example.com/hooks",
"webhook_url": "https://www.example.com/hooks",
"whitelisted_destinations": [
"US"
]
}
}Changes
Changed in 2 of the 61 revisions of this API.7
- ▲
the response's body type/format changed from
object/to/for status4XXresponse-body-type-changed
- ▲
the
errors/items/response's property type/format changed fromobject/to/for status4XXresponse-property-type-changed
- ▲
the
errors/items/coderesponse's property type/format changed frominteger/int32tostring/for status4XXresponse-property-type-changed
This revision also has 64 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the response's body type/format changed from
/toobject/for status4XXresponse-body-type-changed
- ▲
the
errors/items/response's property type/format changed from/toobject/for status4XXresponse-property-type-changed
- ▲
the
errors/items/coderesponse's property type/format changed fromstring/tointeger/int32for status4XXresponse-property-type-changed
- ▲
the
errors/items/source/pointerresponse's property type/format changed fromstring/json-pointertostring/for status4XXresponse-property-type-changed
This revision also has 41 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲