Skip to main content
POST
/
auth
/
token
Token Exchange
curl --request POST \
  --url https://api.example.com/auth/token

POST /auth/token

Use this endpoint to obtain the Daly JWT used by protected API routes.
This interactive page targets the production OpenAPI server at https://api.dalyenergy.com.

When to Use It

  • Use this when your integration stores Daly workspace and user API keys directly.
  • If your client starts from Supabase auth instead, use the /auth/workspaces and /auth/exchange-supabase flow.

Request Notes

  • workspace_id is the workspace API key.
  • user_id is the user API key.
  • The current response contract returns { "result": "success", "token": "<jwt>" }.