Discord user ID for authentication.
Discord username (alternative to discord_id for returning users).
Response
Human-readable status message.
When the login code expires (UTC).
curl -X POST https://hapi.7331.org/v1/authentication/request \
-H "Content-Type: application/json" \
-d '{"discord_id": 123456789012345678}'
{
"message": "Login code sent via Discord DM",
"expires_at": "2025-01-01T00:05:00Z"
}