API Reference
PBCP
Story API

Story API

Read a customer story composed from the events you sent.

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

How to connect

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

Sample response

{
  "customerId": "CUST-1",
  "title": "Alex Rivera",
  "summary": "A returning customer",
  "updatedAt": "2026-07-15T10:15:00.000Z"
}

Look up with something you already have, such as email or phone:

GET https://pbcp-api.pcampus.co/v1/story/resolve?q=alex@example.com
Authorization: Bearer pip_YOUR_API_KEY
x-tenant-id: your-tenant-id
StatusWhen
200Story found
401Invalid token
404No story for this person yet