Skip to main content

Retrieve a messaging profile

GET 
/messaging/profiles/:profile_id

Retrieves the details of an existing messaging profile.

Request

Path Parameters

    profile_id uuidrequired

    ID of messaging profile

Responses

200: Requested messaging profile

Request samples


curl -L 'https://sms.telnyx.com/messaging/profiles/:profile_id' \
-H 'Accept: application/json'

Response samples


{
"user_id": "834f3d53-8a3c-4aa0-a733-7f2d682a72df",
"profile_id": "834f3d53-8a3c-4aa0-a733-7f2d682a72df",
"name": "string",
"enabled": true,
"secret": "rq789onm321yxzkjihfEdcBAmmijjoik",
"incoming_webhook_url": "https://www.example.com/hooks",
"incoming_failover_url": "https://www.example.com/callbacks",
"webhook_api_version": "1",
"whitelisted_destinations": [
"AR",
"BR",
"IE",
"US"
],
"alpha_sender": "Telnyx",
"number_pool_settings": {
"toll_free_weight": 10,
"long_code_weight": 1,
"skip_unhealthy": true,
"sticky_sender": false,
"geomatch": false
},
"url_shortener_settings": {
"domain": "acct.fyi",
"prefix": "",
"replace_blacklist_only": "",
"send_webhooks": ""
}
}