get_notifications

Return notifications involving the current user, in reverse chronological order. (There are the items that appear on the 'Recent activity' feed in our apps.)

GET https://secure.splitwise.com/api/v3.0/get_notifications

Parameters:

  1. optional:
    1. updated_after
    2. limit (defaults to 20; set to 0 to fetch all)

Return value: a list of Notification objects

  1. id
  2. type (see details below)
  3. created_at
  4. created_by
  5. source (i.e. information about the object that caused this action)
    1. type
    2. id
    3. url
  6. image_url
  7. content

Notifications have a 'type' that indicates what the notification is about. The current list of types is included below. More notification types are likely to be added in the future.

  • 0 = expense added
  • 1 = expense updated
  • 2 = expense deleted
  • 3 = comment added
  • 4 = added to group
  • 5 = removed from group
  • 6 = group deleted
  • 7 = group settings changed
  • 8 = added as friend
  • 9 = removed as friend
  • 10 = news (a URL should be included)
  • 11 = debt simplification
  • 12 = group undeleted
  • 13 = expense undeleted
  • 14 = group currency conversion
  • 15 = friend currency conversion