Do you offer a mobile app to your customers? Want to give them the option to easily call or text via OpenPhone right from your app? Deep links can help."
What's deep linking?
Deep links are the types of links that send users directly to specific in-app locations, saving users the time spent locating particular pages themselves.
Say you want to allow your users to navigate from your internal app to make a phone call or send a text message via OpenPhone. Here we'll share how to make it possible and how to set up deep links.
Note: Deep linking is only currently available in mobile apps at this time so you won't be able to add deep links to a web or desktop app.
Who uses deep linking
If you have any sort of mobile app with a communication component to it, your engineering team may want to add deep linking.
Dialing a phone number
<number> - required parameter. A URL-encoded phone number string.
Examples for formats "4107934326" and "+14107934326":
You can also add an optional parameter
action=call . When you pass this parameter, the call will be dialed right away. If you don't pass this parameter, users will have to confirm they really want to dial the number.
Here is a sample link that dials the number and starts the call right away:
Drafting a message
<number> - optional. A URL-encoded phone number string.
<text>- optional. A URL-encoded message body
<attachments>- optional. One or more URL-encoded URLs to files on the web, separated with a comma. URLs should terminate with a concrete file extension, such as ".jpg" or ".pdf".
If your customer taps on a phone number in your app, the OpenPhone mobile app will launch and give them the option to dial the number. If they don't have the OpenPhone app installed, they will be taken to the App Store or Google Play Store to download it.
Need help with deep linking? Looking for more information? Get in touch at firstname.lastname@example.org.