Developer Docs

Build the future of conversational business.

Comprehensive API documentation, SDKs, and tutorials for developers and engineers building with NxtWA.

Getting Started

  • Introduction
  • Authentication
  • API Keys
  • Rate Limiting

API Reference

  • Contacts API
  • Messaging API
  • Templates API
  • Broadcasts API
  • Webhooks

SDKs

  • Node.js SDK
  • Python SDK
  • Go SDK

Introduction to NxtWA API

The NxtWA API allows you to programmatically manage your WhatsApp Business Platform activities. Our API is RESTful, accepts JSON requests, and returns JSON responses.

Base URL
https://api.nxtwa.io/v1

Authentication

Authentication is performed using Bearer tokens. You can generate your API tokens from the NxtWA dashboard under Settings > API Keys.

Security Best Practices

  • Never share your API keys in public repositories or client-side code.
  • Use environment variables for token storage in your backend applications.
  • Rotate your API keys periodically for maximum security.

Sending a Template Message

Post Call
Shell / cURL
JavaScript / SDK
curl -X POST https://api.nxtwa.io/v1/messages \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "to": "1234567890",
    "type": "template",
    "template": {
      "name": "welcome_message",
      "language": { "code": "en_US" }
    }
  }'

Need help building?

Our developer advocates are here to help you integrate NxtWA successfully. Join our developer community or reach out directly.

Contact Developer Support