SMS API

This page provides additional details about the SMS API.

MMS

  • Supported file type
  • File Size limit: Public API enforces a maximum request size of 1MB, including attachments. This limit applies regardless of whether the recipient is an internal Dialpad user or an external contact (PSTN). Requests that exceed this limit will receive an HTTP 413 (Payload Too Large) response.

FAQ

How to send a multiple-line text?

Multiple-line text can be achieved by using \n in the text field of the API payload (e.g. "line one \nline two!"). Such sms could be rendered as multiples lines in the Dialpad App (if the recipient is a Dialpad user) and iOS message app, but people have reported in the past the \n does not work on Android. But this is out of our control because it really depends on the recipient’s device to render multiple lines or not when it see \n in the sms. If you really want the multiple line to work, you probably can try breaking it into multiple single-line sms and send them using the sms API sequentially.

How to be A2P compliant?

See https://developers.dialpad.com/docs/a2p-compliance for details.