auth
Get Csrf Token
Get a CSRF token for cookie-authenticated requests.
This endpoint sets a CSRF token in an HttpOnly cookie and returns the same token in the JSON body. Clients store the body token (e.g., in memory or localStorage) and send it via the X-CSRF-Token header on all state-changing requests. The browser sends the cookie automatically; the server validates header == cookie (double-submit pattern).
Desktop apps using Bearer authentication do not need CSRF tokens.
get/auth/csrf-token
Request
- Base URLhttps://dev.whispa.net (the document declares no server; this is the origin it was published from)
- Authnone declared
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.