SMS

Create SMS

Send a SMS to one or a group of recipients.

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}/sms

Request

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

Path parameters

voip_idinteger required

Request body

textstring required

Text body of the outgoing SMS message

fromstring required

Phone number of sender

extension_idinteger nullable

ID of Extension where the sms is saved

direction'out'

Type of SMS direction (in or out)

tostring required

Outgoing destination numbers

Response

Created

object required

Changes

No operation changes recorded.