API Reference
Identity Platform
Overview

Identity Platform API

ออก token, จัดการ user และองค์กร — ทุก API อื่นใช้ token จากที่นี่

Base URL: https://pip.pcampus.co

วิธีเชื่อมต่อ

  1. สร้าง Application ใน Console
  2. ออก M2M API key (pip_…)
  3. ส่ง header Authorization: Bearer pip_YOUR_API_KEY

ตัวอย่าง — ตรวจ token

curl https://pip.pcampus.co/identity/me \
  -H "Authorization: Bearer pip_YOUR_API_KEY"

ตัวอย่างคำตอบ

{
  "id": "usr_xxxxxxxxxxxx",
  "email": "you@example.com",
  "organizationId": "org_xxxxxxxxxxxx"
}

หน้าตัวอย่างถัดไป

หน้าใช้เมื่อ
Usersโปรไฟล์ผู้ใช้
Organizationsองค์กรและสมาชิก
Accessสิทธิ์
Applicationsแอปและ API key