Crossmint Auth provides a way to retrieve and update user profile data, such as email, social login metadata, and more.Documentation Index
Fetch the complete documentation index at: https://docs.crossmint.com/llms.txt
Use this file to discover all available pages before exploring further.
Fields in the User Object
Fields in the User Object
The user object contains the following information:
id: User’s unique identifier.email: User’s email address.phoneNumber: User’s phone number.farcaster: User’s Farcaster account data.twitter: User’s Twitter (X) account data.
fid: User’s Farcaster ID.username: User’s Farcaster username.bio: User’s Farcaster bio.displayName: User’s Farcaster display name.pfpUrl: User’s Farcaster profile image URL.custody: User’s FID custody address.verifications: List of the user’s verified addresses.
id: User’s Twitter ID.username: User’s Twitter username.
Reading User Data
This API requires theusers.read scope.
- Server side: Requires a server-side API key.
- Client side: Requires a client-side API key, and a logged in user.
Server-side
For server-side operations, use the@crossmint/server-sdk that provides a getUser function to fetch user information.
Response Format
Client-side
Use theuseAuth react hook from @crossmint/client-sdk-react-ui to access the user object.
If you would like to use a different framework, contact support
React

