The Power of Shortcuts
Integrating OpenClaw with Apple Shortcuts allows you to trigger AI actions from your iPhone, iPad, or Mac. You can use Siri, automation triggers (like location or time), or even home screen icons to interact with your agents.
1. Obtain Your API Key
Go to your OpenClaw Dashboard > Settings > API and copy your developer key. You'll need this to authenticate requests from the Shortcuts app.
2. Create a "Get Contents of URL" Action
In the Shortcuts app, create a new shortcut and add the "Get Contents of URL" action.
- URL:
https://your-openclaw-url/api/v1/message - Method: POST
- Headers: Add
Content-Type: application/jsonandAuthorization: Bearer YOUR_API_KEY
3. Configure JSON Body
In the "Request Body" section of the "Get Contents of URL" action, select "JSON" and add the following fields:
- text: (This can be "Shortcut Input" or a text block)
- channel: "shortcuts"
4. Handle the Response
Add a "Get Dictionary Value" action to extract the response from OpenClaw, then use "Show Result" or "Speak Text" to relay the agent's message back to you.