API Reference
Notification
Notification API

Notification API

Send a message to a customer on a connected channel such as LINE.

Base URL: https://notification-api.pcampus.co

How to connect

POST https://notification-api.pcampus.co/v1/notifications/send
Authorization: Bearer pip_YOUR_API_KEY
x-tenant-id: your-tenant-id
Content-Type: application/json

Sample request

{
  "channel": "line",
  "recipientId": "cust_001",
  "templateId": "order_update",
  "variables": {
    "customerName": "Alex",
    "orderId": "ORD-1001"
  }
}

Sample response

{
  "notificationId": "ntf_001",
  "channel": "line",
  "status": "sent"
}
StatusWhen
200Sent or queued
401Invalid token
400Missing channel or recipient

Connect the channel in Console first, then call the API.