API Reference
PBCP
Intelligence API

Intelligence API

Read a sample recommendation from data already in PBCP — this API does not send messages to customers.

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

How to connect

GET https://pbcp-api.pcampus.co/v1/intelligence/story/customers/CUST-1
Authorization: Bearer pip_YOUR_API_KEY
x-tenant-id: your-tenant-id

Sample response

{
  "customerId": "CUST-1",
  "summary": "This customer has not purchased recently",
  "nextStep": "Send a return offer"
}
StatusWhen
200Recommendation available
401Invalid token
404Not enough data yet

Send the actual message with Mail or Notification