cURL
curl --request POST \ --url https://public.plai.io/auth/get_profile \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "email": "<string>" }'
{ "success": true, "results": { "success": true, "user": { "userId": "<string>", "email": "<string>", "name": "<string>", "createdAt": { "_seconds": 123, "_nanoseconds": 123 } }, "error": "<string>" } }
This endpoint retrieves the current user’s profile using their email address.
Show Results
Show Users Object
Show Timestamp Object