# ID **Identity & User Management** Comprehensive identity management endpoints that handle user authentication, authorization levels, and identity verification across multiple blockchain addresses (Bitcoin P2PKH, Ethereum, ZelID). These endpoints manage user sessions, permissions, and access control throughout the Flux ecosystem. **Supported Address Types:** - Bitcoin P2PKH addresses - Ethereum addresses - ZelID addresses - Multi-signature addresses ## Obtain login phrase - [GET /id/loginphrase](https://docs.runonflux.io/fluxapi/authentication/loginphrase.md): Obtain valid Login Phrase for signing into Flux. Login Phrase is at least 40 characters, first 13 characters is server timestamp and is valid for 15 minutes. ## Login into Flux - [POST /id/verifylogin](https://docs.runonflux.io/fluxapi/authentication/verifylogin.md): Login into Flux by submitting correct ZelID, login phrase and signature. Note that to get the signature of the signed message you would need to do the signing on Zelcore or your BTC wallet or your ETH wallet. If success status response is returned, we can use the supplied data(zelid, loginPhrase, signature) as zelauth header as part of api calls that require a user to be logged in. Additionally it is possible to listen for a response on websocket. ws://{Flux_IP}:16127/ws/id/{loginPhrase}. ## Provide Signature - [POST /id/providesign](https://docs.runonflux.io/fluxapi/authentication/providesign.md): Provide requested signature from signed message to return data. ## Logs out a specific session - [POST /id/logoutspecificsession](https://docs.runonflux.io/fluxapi/authentication/logoutspecificsession.md): Logs out a specific session. Requires the knowledge of a session loginPhrase and so users level is sufficient and user cannot logout another user as he does not know the loginPhrase. Admin can logout any specific session. ## Obtain login phrase - [GET /id/loginphrase](https://docs.runonflux.io/fluxapi/id/loginphrase.md): Obtain valid Login Phrase for signing into Flux. Login Phrase is at least 40 characters, first 13 characters is server timestamp and is valid for 15 minutes. ## Obtain emergency login phrase - [GET /id/emergencyphrase](https://docs.runonflux.io/fluxapi/id/emergencyloginphrase.md): Obtain emergency Login Phrase for signing into Flux. ## Login into Flux - [POST /id/verifylogin](https://docs.runonflux.io/fluxapi/id/verifylogin.md): Login into Flux by submitting correct ZelID, login phrase and signature. Note that to get the signature of the signed message you would need to do the signing on Zelcore or your BTC wallet or your ETH wallet. If success status response is returned, we can use the supplied data(zelid, loginPhrase, signature) as zelauth header as part of api calls that require a user to be logged in. Additionally it is possible to listen for a response on websocket. ws://{Flux_IP}:16127/ws/id/{loginPhrase}. ## Provide Signature - [POST /id/providesign](https://docs.runonflux.io/fluxapi/id/providesign.md): Provide requested signature from signed message to return data. ## Obtain all logged sessions of ZelID. - [GET /id/loggedsessions](https://docs.runonflux.io/fluxapi/id/loggedsessions.md): Gets all currently active logged sessions in Flux tied to given ZelID. ## Logs out current session - [GET /id/logoutcurrentsession](https://docs.runonflux.io/fluxapi/id/logoutcurrentsession.md): This call logs out currently logged session which is determined by the supplied authentication header. ## Logs out all sessions - [GET /id/logoutallsessions](https://docs.runonflux.io/fluxapi/id/logoutallsession.md): This call logs out all logged sessions which are determined by the supplied authentication header. ## Gets information about logged users - [GET /id/loggedusers](https://docs.runonflux.io/fluxapi/id/loggedusers.md): This call gets basic infromation about currently logged sessions of all users. ## Lists active login phrases - [GET /id/activeloginphrases](https://docs.runonflux.io/fluxapi/id/activeloginphrases.md): This call gets a list of login phrases that are currently active (were generated less than 15 minutes ago) - phrases that have been used recently and phrases that can be used to log in.. ## Logs out all users - [GET /id/logoutallusers](https://docs.runonflux.io/fluxapi/id/logoutallusers.md): This call logs out all logged users (including fluxteam, admins). ## Logs out a specific session - [POST /id/logoutspecificsession](https://docs.runonflux.io/fluxapi/id/logoutspecificsession.md): Logs out a specific session. Requires the knowledge of a session loginPhrase and so users level is sufficient and user cannot logout another user as he does not know the loginPhrase. Admin can logout any specific session. ## Checks the privilege level of user - [POST /id/checkprivilege](https://docs.runonflux.io/fluxapi/id/checkloggeduser.md): Checks the privilege level of the user. The 5 levels are public, user, admin, flux team and app owner.