In order to get the metadata you must pass query param
?includeMetadata=trueDocumentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Authorization header with of type Bearer TOKEN_VALUE where TOKEN_VALUE is the token returned in the response from Sign up or Sign in flowsession-token which is forwarded with each request to our api.curl --request GET \
--url https://dev-iam.razi.ai/v1/authentication/users/__USERID__ \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--header 'X-App-Name: '
?includeMetadata=true{
"firstName": "John",
"lastName": "Doe",
"phoneNumber": "+971111111111",
"metadata": {
"key": "value"
},
"email": "john.doe@gmail.com",
"isEmailVerified": true,
"isPhoneVerified": true,
"userState": "ACTIVE",
"displayName": "John Doe"
}