Skip to main content
GET
/
api
/
v1
/
health
Health check
curl --request GET \
  --url https://app.sajn.se/api/v1/health \
  --header 'authorization: <authorization>'
{
  "status": "ok",
  "timestamp": "2023-11-07T05:31:56Z",
  "version": "<string>"
}

Headers

authorization
string
required

Bearer token for API authentication

Response

200 - application/json

Health check response

Health check response

status
enum<string>
required

API status

Available options:
ok
timestamp
string<date-time>
required

Current server timestamp

version
string
required

API version number