Messages

Send Message for extension

This service is used to send a message for extension.

This API endpoint is designated for Person to Person (P2P) communications. Improper use for marketing type purposes or Application to Person (A2P) will cause upstream cellular companies to block the “From” number for SMS use. If you plan to use this endpoint for A2P or A2A applications that might also entail high volume, i.e., above the FREE limits set by the Phone.com plan, please contact our API support team at apisupport@phone.com to discuss other options.

post/v4/accounts/{voip_id}/extensions/{extension_id}/messages

Request

  • Base URL: https://api.phone.com
  • URL: https://api.phone.com/v4/accounts/{voip_id}/extensions/{extension_id}/messages
  • Auth: HTTP bearer

Path parameters

voip_idinteger required
extension_idinteger required

Request body

fromstring required

Sender’s phone number must be Phone.com’s

tostring[] required

List of phone numbers to send the message to

textstring

The message text

tagstring

Client-side tracking identifier

Response

Created

object required

Changes

No operation changes recorded.