Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.
/api/tokenPOST
Request Bodyapplication/jsonrequired
exchange_code *string
partner_code *string
partner_secret *string
scope *string
Known scope: SSO_AUTHENTICATION; providers may add values.
Response
200 · Access token generated.
access_token *string
403 · Partner credentials are invalid or unauthorized.
Partner credentials are invalid or unauthorized.
422 · Exchange code is invalid, used, or expired.
Exchange code is invalid, used, or expired.
Request example
curl -X POST "https://hackathon-sso.e.gov.ph/api/token" \ -H "Content-Type: application/json" \ -d '{ "exchange_code": "string", "partner_code": "string", "partner_secret": "string", "scope": "string" }'