pafcore.site

API auth

For M1 use a session id header:

x-session-id: YOUR_SESSION_ID

Get a session:

  1. POST /v1/auth/magic-link with your email
  2. Open the email link
  3. POST /v1/auth/consume with the token
  4. Use sessionId from the response

Or run pnpm pafcore login and copy the session from ~/.pafcore/config.json.

API keys ship later (Team plan).