Get User Activities

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 📄.

Parameters:

`` 200 200

json

`` 400 400

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

Sample Response

{
  "meta": {
    "code": 200,
    "requestId": "64272fa297675650355812cb"
  },
  "notifications": [
    {
      "type": "notificationTray",
      "item": {
        "unreadCount": 0
      }
    },
    {
      "type": "unconfirmed",
      "item": {
        "unreadCount": 0
      }
    }
  ],
  "response": {
    "activities": {
      "leadingMarker": "59b97e6cf79faa0d5e23abeb",
      "trailingMarker": "4f71fbece4b0fb1e715d675c",
      "moreData": false,
      "buckets": [],
      "count": 9,
      "items": [
        {
          "createdAt": 1505328748,
          "thumbnails": [
            {
              "id": "123456",
              "type": "user",
              "photo": "https://fastly.4sqi.net/img/user/110/blank_boy.png"
            }
          ],
          "summary": {
            "entities": [
              {
                "indices": [
                  0,
                  11
                ],
                "type": "user",
                "id": "123456"
              },
              {
                "indices": [
                  11,
                  12
                ],
                "type": "newline"
              },
              {
                "indices": [
                  15,
                  28
                ],
                "type": "venue",
                "id": "4f0de7267bebfc146005dcc0"
              }
            ],
            "text": "John Smith at Mattlantis 🐳"
          },
          "type": "create",
          "referralId": "c-59b97e6cf79faa0d5e23abeb*10",
          "content": {
            "type": "checkin",
            "object": {
              "id": "59b97e6cf79faa0d5e23abeb",
              "createdAt": 1505328748,
              "type": "checkin",
              "private": true,
              "visibility": "private",
              "shout": "Monday monday!",
              "venue": {
                "id": "4f0de7267bebfc146005dcc0",
                "name": "Mattlantis 🐳",
                "location": {
                  "address": "Lake Sakakawea",
                  "lat": 47.4992621650669,
                  "lng": -101.9282341003418,
                  "city": "Garrison",
                  "state": "ND",
                  "country": "United States"
                }
              }
            }
          }
        }
      ]
    }
  }
}