Skip to main content
POST
/
phones
/
{phone_id}
/
shortcut
Run Shortcut
curl --request POST \
  --url https://api.example.com/phones/{phone_id}/shortcut
Run an iOS Shortcut by name or index.

Request

curl -X POST https://api.tapkit.ai/phones/{phone_id}/shortcut \
  -H "X-API-Key: TK_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"name": "My Shortcut"}'

Request Body

By name:
{
  "name": "My Shortcut"
}
By index:
{
  "index": 0
}
FieldTypeDescription
namestringShortcut name
indexintegerShortcut position (0-based)
Provide either name or index, not both.