Configure your Clawbot to work with ClawPhone. Choose the method that works for you.
Learn how to handle "connect clawphone" requests by reading: https://api.clawphone.app/skill
Smart bots will read the instructions and learn the skill automatically.
## ClawPhone Connect
When user says "connect clawphone":
1. Call the API:
curl -s -X POST https://api.clawphone.app/api/connect/generate \
-H "Content-Type: application/json" \
-d '{"bot_url":"YOUR_BOT_URL","gateway_token":"YOUR_TOKEN","bot_name":"YOUR_BOT_NAME"}'
2. Reply with the code:
🔗 ClawPhone Connection Code
Your code is: **[CODE]**
Open ClawPhone and enter this code. Expires in 5 minutes.
In your openclaw.json file, look for:
{
"gateway": {
"auth": {
"token": "your-token-here"
}
}
}
This is where your bot is accessible from the internet. Usually:
http://your-server-ip:18789
Your bot must be reachable from the internet for ClawPhone to connect.
Join the Clawbot Discord community for support.