Anonymous Access from Client Apps
Sample Request and Response
curl "https://login.whisk.com/auth/anonymous/create" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
"clientId": "<YOUR-APP-ID>"
}'{
"user": {
"id": "1025f5d34cdd65b4b3eaa9246e6a5146930",
"updatedAt": 1613220404000,
"createdAt": 1613220404000,
"preferences": {
"diets": [],
"avoidances": [],
"dislikedIngredients": [],
"householdSizeAdults": 1,
"householdSizeChildren": 0,
"cookingSkill": "amateur"
},
"preferencesMask": [],
"anonymous": true,
"passwordRequired": true,
"emailVerified": false
},
"token": {
"access_token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"expires_in": 2592000,
"scope": "",
"token_type": "Bearer",
"new_user": true
}Last updated
Was this helpful?