Skip to content

Get Token

Returns a 64 character hex hash. This hash will be issued once per session and does not change. When the session is renewed (after expiration) this token will renew as well. Usually this token should be submitted in the header of the request for any request with a body (usually POST, PUT and DELETE).

Location

Attribute Value
URL /CSRF/GetToken
Method GET

Cookies

No cookie required.

Request header

Heaader name Value
Accept application/json

Request body

No request body required.

Response

Code Message
200 -

Body:
A CSRF token.

Success example

{
  "csrf_token": "a85eb9408a0d1d018f438a12f816313ea91894fd0a983cc1ebb8c15bd00116e0"
}