Magic.link: API Design & Integration Surface
Docs-backedThe backend API covers DID token validation (verifying that a user's authentication token is valid), user management (retrieving and updating user records), and session management. Agents interacting with Magic-authenticated users primarily need the token validation endpoint — verifying the DID token passed from clients to ensure requests come from authenticated users. The admin API enables programmatic user management operations.