cURL
curl --request POST \ --url https://id.lunarmc.ai/api/get_token/ \ --header 'Content-Type: application/json' \ --data ' { "email": "jsmith@example.com", "password": "<string>" } '
{ "access": "<string>", "refresh": "<string>" }
Authenticate with email and password to receive a JWT access token and refresh token
User email address
User password
Authentication successful
JWT access token
JWT refresh token
Was this page helpful?