Skip to main content
POST
/
v1
/
publishers
/
login
curl -X POST https://xenarch.dev/v1/publishers/login \
  -H "Content-Type: application/json" \
  -d '{"email": "publisher@example.com", "password": "secure_password"}'
{
  "api_key": "xk_pub_new_key..."
}
curl -X POST https://xenarch.dev/v1/publishers/login \
  -H "Content-Type: application/json" \
  -d '{"email": "publisher@example.com", "password": "secure_password"}'
{
  "api_key": "xk_pub_new_key..."
}

Notes

  • Rotates the API key — the previous key is invalidated immediately
  • Rate limited: 5 requests/min per IP, 5 attempts then 15-minute lockout

Body

application/json
email
string<email>
required
password
string
required

Response

Successful Response

api_key
string
required