Deep Linking

(Updated 5/1/2023)

What is Deep Linking?

Deep Linking is a technique in which a given URL or resource is used to open a specific page or screen on mobile. So, instead of just launching the app on mobile, using our deep link method can lead a user to open PAVE's PWA in their browser. When finished, they will be redirected to a specific page within your native app, providing a seamless mobile experience. This particular page or screen you provide as a redirect URL may reside under a series of hierarchical pages, hence the term "deep" in deep linking.

How does the PAVE Deep Linking work?

Flowchart diagram of PAVE Deep Linking

Create Session

Create a new session for every User by generating a session_key.

Create New Session

POST https://openapi.paveapi.com/v1/sessions

Headers

Name
Type
Description

Accept*

String

application/json

Content-type*

String

application/json

API-Key*

String

Your API Key

API-Token*

String

Your Generated Access Token

API Timestamp*

String

UTC Datetime, example: 2021-05-30T12:49:19Z

Sample Request

circle-exclamation
circle-info

Please, read the Create Session documentarrow-up-right for more information.

Launch PAVE Capture UI

Once you have the Session Key generated it can be used to launch the capture UI, which begins the inspection process.

Replace: SESSION-ID with the generated session-id belonging to the vehicle to be inspected.

Example:

Open links with Safari or chrome.

Android

IOS

React Native

Result

After PAVE Capture successfully and tap on CLOSE button, you will redirect to your app.

Last updated