Get basic user data like name, profile photo url, username, etc. using this resolver.
Authentication with the “FERMION-API-KEY” header is required to use this endpoint.
Rate limit: Maximum 60 requests in a window of 1m.
cURL
curl --request POST \ --url https://backend.codedamn.com/api/public/get-user-basic-profile-data \ --header 'Content-Type: application/json' \ --header 'FERMION-API-KEY: <api-key>' \ --data ' { "data": [ { "data": { "userId": "<string>", "userEmail": "[email protected]" } } ] } '
[ { "output": { "status": "ok", "data": { "name": "<string>", "username": "<string>", "email": "[email protected]", "profilePictureUrl": "<string>" } } } ]
API Request Body
Show child attributes
Internal userId you have been using for the user in your database
Email of the user
API Response Body
ok
Name of the user
2 - 100
Username for the user
3 - 24
Profile photo URL of the user