Get User Tastes

Public Beta Feature

This documentation covers a feature currently in Public Beta. Access is available to anyone interested in building personalized experiences for their end-users.

This feature is subject to the Personalization API (Self-Service) Public Beta End user License Agreement.

API Version

The API version date as documented here; e.g. 20231010

Response

Success Response

{
  "meta": {
    "code": 200,
    "requestId": "65381662818a1363ed583c6b"
  },
  "notifications": [
    {
      "type": "notificationTray",
      "item": {
        "unreadCount": 0
      }
    }
  ],
  "response": {
    "tastes": {
      "count": 2,
      "groups": [
        {
          "type": "allTastes",
          "name": "All 6 tastes",
          "count": 6,
          "items": [
            {
              "id": "52cc5701498e1b6fd7a2a9c6",
              "text": "BBQ chicken",
              "onUser": true
            },
            {
              "id": "52cc5707498ec8fe9f4820bf",
              "text": "Brie cheese",
              "onUser": true
            },
            {
              "id": "52cb360d498e49ae1f58c946",
              "text": "Dim sum",
              "onUser": true
            },
            {
              "id": "52fbc95d498e387e4fa26851",
              "text": "Mac & cheese",
              "onUser": true
            },
            {
              "id": "52cb360d498e49ae1f58c8d7",
              "text": "Scenic views",
              "onUser": true
            },
            {
              "id": "52e132be498e4d5a8a79c364",
              "text": "Zoos",
              "onUser": true
            }
          ]
        }
      ]
    }
  }
}

Error Response

{
  "meta": {
    "code": 400
  }
}

Example CURL Request

curl --request GET \n     --url https://api.foursquare.com/v2/users/self/tastes \n     --header 'accept: application/json'