• API 
    •  API Endpoints
    •  Developer Guides 
  • Dashboard 
  • Login
  • Sign Up
  • Switch to API v1.0
  • Account

    • Account Usage

      Hits per account/application, per time period

  • Activities

    • Activities

      Return a list of all of your activities

    • Activities Count Daily - [advanced]

      Returns a list of collated daily activity counts.

    • Activities Count Services - [advanced]

      Return a daily activity count breakdown by service

    • Create

      Create a tracking activity

    • Delete - [advanced]

      Delete an existing activity

    • Edit - [advanced]

      Edit an existing tracking activity

    • Feed

      Activity data feed

    • Record - [advanced]

      Manually record an activity for your data feed

    • Segment Presave - [advanced]

      Adds a Spotify track or album to the library of all opted in members of a segment

  • Applications

    • Application Information

      Return all social sign in and registration urls for a particular api key

    • App Unwhitelist - [advanced]

      Remove domain from application whitelist in order to disable AE Connect JS Framework

    • App Whitelist - [advanced]

      Add domain to application whitelist in order to enable AE Connect JS Framework

  • Brands

    • Show

      Return a specific brand's details

    • Activities

      Return a list of all of your activities.

    • Create - [advanced]

      Create a new brand

    • Crossover

      Return associated brand details

    • Delete - [advanced]

      Delete an existing brand

    • Edit - [advanced]

      Update an existing brand

    • Segments

      Return a list of all of your segments

    • Activity Breakdown Totals

      Obtain a tally of the top activities in your network

    • Age Breakdown

      Get a breakdown of the ages of your users

    • Gender Breakdown

      Get a breakdown of the genders of your users

    • Location Breakdown

      Obtain a breakdown member activity by location with activity count for each country

    • Active Members Breakdown

    • Segment Stats

      Obtain an all-time overall total of members and activities for the segment

    • Activity Breakdown Timeline

      Obtain a breakdown of activity totals by day grouped by service type

    • Show All

      Return a list of all of the brands being monitored by your Appreciation Engine account

    • Optin Brand

      Opt a member into a brand's list

    • Optout Brand

      Opt a memberout of brand's list.

  • Login Statistics

    • Members Registration Totals All-Time

      Get a list of all-time member registration totals broken down by domain, service or country

    • Members Registration Channels

      Returns a list of channels members have registered with and a count of registrations per channel.

    • Members Registration Domains

      Returns a list of the domains members have registered on, broken down by registrations per channel.

    • Members Registration Timeline

      Obtain a registration/sign-up timeline grouped by the service used to sign up

    • Members Registration Totals

      Get a list of member registration totals broken down by domain, service or country

  • Members

    • Check Member Activity

      Returns a state of true or false, as well as information for a completed action on a social network for a specified user.

    • Show

      Returns member profile data

    • Delete Member Activity

      Delete specified activity for member

    • Delete

      Remove a member

    • Login Domains

    • Top Domains

    • Login

      Login existing member

    • Refresh Tokens - [advanced]

      Refresh a user's tokens for a specific service

    • Register

      Register a member authentication

    • Register Member Service

      Register a member service

    • Reset - [advanced]

      Update a member's password

    • Update

      Updates member data

    • Verify

      Manually verify an email address for a user

    • Active

      Returns members and associated profile data, sorted by most active within time range specified (default 1 week)

    • Members Activity Totals

      Return a registration / sign-up breakdown / totals for an application, domain, or service over a timeline (eg. daily)

    • All

      Returns members and associated profile data

    • Extended

      Returns members, and associated profile data, based on criteria specified by parameters, ordered by the extended node.

    • Login

      Returns members, and associated profile data, ordered by last login.

    • Member Visit Totals

      Return a visit and conversion total for an application, domain, or service over a timeline (eg. daily)

    • Opt In

      Opt a member into your global list.

    • Opt Out

      Opt a member out of your global list

  • Miscellaneous

    • Auth

      Verify authentication via the Appreciation Engine

  • Segments

    • Optin Segments

      Opt a member into your segment list.

    • Optout Segments

      Opt a member out of your segment list.

    • Segments

      Return a list of all of your segments

    • Create - [advanced]

      Create a new segment

    • Delete - [advanced]

      Delete an existing segment

    • Edit - [advanced]

      Update an existing segment


Members - Login



Endpoint

GET /v1.1/members/login

Description

Returns members, and associated profile data, based on criteria specified by parameters, sorted by date of last login. Can also specify fields in Extended node. (eg. Extended.lastUpdated)

Results can be paged by passing offset and limit values to the limit parameter as [offset],[limit]. eg. 10,10

Default date range if none specified is 1 week. The maximum date range - even if a bigger range is specified - is 6 months.

Parameters
required *

apiKey *  string Your API access key
services  string Comma separated list – eg. twitter, facebook, lastfm, rdio, youtube, custom, etc
fields  string Comma separated list to reduce returned data set to – eg. Email, FirstName, BirthDate
required_fields  string Comma separated list of fields that must have been provided – eg. Email, FirstName, BirthDate
domain  string Filter by the domain the members registered from, without the 'http' or 'www' eg. mydomain.com
country  string ISO 3166-1 alpha-2, comma separated list. eg US,CA,GB
period  string In format of ' ' - eg 2 Month, 1 Day, 3 Week (default: 1 Week)
period_end  string In format of ' ' - eg 2 Month, 1 Day, 3 Week (default: 1 Week)
start_date  string In format of 'YYYY-MM-DD HH:MM:SS' – start of date range for results
end_date  string In format of 'YYYY-MM-DD HH:MM:SS' – end of date range for results
sort  string Sort direction to apply 'order_by' value. ASC or DESC
members  string Only include these members, comma separated list of native IDs – eg. 811566,803186
exclude_members  string Ignore these members, comma separated list of native IDs – eg. 811566,803186
paid_only  boolean Filter to users who have a paid service attached eg. Spotify Premium
totalmembercount  boolean Include the total member count field in API response'
limit  string Limit the results, default 10, max 1000 eg 100 or 10,10 (offset,limit)

Sign in with your developer account to use the console, or sign up here

Example Request

  • cURL
  • PHP
  • Python
  • NodeJS
curl -v -X GET "https://api.theappreciationengine.com/v1.1/members/login?apiKey=0a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p&limit=10"
$curl = curl_init();

curl_setopt_array($curl, array( 
	CURLOPT_URL => "https://api.theappreciationengine.com/v1.1/members/login?apiKey=0a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p&limit=10", 
	CURLOPT_RETURNTRANSFER => true, 
	CURLOPT_ENCODING => "", 
	CURLOPT_MAXREDIRS => 10, 
	CURLOPT_TIMEOUT => 0, 
	CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 
	CURLOPT_CUSTOMREQUEST => "GET", 
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
import requests

url = "https://api.theappreciationengine.com/v1.1/members/login?apiKey=0a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p&limit=10"

headers = {}
payload = {}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text.encode('utf8'))
var request = require('request');
var options = {
	'method': 'GET',
	'url': 'https://api.theappreciationengine.com/v1.1/members/login?apiKey=0a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p&limit=10',
	'headers': {}
};
request(options, function (error, response) {
	if (error) throw new Error(error);
	console.log(response.body);
});

Example Response

{
"totalSize": 2,
"items": [
{
"ID": "1111",
"UUID": "11111111-1111-1111-1111-111111111111",
"FirstName": "William",
"Surname": "Riker",
"Username": "ImNumber1",
"Email": "williamriker@starfleet.com",
"Gender": "M",
"Bio": "Guess who's number one...",
"City": null,
"State": null,
"Country": "US",
"Address": null,
"Addressline2": null,
"PostCode": null,
"HomePhone": null,
"MobilePhone": null,
"BrandName": "Wyld Stallyns",
"BrandType": "Artist",
"LastVisited": "2353-04-30 14:35:48",
"Score": "1",
"ActivityCount": "1",
"GeoCity": "",
"GeoRegion": "",
"GeoCountry": "US",
"GeoLat": null,
"GeoLong": null,
"BrandID": "1234",
"MemberAvatarURL": "http://someurl.com",
"LastActivity": {
"ID": "222",
"Name": "Wyld Stallyns Track Heavy Rotation on Spotify",
"ActivityID": "5555",
"Content": "'God gave rock and roll to you' in heavy rotation on Spotify",
"Link": "https://open.spotify.com/track/0C4ejWmOTMv8vuYj85mf8m",
"CompleteDate": "2353-04-30 14:00:00"
},
"Brand": {
"ID": "1234",
"Name": "Wyld Stallyns",
"Type": "Artist"
},
"CountryCode": "US",
"Services": [
{
"ID": "1111111111",
"Service": "SpotifyAuthenticator",
"Token": "BQAimKCA-duKAUcs6-CxnWBlN7kjqw",
"TokenSecret": "AQDggyhu7yRILTbL-8o5pQH8dtrCobY",
"Valid": "1",
"ActivitySharing": "1",
"UserID": "111",
"Username": "ImNumber1",
"UserURL": "https://open.spotify.com/user/111",
"Expires": "0",
"Followers": "1",
"Likes": "1",
"VerifiedEmail": "williamriker@starfleet.com",
"Domains": [
"http://www.someurl.com",
"https://starfleet.com"
],
"PaidAccount": "1",
"LastUpdated": "2353-04-30 14:00:00",
"LastLogin": "2353-04-30 14:00:00"
}
],
"OptIns": null,
"VerifiedEmail": "williamriker@starfleet.com"
},
{
// 2nd member
}
],
"paging": []
}

© Copyright Appreciation Engine Inc 2021, all rights reserved. See our Terms & Conditions, Privacy Policy, Cookie Policy and Privacy Promise.

We are grateful to the lək̓ʷəŋən People of the Esquimalt and Songhees Nations on whose traditional territories Appreciation Engine is based. We also wish to give thanks to the W̱SÁNEĆ, Hul’q’umi’num’, and Snuneymuwx Peoples of the Coast Salish First Nations, and the Ngāti Toa, Muaūpoko, and Ngāti Raukawa ki te Tonga of the Māori iwi, on whose traditional territories the team members of AE work and live.