SMS Links
The sms
scheme is used to launch the Messages app. The format for URLs of this type is “sms:
<phone>”, where <phone> is an optional parameter that specifies the target phone number of the SMS message. This parameter can contain the digits 0 through 9 and the plus (+
), hyphen (-
), and period (.
) characters. The URL string must not include any message text or other information.
The following examples show strings formatted for Safari and for native apps.
HTML links:
<a href="sms:">Launch Messages App</a>
<a href="sms:1-408-555-1212">New SMS Message</a>
Native app URL strings:
sms:
sms:1-408-555-1212
Copyright © 2017 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2017-09-19