API Documentation
Build with Texnity. REST + Webhooks.
Your API key
Keep this secret. Use it as a Bearer token in your Authorization header.
Endpoints
POST/api/v1/messagesSend a message
GET/api/v1/chatsList conversations
GET/api/v1/chats/:id/messagesGet messages in a chat
POST/api/v1/contactsCreate contact
POST/api/v1/campaignsLaunch a campaign
POST/api/v1/templatesCreate template
Quick start
Send a message via cURL:
curl https://api.texnity.com/v1/messages \
-H "Authorization: Bearer tx_live_..." \
-H "Content-Type: application/json" \
-d '{
"to": "+923001234567",
"channel": "whatsapp",
"template": "order_confirmation_v2",
"variables": ["Sara", "12453"]
}'