SelfPing developer documentation
SelfPing is an SMS-to-self API: one endpoint, one key, and texts can only go to the phone number that created the key. Everything a developer or an agent needs is linked below.
The API
- POST https://www.selfping.com/api/sms with Authorization: Bearer <key> and {"message": "..."}
- openapi.json request and response shapes for every endpoint
- npm package npm install selfping, one function, zero dependencies
- GET /api/health service status
Agent integrations
- Setup guide copy-paste config for Claude Code, Cursor and Codex
- MCP server at https://www.selfping.com/api/mcp exposing the send_ping tool
- Completion hooks: https://www.selfping.com/api/hooks/claude-code, /cursor and /codex
- Agent skill when and how an agent should text its user
Machine-readable indexes
- llms.txt the short index, and llms-full.txt the complete reference in one fetch
- API catalog and MCP server card
- Every content page answers to Accept: text/markdown or a .md suffix
Auth
- auth.md credential setup for agents
- Dashboard where a signed-in human generates the key