cURL
curl --request POST \ --url https://api.example.com/phones/{phone_id}/shortcut
Execute an iOS Shortcut
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"}'
{ "name": "My Shortcut" }
{ "index": 0 }
name
string
index
integer