Skip to main content

Generic

Introduction#

Here are some public endpoints.

They are not specific to the API but can serve multiple purposes: security, information, ...

Get the version of the running instance#

Request#

GET https://auth.misakey.com/version

Response#

Code:

HTTP 200 OK

JSON Body:

{
"version": "v0.0.2"
}
  • version (string): The API Version.

Get the current CSRF Token#

This endpoint allow to retrieve the CSRF Token that must be sent in the header X-CSRF-Token with all HTTP verbs that can write data.

Request#

GET https://auth.misakey.com/csrf

Response#

Code:

HTTP 200 OK

JSON Body:

{
"csrf_token": "GMvLMlXGP9gaM7ZWbvBIQEwo4rZKVODL"
}
  • csrf_token (string): The CSRF Token.