POST
/
auth
/
get_profile
Get User Profile
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>"
  }
}

Request Body

email
string
required
Customers Email Address

Response

success
boolean
Indicates that the HTTP response was successful (status code 200 OK).
results
object