GET /api/thanks

get a list of all thanks for the current tenant or all by a specific user

Success Response Code: 200

Additional Routes

  • (GET) fetch thanks for single user - /users/:user_id/thanks

Params

Param name Description
user_id
optional

limit thanks to those received by this user


Value: Must be a Integer
since
optional

find thanks after a specific time using unix timestamps


Value: Must be a Integer
page
optional

page number to be returned (default=1)


Value: Must be a Integer
per_page
optional

number of thanks to be returned per page (default=20, max=500)


Value: Must be a Integer

Response Fields

thanks collection of thanks Array<Thanks>
thanks[id] id of newly created thanks Integer
thanks[body] the custom message of thanks text String
thanks[badge] badge used for sending thanks Badge
thanks[user] information about the User that sent thanks User
thanks[recipient] Deprecated: use thanks[recipients]. Will contain the first value from thanks[recipients]. User
thanks[recipients] recipient information about the Users that received thanks Array[User]
thanks[announcement] stream message broadcast for the sent thanks Message

Example Curl Commands

curl -X GET -v --basic -u "emily@socialcast.com:demo" "https://demo.socialcast.com/api/thanks.json"
curl -X GET -v --basic -u "emily@socialcast.com:demo" "https://demo.socialcast.com/api/users/26/thanks.json"

Examples

GET /thanks.json
200
{
  "thanks": [
    {
      "badge": {
        "id": 73,
        "name": "enabled badge 1 & øther things",
        "description": "enabled badge1 description & øther things",
        "url": "https://socialcast.socialcast.test/badges/73",
        "images": {
          "square30": "https://socialcast.socialcast.test/images/thanks/default_badges/visionary_square30.png",
          "square45": "https://socialcast.socialcast.test/images/thanks/default_badges/visionary_square45.png",
          "square70": "https://socialcast.socialcast.test/images/thanks/default_badges/visionary_square70.png",
          "square140": "https://socialcast.socialcast.test/images/thanks/default_badges/visionary_square140.png"
        }
      },
      "user": {
        "contact_info": {
          "email": "active'100@socialcast.com"
        },
        "manager": null,
        "custom_fields": [],
        "followable": false,
        "contact_id": null,
        "following_count": 0,
        "followers_count": 0,
        "status_message": null,
        "id": 115,
        "first_name": "J'øhn103",
        "last_name": "D'øe101",
        "name": "J'øhn103 D'øe101",
        "html_name": "J&#39;øhn103 D&#39;øe101",
        "url": "https://socialcast.socialcast.test/users/115-j%C3%B8hn103d%C3%B8e101",
        "avatars": {
          "is_system_default": true,
          "id": null,
          "square16": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square16-3b951350d61d203ece2fa5dd274fa7bd35275e132c17310d9006514f8839c857.png",
          "square30": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square30-6db66ac25c338d1e548a68465e2723ff63367c2aafbcc01db24c83964056b892.png",
          "square45": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square45-16865426333e244c59076d4f2475b711ed1ff9d12c97f4cf354f373a0170a1fd.png",
          "square70": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square70-1708999e8f1fea583408d7fc64b2177f853e4123bea2ffcf35f4839c8697e0ba.png",
          "square140": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square140-7da7e1d98b33ef152280b1f653cfd80e2db24b01b625a72abc320673eea5af53.png"
        },
        "username": "Jøhn103Døe101",
        "active": true,
        "terminated": false,
        "inactive": false,
        "role": "member",
        "type": "User",
        "title": null,
        "out_of_office": false,
        "out_of_office_on": null,
        "back_in_office_on": null,
        "company_login": null
      },
      "recipient": {
        "contact_info": {
          "email": "active'101@socialcast.com"
        },
        "manager": null,
        "custom_fields": [],
        "followable": true,
        "contact_id": null,
        "following_count": 0,
        "followers_count": 0,
        "status_message": null,
        "id": 116,
        "first_name": "J'øhn104",
        "last_name": "D'øe102",
        "name": "J'øhn104 D'øe102",
        "html_name": "J&#39;øhn104 D&#39;øe102",
        "url": "https://socialcast.socialcast.test/users/116-j%C3%B8hn104d%C3%B8e102",
        "avatars": {
          "is_system_default": true,
          "id": null,
          "square16": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square16-3b951350d61d203ece2fa5dd274fa7bd35275e132c17310d9006514f8839c857.png",
          "square30": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square30-6db66ac25c338d1e548a68465e2723ff63367c2aafbcc01db24c83964056b892.png",
          "square45": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square45-16865426333e244c59076d4f2475b711ed1ff9d12c97f4cf354f373a0170a1fd.png",
          "square70": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square70-1708999e8f1fea583408d7fc64b2177f853e4123bea2ffcf35f4839c8697e0ba.png",
          "square140": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square140-7da7e1d98b33ef152280b1f653cfd80e2db24b01b625a72abc320673eea5af53.png"
        },
        "username": "Jøhn104Døe102",
        "active": true,
        "terminated": false,
        "inactive": false,
        "role": "member",
        "type": "User",
        "title": null,
        "out_of_office": false,
        "out_of_office_on": null,
        "back_in_office_on": null,
        "company_login": null
      },
      "recipients": [
        {
          "contact_info": {
            "email": "active'101@socialcast.com"
          },
          "manager": null,
          "custom_fields": [],
          "followable": true,
          "contact_id": null,
          "following_count": 0,
          "followers_count": 0,
          "status_message": null,
          "id": 116,
          "first_name": "J'øhn104",
          "last_name": "D'øe102",
          "name": "J'øhn104 D'øe102",
          "html_name": "J&#39;øhn104 D&#39;øe102",
          "url": "https://socialcast.socialcast.test/users/116-j%C3%B8hn104d%C3%B8e102",
          "avatars": {
            "is_system_default": true,
            "id": null,
            "square16": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square16-3b951350d61d203ece2fa5dd274fa7bd35275e132c17310d9006514f8839c857.png",
            "square30": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square30-6db66ac25c338d1e548a68465e2723ff63367c2aafbcc01db24c83964056b892.png",
            "square45": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square45-16865426333e244c59076d4f2475b711ed1ff9d12c97f4cf354f373a0170a1fd.png",
            "square70": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square70-1708999e8f1fea583408d7fc64b2177f853e4123bea2ffcf35f4839c8697e0ba.png",
            "square140": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square140-7da7e1d98b33ef152280b1f653cfd80e2db24b01b625a72abc320673eea5af53.png"
          },
          "username": "Jøhn104Døe102",
          "active": true,
          "terminated": false,
          "inactive": false,
          "role": "member",
          "type": "User",
          "title": null,
          "out_of_office": false,
          "out_of_office_on": null,
          "back_in_office_on": null,
          "company_login": null
        }
      ],
      "announcement": {
        "id": 48,
        "user": {
          "id": 115,
          "first_name": "J'øhn103",
          "last_name": "D'øe101",
          "name": "J'øhn103 D'øe101",
          "html_name": "J&#39;øhn103 D&#39;øe101",
          "url": "https://socialcast.socialcast.test/users/115-j%C3%B8hn103d%C3%B8e101",
          "avatars": {
            "is_system_default": true,
            "id": null,
            "square16": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square16-3b951350d61d203ece2fa5dd274fa7bd35275e132c17310d9006514f8839c857.png",
            "square30": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square30-6db66ac25c338d1e548a68465e2723ff63367c2aafbcc01db24c83964056b892.png",
            "square45": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square45-16865426333e244c59076d4f2475b711ed1ff9d12c97f4cf354f373a0170a1fd.png",
            "square70": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square70-1708999e8f1fea583408d7fc64b2177f853e4123bea2ffcf35f4839c8697e0ba.png",
            "square140": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square140-7da7e1d98b33ef152280b1f653cfd80e2db24b01b625a72abc320673eea5af53.png"
          },
          "username": "Jøhn103Døe101",
          "active": true,
          "terminated": false,
          "inactive": false,
          "role": "member",
          "type": "User",
          "title": null,
          "out_of_office": false,
          "out_of_office_on": null,
          "back_in_office_on": null,
          "company_login": null
        },
        "title": "enabled badge 1 & øther things Thanks to @Jøhn104Døe102",
        "body": "way awesome",
        "html_body": "<div class=\"markdown-body\"><p>way awesome</p></div>",
        "action": "gave thanks",
        "verb": null,
        "message_type": "thanks",
        "icon": null,
        "url": "https://socialcast.socialcast.test/api/messages/48",
        "permalink_url": "https://socialcast.socialcast.test/messages/48",
        "external_url": null,
        "created_at": "2017-11-17T18:48:07+00:00",
        "updated_at": "2017-11-17T18:48:07+00:00",
        "attachments": [],
        "media_files": [],
        "contains_url_only": null,
        "external_resources": [],
        "tags": [],
        "last_interacted_at": 1510944487,
        "group": {},
        "category_id": null,
        "recipients": [
          {
            "id": 116,
            "first_name": "J'øhn104",
            "last_name": "D'øe102",
            "name": "J'øhn104 D'øe102",
            "html_name": "J&#39;øhn104 D&#39;øe102",
            "url": "https://socialcast.socialcast.test/users/116-j%C3%B8hn104d%C3%B8e102",
            "avatars": {
              "is_system_default": true,
              "id": null,
              "square16": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square16-3b951350d61d203ece2fa5dd274fa7bd35275e132c17310d9006514f8839c857.png",
              "square30": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square30-6db66ac25c338d1e548a68465e2723ff63367c2aafbcc01db24c83964056b892.png",
              "square45": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square45-16865426333e244c59076d4f2475b711ed1ff9d12c97f4cf354f373a0170a1fd.png",
              "square70": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square70-1708999e8f1fea583408d7fc64b2177f853e4123bea2ffcf35f4839c8697e0ba.png",
              "square140": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square140-7da7e1d98b33ef152280b1f653cfd80e2db24b01b625a72abc320673eea5af53.png"
            },
            "username": "Jøhn104Døe102",
            "active": true,
            "terminated": false,
            "inactive": false,
            "role": "member",
            "type": "User",
            "title": null,
            "out_of_office": false,
            "out_of_office_on": null,
            "back_in_office_on": null,
            "company_login": null,
            "mention_name": "Jøhn104Døe102"
          }
        ],
        "thumbnail_url": null,
        "player_url": null,
        "player_params": null,
        "likable": false,
        "ratable": false,
        "rating": null,
        "ratings_average": null,
        "ratings_count": null,
        "editable": true,
        "deletable": true,
        "watchable": false,
        "watch": null,
        "flag": null,
        "source": {
          "name": "web",
          "formal_name": "Web App",
          "id": "web"
        },
        "poll": null,
        "embed": null,
        "hidden": null,
        "subscribed": null,
        "groups": [],
        "extensions": [
          {
            "extension_type": "thanks_announcement",
            "recipient": {
              "id": 116,
              "first_name": "J'øhn104",
              "last_name": "D'øe102",
              "name": "J'øhn104 D'øe102",
              "html_name": "J&#39;øhn104 D&#39;øe102",
              "url": "https://socialcast.socialcast.test/users/116-j%C3%B8hn104d%C3%B8e102",
              "avatars": {
                "is_system_default": true,
                "id": null,
                "square16": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square16-3b951350d61d203ece2fa5dd274fa7bd35275e132c17310d9006514f8839c857.png",
                "square30": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square30-6db66ac25c338d1e548a68465e2723ff63367c2aafbcc01db24c83964056b892.png",
                "square45": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square45-16865426333e244c59076d4f2475b711ed1ff9d12c97f4cf354f373a0170a1fd.png",
                "square70": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square70-1708999e8f1fea583408d7fc64b2177f853e4123bea2ffcf35f4839c8697e0ba.png",
                "square140": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square140-7da7e1d98b33ef152280b1f653cfd80e2db24b01b625a72abc320673eea5af53.png"
              },
              "username": "Jøhn104Døe102",
              "active": true,
              "terminated": false,
              "inactive": false,
              "role": "member",
              "type": "User",
              "title": null,
              "out_of_office": false,
              "out_of_office_on": null,
              "back_in_office_on": null,
              "company_login": null
            },
            "recipients": [
              {
                "id": 116,
                "first_name": "J'øhn104",
                "last_name": "D'øe102",
                "name": "J'øhn104 D'øe102",
                "html_name": "J&#39;øhn104 D&#39;øe102",
                "url": "https://socialcast.socialcast.test/users/116-j%C3%B8hn104d%C3%B8e102",
                "avatars": {
                  "is_system_default": true,
                  "id": null,
                  "square16": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square16-3b951350d61d203ece2fa5dd274fa7bd35275e132c17310d9006514f8839c857.png",
                  "square30": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square30-6db66ac25c338d1e548a68465e2723ff63367c2aafbcc01db24c83964056b892.png",
                  "square45": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square45-16865426333e244c59076d4f2475b711ed1ff9d12c97f4cf354f373a0170a1fd.png",
                  "square70": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square70-1708999e8f1fea583408d7fc64b2177f853e4123bea2ffcf35f4839c8697e0ba.png",
                  "square140": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square140-7da7e1d98b33ef152280b1f653cfd80e2db24b01b625a72abc320673eea5af53.png"
                },
                "username": "Jøhn104Døe102",
                "active": true,
                "terminated": false,
                "inactive": false,
                "role": "member",
                "type": "User",
                "title": null,
                "out_of_office": false,
                "out_of_office_on": null,
                "back_in_office_on": null,
                "company_login": null
              }
            ],
            "badge": {
              "id": 73,
              "name": "enabled badge 1 & øther things",
              "description": "enabled badge1 description & øther things",
              "url": "https://socialcast.socialcast.test/badges/73",
              "images": {
                "square30": "https://socialcast.socialcast.test/images/thanks/default_badges/visionary_square30.png",
                "square45": "https://socialcast.socialcast.test/images/thanks/default_badges/visionary_square45.png",
                "square70": "https://socialcast.socialcast.test/images/thanks/default_badges/visionary_square70.png",
                "square140": "https://socialcast.socialcast.test/images/thanks/default_badges/visionary_square140.png"
              }
            },
            "in_reference_to": null
          }
        ],
        "new_group_id": null,
        "new_group_archived_at": null,
        "days_of_stickiness": 0,
        "sticky_for_current_user": false,
        "shareable": false,
        "share_count": 0,
        "client_provided_guid": null,
        "comments_count": 0,
        "comments": [],
        "likes": [],
        "likes_count": 0,
        "shared_message": null,
        "commentable": true
      },
      "id": 1,
      "body": "way awesome",
      "image_url": "https://socialcast.socialcast.test/images/thanks/default_badges/visionary_square45.png",
      "source": {
        "name": "web",
        "formal_name": "Web App",
        "id": "web"
      }
    },
    {
      "badge": {
        "id": 73,
        "name": "enabled badge 1 & øther things",
        "description": "enabled badge1 description & øther things",
        "url": "https://socialcast.socialcast.test/badges/73",
        "images": {
          "square30": "https://socialcast.socialcast.test/images/thanks/default_badges/visionary_square30.png",
          "square45": "https://socialcast.socialcast.test/images/thanks/default_badges/visionary_square45.png",
          "square70": "https://socialcast.socialcast.test/images/thanks/default_badges/visionary_square70.png",
          "square140": "https://socialcast.socialcast.test/images/thanks/default_badges/visionary_square140.png"
        }
      },
      "user": {
        "contact_info": {
          "email": "active'100@socialcast.com"
        },
        "manager": null,
        "custom_fields": [],
        "followable": false,
        "contact_id": null,
        "following_count": 0,
        "followers_count": 0,
        "status_message": null,
        "id": 115,
        "first_name": "J'øhn103",
        "last_name": "D'øe101",
        "name": "J'øhn103 D'øe101",
        "html_name": "J&#39;øhn103 D&#39;øe101",
        "url": "https://socialcast.socialcast.test/users/115-j%C3%B8hn103d%C3%B8e101",
        "avatars": {
          "is_system_default": true,
          "id": null,
          "square16": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square16-3b951350d61d203ece2fa5dd274fa7bd35275e132c17310d9006514f8839c857.png",
          "square30": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square30-6db66ac25c338d1e548a68465e2723ff63367c2aafbcc01db24c83964056b892.png",
          "square45": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square45-16865426333e244c59076d4f2475b711ed1ff9d12c97f4cf354f373a0170a1fd.png",
          "square70": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square70-1708999e8f1fea583408d7fc64b2177f853e4123bea2ffcf35f4839c8697e0ba.png",
          "square140": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square140-7da7e1d98b33ef152280b1f653cfd80e2db24b01b625a72abc320673eea5af53.png"
        },
        "username": "Jøhn103Døe101",
        "active": true,
        "terminated": false,
        "inactive": false,
        "role": "member",
        "type": "User",
        "title": null,
        "out_of_office": false,
        "out_of_office_on": null,
        "back_in_office_on": null,
        "company_login": null
      },
      "recipient": {
        "contact_info": {
          "email": "active'101@socialcast.com"
        },
        "manager": null,
        "custom_fields": [],
        "followable": true,
        "contact_id": null,
        "following_count": 0,
        "followers_count": 0,
        "status_message": null,
        "id": 116,
        "first_name": "J'øhn104",
        "last_name": "D'øe102",
        "name": "J'øhn104 D'øe102",
        "html_name": "J&#39;øhn104 D&#39;øe102",
        "url": "https://socialcast.socialcast.test/users/116-j%C3%B8hn104d%C3%B8e102",
        "avatars": {
          "is_system_default": true,
          "id": null,
          "square16": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square16-3b951350d61d203ece2fa5dd274fa7bd35275e132c17310d9006514f8839c857.png",
          "square30": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square30-6db66ac25c338d1e548a68465e2723ff63367c2aafbcc01db24c83964056b892.png",
          "square45": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square45-16865426333e244c59076d4f2475b711ed1ff9d12c97f4cf354f373a0170a1fd.png",
          "square70": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square70-1708999e8f1fea583408d7fc64b2177f853e4123bea2ffcf35f4839c8697e0ba.png",
          "square140": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square140-7da7e1d98b33ef152280b1f653cfd80e2db24b01b625a72abc320673eea5af53.png"
        },
        "username": "Jøhn104Døe102",
        "active": true,
        "terminated": false,
        "inactive": false,
        "role": "member",
        "type": "User",
        "title": null,
        "out_of_office": false,
        "out_of_office_on": null,
        "back_in_office_on": null,
        "company_login": null
      },
      "recipients": [
        {
          "contact_info": {
            "email": "active'101@socialcast.com"
          },
          "manager": null,
          "custom_fields": [],
          "followable": true,
          "contact_id": null,
          "following_count": 0,
          "followers_count": 0,
          "status_message": null,
          "id": 116,
          "first_name": "J'øhn104",
          "last_name": "D'øe102",
          "name": "J'øhn104 D'øe102",
          "html_name": "J&#39;øhn104 D&#39;øe102",
          "url": "https://socialcast.socialcast.test/users/116-j%C3%B8hn104d%C3%B8e102",
          "avatars": {
            "is_system_default": true,
            "id": null,
            "square16": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square16-3b951350d61d203ece2fa5dd274fa7bd35275e132c17310d9006514f8839c857.png",
            "square30": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square30-6db66ac25c338d1e548a68465e2723ff63367c2aafbcc01db24c83964056b892.png",
            "square45": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square45-16865426333e244c59076d4f2475b711ed1ff9d12c97f4cf354f373a0170a1fd.png",
            "square70": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square70-1708999e8f1fea583408d7fc64b2177f853e4123bea2ffcf35f4839c8697e0ba.png",
            "square140": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square140-7da7e1d98b33ef152280b1f653cfd80e2db24b01b625a72abc320673eea5af53.png"
          },
          "username": "Jøhn104Døe102",
          "active": true,
          "terminated": false,
          "inactive": false,
          "role": "member",
          "type": "User",
          "title": null,
          "out_of_office": false,
          "out_of_office_on": null,
          "back_in_office_on": null,
          "company_login": null
        }
      ],
      "announcement": {
        "id": 49,
        "user": {
          "id": 115,
          "first_name": "J'øhn103",
          "last_name": "D'øe101",
          "name": "J'øhn103 D'øe101",
          "html_name": "J&#39;øhn103 D&#39;øe101",
          "url": "https://socialcast.socialcast.test/users/115-j%C3%B8hn103d%C3%B8e101",
          "avatars": {
            "is_system_default": true,
            "id": null,
            "square16": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square16-3b951350d61d203ece2fa5dd274fa7bd35275e132c17310d9006514f8839c857.png",
            "square30": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square30-6db66ac25c338d1e548a68465e2723ff63367c2aafbcc01db24c83964056b892.png",
            "square45": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square45-16865426333e244c59076d4f2475b711ed1ff9d12c97f4cf354f373a0170a1fd.png",
            "square70": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square70-1708999e8f1fea583408d7fc64b2177f853e4123bea2ffcf35f4839c8697e0ba.png",
            "square140": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square140-7da7e1d98b33ef152280b1f653cfd80e2db24b01b625a72abc320673eea5af53.png"
          },
          "username": "Jøhn103Døe101",
          "active": true,
          "terminated": false,
          "inactive": false,
          "role": "member",
          "type": "User",
          "title": null,
          "out_of_office": false,
          "out_of_office_on": null,
          "back_in_office_on": null,
          "company_login": null
        },
        "title": "enabled badge 1 & øther things Thanks to @Jøhn104Døe102",
        "body": "way awesome 2",
        "html_body": "<div class=\"markdown-body\"><p>way awesome 2</p></div>",
        "action": "gave thanks",
        "verb": null,
        "message_type": "thanks",
        "icon": null,
        "url": "https://socialcast.socialcast.test/api/messages/49",
        "permalink_url": "https://socialcast.socialcast.test/messages/49",
        "external_url": null,
        "created_at": "2017-11-17T18:48:07+00:00",
        "updated_at": "2017-11-17T18:48:07+00:00",
        "attachments": [],
        "media_files": [],
        "contains_url_only": null,
        "external_resources": [],
        "tags": [],
        "last_interacted_at": 1510944487,
        "group": {},
        "category_id": null,
        "recipients": [
          {
            "id": 116,
            "first_name": "J'øhn104",
            "last_name": "D'øe102",
            "name": "J'øhn104 D'øe102",
            "html_name": "J&#39;øhn104 D&#39;øe102",
            "url": "https://socialcast.socialcast.test/users/116-j%C3%B8hn104d%C3%B8e102",
            "avatars": {
              "is_system_default": true,
              "id": null,
              "square16": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square16-3b951350d61d203ece2fa5dd274fa7bd35275e132c17310d9006514f8839c857.png",
              "square30": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square30-6db66ac25c338d1e548a68465e2723ff63367c2aafbcc01db24c83964056b892.png",
              "square45": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square45-16865426333e244c59076d4f2475b711ed1ff9d12c97f4cf354f373a0170a1fd.png",
              "square70": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square70-1708999e8f1fea583408d7fc64b2177f853e4123bea2ffcf35f4839c8697e0ba.png",
              "square140": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square140-7da7e1d98b33ef152280b1f653cfd80e2db24b01b625a72abc320673eea5af53.png"
            },
            "username": "Jøhn104Døe102",
            "active": true,
            "terminated": false,
            "inactive": false,
            "role": "member",
            "type": "User",
            "title": null,
            "out_of_office": false,
            "out_of_office_on": null,
            "back_in_office_on": null,
            "company_login": null,
            "mention_name": "Jøhn104Døe102"
          }
        ],
        "thumbnail_url": null,
        "player_url": null,
        "player_params": null,
        "likable": false,
        "ratable": false,
        "rating": null,
        "ratings_average": null,
        "ratings_count": null,
        "editable": true,
        "deletable": true,
        "watchable": false,
        "watch": null,
        "flag": null,
        "source": {
          "name": "web",
          "formal_name": "Web App",
          "id": "web"
        },
        "poll": null,
        "embed": null,
        "hidden": null,
        "subscribed": null,
        "groups": [],
        "extensions": [
          {
            "extension_type": "thanks_announcement",
            "recipient": {
              "id": 116,
              "first_name": "J'øhn104",
              "last_name": "D'øe102",
              "name": "J'øhn104 D'øe102",
              "html_name": "J&#39;øhn104 D&#39;øe102",
              "url": "https://socialcast.socialcast.test/users/116-j%C3%B8hn104d%C3%B8e102",
              "avatars": {
                "is_system_default": true,
                "id": null,
                "square16": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square16-3b951350d61d203ece2fa5dd274fa7bd35275e132c17310d9006514f8839c857.png",
                "square30": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square30-6db66ac25c338d1e548a68465e2723ff63367c2aafbcc01db24c83964056b892.png",
                "square45": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square45-16865426333e244c59076d4f2475b711ed1ff9d12c97f4cf354f373a0170a1fd.png",
                "square70": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square70-1708999e8f1fea583408d7fc64b2177f853e4123bea2ffcf35f4839c8697e0ba.png",
                "square140": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square140-7da7e1d98b33ef152280b1f653cfd80e2db24b01b625a72abc320673eea5af53.png"
              },
              "username": "Jøhn104Døe102",
              "active": true,
              "terminated": false,
              "inactive": false,
              "role": "member",
              "type": "User",
              "title": null,
              "out_of_office": false,
              "out_of_office_on": null,
              "back_in_office_on": null,
              "company_login": null
            },
            "recipients": [
              {
                "id": 116,
                "first_name": "J'øhn104",
                "last_name": "D'øe102",
                "name": "J'øhn104 D'øe102",
                "html_name": "J&#39;øhn104 D&#39;øe102",
                "url": "https://socialcast.socialcast.test/users/116-j%C3%B8hn104d%C3%B8e102",
                "avatars": {
                  "is_system_default": true,
                  "id": null,
                  "square16": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square16-3b951350d61d203ece2fa5dd274fa7bd35275e132c17310d9006514f8839c857.png",
                  "square30": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square30-6db66ac25c338d1e548a68465e2723ff63367c2aafbcc01db24c83964056b892.png",
                  "square45": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square45-16865426333e244c59076d4f2475b711ed1ff9d12c97f4cf354f373a0170a1fd.png",
                  "square70": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square70-1708999e8f1fea583408d7fc64b2177f853e4123bea2ffcf35f4839c8697e0ba.png",
                  "square140": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square140-7da7e1d98b33ef152280b1f653cfd80e2db24b01b625a72abc320673eea5af53.png"
                },
                "username": "Jøhn104Døe102",
                "active": true,
                "terminated": false,
                "inactive": false,
                "role": "member",
                "type": "User",
                "title": null,
                "out_of_office": false,
                "out_of_office_on": null,
                "back_in_office_on": null,
                "company_login": null
              }
            ],
            "badge": {
              "id": 73,
              "name": "enabled badge 1 & øther things",
              "description": "enabled badge1 description & øther things",
              "url": "https://socialcast.socialcast.test/badges/73",
              "images": {
                "square30": "https://socialcast.socialcast.test/images/thanks/default_badges/visionary_square30.png",
                "square45": "https://socialcast.socialcast.test/images/thanks/default_badges/visionary_square45.png",
                "square70": "https://socialcast.socialcast.test/images/thanks/default_badges/visionary_square70.png",
                "square140": "https://socialcast.socialcast.test/images/thanks/default_badges/visionary_square140.png"
              }
            },
            "in_reference_to": null
          }
        ],
        "new_group_id": null,
        "new_group_archived_at": null,
        "days_of_stickiness": 0,
        "sticky_for_current_user": false,
        "shareable": false,
        "share_count": 0,
        "client_provided_guid": null,
        "comments_count": 0,
        "comments": [],
        "likes": [],
        "likes_count": 0,
        "shared_message": null,
        "commentable": true
      },
      "id": 2,
      "body": "way awesome 2",
      "image_url": "https://socialcast.socialcast.test/images/thanks/default_badges/visionary_square45.png",
      "source": {
        "name": "web",
        "formal_name": "Web App",
        "id": "web"
      }
    },
    {
      "badge": {
        "id": 73,
        "name": "enabled badge 1 & øther things",
        "description": "enabled badge1 description & øther things",
        "url": "https://socialcast.socialcast.test/badges/73",
        "images": {
          "square30": "https://socialcast.socialcast.test/images/thanks/default_badges/visionary_square30.png",
          "square45": "https://socialcast.socialcast.test/images/thanks/default_badges/visionary_square45.png",
          "square70": "https://socialcast.socialcast.test/images/thanks/default_badges/visionary_square70.png",
          "square140": "https://socialcast.socialcast.test/images/thanks/default_badges/visionary_square140.png"
        }
      },
      "user": {
        "contact_info": {
          "email": "active'101@socialcast.com"
        },
        "manager": null,
        "custom_fields": [],
        "followable": true,
        "contact_id": null,
        "following_count": 0,
        "followers_count": 0,
        "status_message": null,
        "id": 116,
        "first_name": "J'øhn104",
        "last_name": "D'øe102",
        "name": "J'øhn104 D'øe102",
        "html_name": "J&#39;øhn104 D&#39;øe102",
        "url": "https://socialcast.socialcast.test/users/116-j%C3%B8hn104d%C3%B8e102",
        "avatars": {
          "is_system_default": true,
          "id": null,
          "square16": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square16-3b951350d61d203ece2fa5dd274fa7bd35275e132c17310d9006514f8839c857.png",
          "square30": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square30-6db66ac25c338d1e548a68465e2723ff63367c2aafbcc01db24c83964056b892.png",
          "square45": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square45-16865426333e244c59076d4f2475b711ed1ff9d12c97f4cf354f373a0170a1fd.png",
          "square70": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square70-1708999e8f1fea583408d7fc64b2177f853e4123bea2ffcf35f4839c8697e0ba.png",
          "square140": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square140-7da7e1d98b33ef152280b1f653cfd80e2db24b01b625a72abc320673eea5af53.png"
        },
        "username": "Jøhn104Døe102",
        "active": true,
        "terminated": false,
        "inactive": false,
        "role": "member",
        "type": "User",
        "title": null,
        "out_of_office": false,
        "out_of_office_on": null,
        "back_in_office_on": null,
        "company_login": null
      },
      "recipient": {
        "contact_info": {
          "email": "active'100@socialcast.com"
        },
        "manager": null,
        "custom_fields": [],
        "followable": false,
        "contact_id": null,
        "following_count": 0,
        "followers_count": 0,
        "status_message": null,
        "id": 115,
        "first_name": "J'øhn103",
        "last_name": "D'øe101",
        "name": "J'øhn103 D'øe101",
        "html_name": "J&#39;øhn103 D&#39;øe101",
        "url": "https://socialcast.socialcast.test/users/115-j%C3%B8hn103d%C3%B8e101",
        "avatars": {
          "is_system_default": true,
          "id": null,
          "square16": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square16-3b951350d61d203ece2fa5dd274fa7bd35275e132c17310d9006514f8839c857.png",
          "square30": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square30-6db66ac25c338d1e548a68465e2723ff63367c2aafbcc01db24c83964056b892.png",
          "square45": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square45-16865426333e244c59076d4f2475b711ed1ff9d12c97f4cf354f373a0170a1fd.png",
          "square70": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square70-1708999e8f1fea583408d7fc64b2177f853e4123bea2ffcf35f4839c8697e0ba.png",
          "square140": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square140-7da7e1d98b33ef152280b1f653cfd80e2db24b01b625a72abc320673eea5af53.png"
        },
        "username": "Jøhn103Døe101",
        "active": true,
        "terminated": false,
        "inactive": false,
        "role": "member",
        "type": "User",
        "title": null,
        "out_of_office": false,
        "out_of_office_on": null,
        "back_in_office_on": null,
        "company_login": null
      },
      "recipients": [
        {
          "contact_info": {
            "email": "active'100@socialcast.com"
          },
          "manager": null,
          "custom_fields": [],
          "followable": false,
          "contact_id": null,
          "following_count": 0,
          "followers_count": 0,
          "status_message": null,
          "id": 115,
          "first_name": "J'øhn103",
          "last_name": "D'øe101",
          "name": "J'øhn103 D'øe101",
          "html_name": "J&#39;øhn103 D&#39;øe101",
          "url": "https://socialcast.socialcast.test/users/115-j%C3%B8hn103d%C3%B8e101",
          "avatars": {
            "is_system_default": true,
            "id": null,
            "square16": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square16-3b951350d61d203ece2fa5dd274fa7bd35275e132c17310d9006514f8839c857.png",
            "square30": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square30-6db66ac25c338d1e548a68465e2723ff63367c2aafbcc01db24c83964056b892.png",
            "square45": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square45-16865426333e244c59076d4f2475b711ed1ff9d12c97f4cf354f373a0170a1fd.png",
            "square70": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square70-1708999e8f1fea583408d7fc64b2177f853e4123bea2ffcf35f4839c8697e0ba.png",
            "square140": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square140-7da7e1d98b33ef152280b1f653cfd80e2db24b01b625a72abc320673eea5af53.png"
          },
          "username": "Jøhn103Døe101",
          "active": true,
          "terminated": false,
          "inactive": false,
          "role": "member",
          "type": "User",
          "title": null,
          "out_of_office": false,
          "out_of_office_on": null,
          "back_in_office_on": null,
          "company_login": null
        }
      ],
      "announcement": {
        "id": 50,
        "user": {
          "id": 116,
          "first_name": "J'øhn104",
          "last_name": "D'øe102",
          "name": "J'øhn104 D'øe102",
          "html_name": "J&#39;øhn104 D&#39;øe102",
          "url": "https://socialcast.socialcast.test/users/116-j%C3%B8hn104d%C3%B8e102",
          "avatars": {
            "is_system_default": true,
            "id": null,
            "square16": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square16-3b951350d61d203ece2fa5dd274fa7bd35275e132c17310d9006514f8839c857.png",
            "square30": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square30-6db66ac25c338d1e548a68465e2723ff63367c2aafbcc01db24c83964056b892.png",
            "square45": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square45-16865426333e244c59076d4f2475b711ed1ff9d12c97f4cf354f373a0170a1fd.png",
            "square70": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square70-1708999e8f1fea583408d7fc64b2177f853e4123bea2ffcf35f4839c8697e0ba.png",
            "square140": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square140-7da7e1d98b33ef152280b1f653cfd80e2db24b01b625a72abc320673eea5af53.png"
          },
          "username": "Jøhn104Døe102",
          "active": true,
          "terminated": false,
          "inactive": false,
          "role": "member",
          "type": "User",
          "title": null,
          "out_of_office": false,
          "out_of_office_on": null,
          "back_in_office_on": null,
          "company_login": null
        },
        "title": "enabled badge 1 & øther things Thanks to @Jøhn103Døe101",
        "body": "way awesome 3",
        "html_body": "<div class=\"markdown-body\"><p>way awesome 3</p></div>",
        "action": "gave thanks",
        "verb": null,
        "message_type": "thanks",
        "icon": null,
        "url": "https://socialcast.socialcast.test/api/messages/50",
        "permalink_url": "https://socialcast.socialcast.test/messages/50",
        "external_url": null,
        "created_at": "2017-11-17T18:48:07+00:00",
        "updated_at": "2017-11-17T18:48:07+00:00",
        "attachments": [],
        "media_files": [],
        "contains_url_only": null,
        "external_resources": [],
        "tags": [],
        "last_interacted_at": 1510944487,
        "group": {},
        "category_id": null,
        "recipients": [
          {
            "id": 115,
            "first_name": "J'øhn103",
            "last_name": "D'øe101",
            "name": "J'øhn103 D'øe101",
            "html_name": "J&#39;øhn103 D&#39;øe101",
            "url": "https://socialcast.socialcast.test/users/115-j%C3%B8hn103d%C3%B8e101",
            "avatars": {
              "is_system_default": true,
              "id": null,
              "square16": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square16-3b951350d61d203ece2fa5dd274fa7bd35275e132c17310d9006514f8839c857.png",
              "square30": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square30-6db66ac25c338d1e548a68465e2723ff63367c2aafbcc01db24c83964056b892.png",
              "square45": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square45-16865426333e244c59076d4f2475b711ed1ff9d12c97f4cf354f373a0170a1fd.png",
              "square70": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square70-1708999e8f1fea583408d7fc64b2177f853e4123bea2ffcf35f4839c8697e0ba.png",
              "square140": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square140-7da7e1d98b33ef152280b1f653cfd80e2db24b01b625a72abc320673eea5af53.png"
            },
            "username": "Jøhn103Døe101",
            "active": true,
            "terminated": false,
            "inactive": false,
            "role": "member",
            "type": "User",
            "title": null,
            "out_of_office": false,
            "out_of_office_on": null,
            "back_in_office_on": null,
            "company_login": null,
            "mention_name": "Jøhn103Døe101"
          }
        ],
        "thumbnail_url": null,
        "player_url": null,
        "player_params": null,
        "likable": true,
        "ratable": false,
        "rating": null,
        "ratings_average": null,
        "ratings_count": null,
        "editable": false,
        "deletable": false,
        "watchable": false,
        "watch": null,
        "flag": null,
        "source": {
          "name": "web",
          "formal_name": "Web App",
          "id": "web"
        },
        "poll": null,
        "embed": null,
        "hidden": null,
        "subscribed": null,
        "groups": [],
        "extensions": [
          {
            "extension_type": "thanks_announcement",
            "recipient": {
              "id": 115,
              "first_name": "J'øhn103",
              "last_name": "D'øe101",
              "name": "J'øhn103 D'øe101",
              "html_name": "J&#39;øhn103 D&#39;øe101",
              "url": "https://socialcast.socialcast.test/users/115-j%C3%B8hn103d%C3%B8e101",
              "avatars": {
                "is_system_default": true,
                "id": null,
                "square16": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square16-3b951350d61d203ece2fa5dd274fa7bd35275e132c17310d9006514f8839c857.png",
                "square30": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square30-6db66ac25c338d1e548a68465e2723ff63367c2aafbcc01db24c83964056b892.png",
                "square45": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square45-16865426333e244c59076d4f2475b711ed1ff9d12c97f4cf354f373a0170a1fd.png",
                "square70": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square70-1708999e8f1fea583408d7fc64b2177f853e4123bea2ffcf35f4839c8697e0ba.png",
                "square140": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square140-7da7e1d98b33ef152280b1f653cfd80e2db24b01b625a72abc320673eea5af53.png"
              },
              "username": "Jøhn103Døe101",
              "active": true,
              "terminated": false,
              "inactive": false,
              "role": "member",
              "type": "User",
              "title": null,
              "out_of_office": false,
              "out_of_office_on": null,
              "back_in_office_on": null,
              "company_login": null
            },
            "recipients": [
              {
                "id": 115,
                "first_name": "J'øhn103",
                "last_name": "D'øe101",
                "name": "J'øhn103 D'øe101",
                "html_name": "J&#39;øhn103 D&#39;øe101",
                "url": "https://socialcast.socialcast.test/users/115-j%C3%B8hn103d%C3%B8e101",
                "avatars": {
                  "is_system_default": true,
                  "id": null,
                  "square16": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square16-3b951350d61d203ece2fa5dd274fa7bd35275e132c17310d9006514f8839c857.png",
                  "square30": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square30-6db66ac25c338d1e548a68465e2723ff63367c2aafbcc01db24c83964056b892.png",
                  "square45": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square45-16865426333e244c59076d4f2475b711ed1ff9d12c97f4cf354f373a0170a1fd.png",
                  "square70": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square70-1708999e8f1fea583408d7fc64b2177f853e4123bea2ffcf35f4839c8697e0ba.png",
                  "square140": "https://socialcast.socialcast.test/assets-test/v6/avatars/default_user_square140-7da7e1d98b33ef152280b1f653cfd80e2db24b01b625a72abc320673eea5af53.png"
                },
                "username": "Jøhn103Døe101",
                "active": true,
                "terminated": false,
                "inactive": false,
                "role": "member",
                "type": "User",
                "title": null,
                "out_of_office": false,
                "out_of_office_on": null,
                "back_in_office_on": null,
                "company_login": null
              }
            ],
            "badge": {
              "id": 73,
              "name": "enabled badge 1 & øther things",
              "description": "enabled badge1 description & øther things",
              "url": "https://socialcast.socialcast.test/badges/73",
              "images": {
                "square30": "https://socialcast.socialcast.test/images/thanks/default_badges/visionary_square30.png",
                "square45": "https://socialcast.socialcast.test/images/thanks/default_badges/visionary_square45.png",
                "square70": "https://socialcast.socialcast.test/images/thanks/default_badges/visionary_square70.png",
                "square140": "https://socialcast.socialcast.test/images/thanks/default_badges/visionary_square140.png"
              }
            },
            "in_reference_to": null
          }
        ],
        "new_group_id": null,
        "new_group_archived_at": null,
        "days_of_stickiness": 0,
        "sticky_for_current_user": false,
        "shareable": false,
        "share_count": 0,
        "client_provided_guid": null,
        "comments_count": 0,
        "comments": [],
        "likes": [],
        "likes_count": 0,
        "shared_message": null,
        "commentable": true
      },
      "id": 3,
      "body": "way awesome 3",
      "image_url": "https://socialcast.socialcast.test/images/thanks/default_badges/visionary_square45.png",
      "source": {
        "name": "web",
        "formal_name": "Web App",
        "id": "web"
      }
    }
  ]
}