Get a user with their various properties like emails, phone_numbers, and other attached identifiers.
GET /v1/auth/users/{user_id}
A successful response returns a User object with linked identifiers such as emails, phone numbers in their corresponding properties.
Auth Platform API includes all the Auth related features. All Users, Phone Numbers, Emails, and OTPs are associated with an App as the container.
Endpoints only accept App's Secret API keys other than certain endpoints that are used client side or via SDK that accept the public_token.
Authorization: Bearer {api_key}curl \
-X GET https://api.moonkey.fun/v1/auth/users/user_24wFP9pDa9YiMJLun94iKykoZs2 \
-H "Authorization: Bearer sk_test_pRqweh3wvWmJAAVYv7Z0T5iPLzFM4ql0muoyQcjOxGeN3p1r"Unique User ID of the user.
"user_24wFP9pDa9YiMJLun94iKykoZs2"
GetUserResp
11010A flexible JSON object for storing custom data about a user. You can store any arbitrary data as key-value pairs.
Update Behavior:
null values for specific fields to delete those fields (merge mode only){} (empty object) to clear all metadatanull for the metadata field itself will be ignored (as if metadata was not sent)replace_metadata: true to replace all metadata without merging