Skip to main content
POST
/
agent
/
register-new
Register agent (new)
curl --request POST \
  --url http://localhost/mogl/mogl-backend/api/agent/register-new \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "agent@example.com",
  "password": "SecurePass1!"
}
'

Body

application/json
email
string<email>
required
Example:

"agent@example.com"

password
string<password>
required

Min 5, max 255 characters

Example:

"SecurePass1!"

Response

Agent registered