Platform Overview
Pcampus ไม่ขายแพ็กเกจ Starter / Growth / Enterprise
องค์กรได้ Foundation รวมอยู่แล้ว แล้วเปิด commercial services ตามที่ต้องการ
วันนี้: REST API เป็นทางหลัก · SDK เป็นทิศทางถัดไป
เปิดใช้: Contact sales บน landing · Enable ใน Console หลังล็อกอิน
Ecosystem
Foundation — รวมอยู่แล้ว ไม่ขายแยก
Identity (PIP) — บัญชี, องค์กร, สิทธิ์, API keys, OIDC · https://pip.pcampus.co
Organization · Console · Developer Platform — เปลือกเข้าใช้บริการ, docs, credentials
องค์กรไม่ “ซื้อ Console” หรือ “ซื้อ Developer Platform”
Core — สินค้าแกน
PBCP รับ Business Events → Context → Story → Intelligence · https://pbcp-api.pcampus.co
Intelligence อยู่ใน PBCP ไม่แยกขาย — แนะนำว่าควรทำอะไร ไม่ส่ง LINE / email / push เอง
Pulse — มุมมองปฏิบัติการ เห็น Story, สถานะปัจจุบัน, next step
Event tracking และบทบาทของ API
PBCP makes business APIs context-aware.
Server is the source of truth; Browser is the source of behavior.
One business fact → one authoritative publisher.
Frontend / App → Customer API → Database / ERP
Customer Backend → POST /events → PBCP
Customer API → Context / Story / Intelligence → แอปของลูกค้าแสดงเอง- Business facts (
order.created,payment.completed) ส่งจาก backend ของลูกค้า หลังระบบยืนยันว่าเกิดจริง - อย่าฝัง production API key ในเบราว์เซอร์ และอย่าส่ง
order.createdจากทั้งหน้าเว็บและ backend - Event SDK (ทิศทาง) ติดตั้งที่เซิร์ฟเวอร์ ไม่ใช่หน้าบ้านผู้ซื้อ
- Pcampus ไม่มาแทนเว็บ / แอป / checkout ของลูกค้า — ลูกค้าดึง Story / Intelligence ไปทำให้ API ที่มีอยู่ฉลาดขึ้น
วันนี้ทางหลักคือ REST · ดู Event API
Commercial services ที่ enable ได้
เปิดทีละบริการบนองค์กรใน Console
| Service | บทบาท | API |
|---|---|---|
| PBCP | Event → Context → Story → Intelligence | https://pbcp-api.pcampus.co |
| Pulse | มุมมองปฏิบัติการ | Console /pulse |
| Transactional + marketing email | https://mail-api.pcampus.co | |
| Storage | Object storage + CDN | https://storage-api.pcampus.co |
| Content OS | เนื้อหาตาม Brand DNA | Content OS API |
| Notify | แจ้งเตือนหลายช่องทาง | https://notification-api.pcampus.co |
ยังไม่ใช่ SKU
Connect และ Reward Widget อยู่ในทิศทาง — อย่าใส่ในราคาหรือ catalog ขาย จนกว่าจะ enable + มีราคาได้จริง
Authentication
ทุก service authenticate ด้วย Bearer token จาก PIP:
Authorization: Bearer <token>| Token type | ออกโดย | ใช้สำหรับ |
|---|---|---|
M2M API key (pip_…) | Console → Application → API Keys | Server-to-server |
| OAuth access token | /oauth2/token | On behalf of user |