API ReferenceAuth
Sign in with a PIN
Exchanges the team PIN for a sealed session cookie. PIN sessions publish with the server-held GITHUB_PAT; use GitHub sign-in for per-user commit attribution.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/api/admin/login" \ -H "Content-Type: application/json" \ -d '{ "pin": "1234" }'{ "ok": true}{ "ok": false, "error": "string"}