Skip to main content

360Dialog

360dialog is a leading and official accredited Meta WhatsApp solution provider (BSP), providing building blocks and services around messaging, WhatsApp newsletters, and performance marketing with the WhatsApp Business API.

Configuration

Database Setup

Create a new entry in the notify_providers table with the following settings:
FieldValue
channel_type3 (360Dialog)
is_enabled1

Configuration Fields

WA_360_DIALOG_API_KEY
string
required
360Dialog API key
WA_360_DIALOG_URL
string
required
API URL (typically https://waba.360dialog.io/v1/messages)
Example Configuration:
{
  "WA_360_DIALOG_API_KEY": "your-api-key",
  "WA_360_DIALOG_URL": "https://waba.360dialog.io/v1/messages"
}

Request Format

Sample Request Body

{
  "providerId": 3,
  "data": {
    "to": "919004812051",
    "type": "template",
    "template": {
      "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",
      "name": "ir_incident_resolution",
      "language": {
        "policy": "deterministic",
        "code": "en"
      },
      "components": [
        {
          "type": "body",
          "parameters": [
            { "type": "text", "text": "John Doe" },
            { "type": "text", "text": "WNK227" },
            { "type": "text", "text": "Incident Description" },
            { "type": "text", "text": "Location" },
            { "type": "text", "text": "Assignee" },
            { "type": "text", "text": "Reporter" },
            { "type": "text", "text": "Open" },
            { "type": "text", "text": "10" },
            { "type": "text", "text": "15755" }
          ]
        }
      ]
    }
  }
}

Request Fields

to
string
required
Recipient’s phone number (without + prefix)
type
string
required
Message type (e.g., template)
template
object
required
Template configuration object
template.namespace
string
required
Template namespace from 360Dialog
template.name
string
required
Template name
template.language
object
required
Language configuration with policy and code
template.components
array
required
Array of component objects with parameters

Dependencies

PackageVersionDescription
@nestjs/axios^3.1.1NestJS Axios integration for HTTP requests

References