Open URL
Apps & Automation
Open URL
Open a URL on the phone through the Use TapKit shortcut
POST
Open URL
Open a URL on the phone through the Use TapKit shortcut.
TapKit enqueues an
You can also authenticate with a bearer token:
With
The phone shortcut polls for work using:
The poll response contains the pending action:
The shortcut handles
open_url shortcut action for the phone, then triggers the shortcut through the selected Mac. The shortcut fetches the pending action and opens the URL from the action payload.
Request
Path Parameters
Query Parameters
Request Body
consume_mode:
Response
Status: 200 OKBehavior
The endpoint:- Validates that the phone belongs to the authenticated organization.
- Requires an active subscription.
- Requires the phone to be active.
- Requires the phone to have an online, selected Mac.
- Creates a tracking job with action type
open_url. - Enqueues a shortcut action for the phone.
- Triggers the Use TapKit shortcut through the Mac and Switch Control.
action_type == "open_url" by opening payload.url.
Consume Modes
Async Mode
Withoutasync=true, the API waits while it attempts to trigger the shortcut, then returns after that trigger attempt.
With async=true, the API returns immediately after enqueueing the action and starts the shortcut trigger in the background.