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 anDocumentation Index
Fetch the complete documentation index at: https://docs.tapkit.ai/llms.txt
Use this file to discover all available pages before exploring further.
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
| Parameter | Type | Description |
|---|---|---|
phone_id | string | The phone identifier |
Query Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
async | boolean | false | Return immediately after enqueueing the action and trigger the shortcut in the background |
Request Body
consume_mode:
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
url | string | Yes | - | URL to open on the phone |
consume_mode | string | No | pop | How the shortcut action is consumed. Allowed values: pop, ack |
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
| Mode | Behavior |
|---|---|
pop | The action is consumed as soon as the shortcut fetches it. |
ack | The shortcut must call /v1/shortcut/action-complete after handling the action. |
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.