curl -X POST https://hapi.7331.org/v1/authentication/verify \ -H "Content-Type: application/json" \ -c cookies.txt \ -d '{"code": "ABCD1234"}'
{ "status": "success", "message": "Authentication successful", "user": { "discord_id": "123456789012345678", "username": "exampleuser", "avatar_url": "https://cdn.discordapp.com/avatars/...", "subscription_tier": 0, "state": 0, "permission_level": 0, "prefix": "!", "created_at": "2025-01-01T00:00:00Z", "updated_at": "2025-01-01T00:00:00Z", "last_activity_at": "2025-01-01T00:00:00Z" } }
Verify a Discord authentication code and establish a user session.
success
hsession
Was this page helpful?