API Reference
Identity Platform
Overview

Identity Platform API

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

กลุ่ม Endpoint

กลุ่มPrefixคำอธิบาย
Users/identity/โปรไฟล์, ช่องทางติดต่อ, ที่อยู่
Organizations/organizations/Orgs, สมาชิก, คำเชิญ
Access Control/access/สิทธิ์, roles, การตรวจสอบ
Applications/applications/App registry, OAuth, API keys

Authentication endpoints (ORY)

Endpoint เหล่านี้เป็น ORY-native — ไม่ใช่ PIP REST endpoints

Endpointคำอธิบาย
GET /self-service/login/browserเริ่ม browser login flow
GET /self-service/registration/browserเริ่ม browser sign-up flow
GET /self-service/recovery/browserเริ่ม password recovery
POST /oauth2/tokenแลก code หรือ client credentials เป็น token
GET /oauth2/.well-known/openid-configurationOIDC discovery document
GET /oauth2/.well-known/jwks.jsonJWKS สำหรับตรวจสอบ token

Identity Platform API

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

Endpoint groups

GroupPrefixDescription
Users/identity/Profile, contacts, addresses
Organizations/organizations/Orgs, members, invitations
Access Control/access/Permissions, roles, check
Applications/applications/App registry, OAuth, API keys

Authentication endpoints (ORY)

These are ORY-native endpoints — not PIP REST endpoints.

EndpointDescription
GET /self-service/login/browserInitiate browser login flow
GET /self-service/registration/browserInitiate browser sign-up flow
GET /self-service/recovery/browserInitiate password recovery
POST /oauth2/tokenExchange code or client credentials for token
GET /oauth2/.well-known/openid-configurationOIDC discovery document
GET /oauth2/.well-known/jwks.jsonJWKS for token validation