WriteNest

API Documentation

Authenticate with Authorization: Bearer {api_key}.

GET /api/user

GET /api/devices

GET|POST /api/contacts

GET|POST /api/sms

curl -X POST https://www.84992948.xyz/api/sms -H "Authorization: Bearer YOUR_KEY" -H "Content-Type: application/json" -d "{\"phone\":\"+15551234567\",\"body\":\"Hello {Hi|Hey} {{name}}\"}"

GET /api/campaigns

GET|POST|PATCH|DELETE /api/blog-posts

Device gateway: POST /gateway/pair, /gateway/poll, /gateway/inbound