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-idSample 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| Status | When |
|---|---|
200 | Story found |
401 | Invalid token |
404 | No story for this person yet |