POST
/
auth
/
v1
/
login
curl --request POST \
  --url https://api.aceaicompany.com/auth/v1/login \
  --header 'Content-Type: application/json' \
  --data '{
  "username": "<string>",
  "password": "<string>"
}'
{
  "response": "Authenticated!"
}

Purpose: Authenticates a user with a username and password, returning a session token in an HttpOnly cookie.

Body

application/json

Credentials for logging in.

The body is of type object.

Response

200
application/json

User successfully authenticated.

The response is of type object.