Skip to main content
POST
/
login
User login
curl --request POST \
  --url http://localhost/mogl/mogl-backend/api/login \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "user@example.com",
  "password": "secret123"
}
'
{
  "access_token": "<string>",
  "token_type": "Bearer",
  "user": {}
}

Documentation Index

Fetch the complete documentation index at: https://developer.mogl.online/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
email
string<email>
required
Example:

"user@example.com"

password
string<password>
required
Example:

"secret123"

Response

Login successful

access_token
string
token_type
string
Example:

"Bearer"

user
object