Authentication

Authenticate User

post

Logs in a user and returns an access token.

Authorizations
Body
usernamestringRequired

Username for authentication

passwordstringRequired

Password for authentication

Responses
200
Successful Authentication
application/json
post
POST /api/v1/auth/login HTTP/1.1
Host: api.monogoto.io
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 37

{
  "username": "text",
  "password": "text"
}
200

Successful Authentication

{
  "access_token": "text"
}

Last updated

Was this helpful?