Sign in

Obtain access token

documented

Exchange credentials for an access/refresh token pair.

POST /auth/v1/tokenAuthno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://{{$project_ref}}.supabase.co/auth/v1/token?grant_type=refresh_token" \
  -X POST \
  -H "apikey: {{SUPABASE_API_KEY}}" \
  -H "Content-Type: application/json" \
  -d '{"refresh_token": "{{$refresh_token}}"}'