AE REST API Permissions (Basic & Advanced)


This article lists the permission level each AE REST API v1.1 call needs. Use v1.1 for all new integrations. The older v1.0 calls are not covered here.


Important

The calls optin, optout (including optin/brand/[ID], optin/segment/[ID], optout/brand/[ID] and optout/segment/[ID]), app/allowlist and app/unallowlist need Advanced permission, an active application and a key with the right scope. Allowlisting a domain is also subject to the domain allowances in your licence.


Basic Permissions


Basic permission:


auth, info, cross_brands, cross_activity, brandlist,


feed, segments, activities, app_info,


members, check, member, member_update, member_register, member_delete, reset_password, member_registrations, member_domains,


gender_breakdown, age_breakdown, activity_breakdown, social_network_breakdown, activity_breakdown_totals,


activity_breakdown_timeline, location_breakdown, active_members_breakdown, members_registration_timeline, members_registration_channels,


members_registration_domains, members_registration_totals, community, members_visit_totals, members_activity_totals

account_usage


Advanced Permissions


Advanced permission:


record, optin, optout, segment_save, segment_delete, activity_save, activity_delete, app_allowlist, app_unallowlist, member_verify, member_refresh_tokens




AE REST API Calls (Version & Permission Requirements)



API Version 1.1:


Version

API Call

Permission Level Needed For Access

v1.1

activities

Basic

v1.1

activities/create 

Basic

v1.1

activities/[ActivityID]/edit

Advanced

v1.1

activities/[ActivityID]/delete

Advanced

v1.1

activity/feed

Basic

v1.1

activity/record

Advanced

v1.1

app/info

Basic

v1.1

app/unallowlist

Advanced

v1.1

app/allowlist

Advanced

v1.1

auth

Basic

v1.1

brands

Basic

v1.1

brands/create

Basic

v1.1

brand/[BrandID] 

Basic

v1.1

brand/[BrandID]/edit

Basic

v1.1

brand/[BrandID]/stats/activity

Basic

v1.1

brand/[BrandID]/stats/age

Basic

v1.1

brand/[BrandID]/delete

Basic

v1.1

brand/[BrandID]/crossover

Basic

v1.1

brand/[BrandID]/segments

Basic

v1.1

brand/[BrandID]/activities

Basic

v1.1

brand/[BrandID]/stats/gender 

Basic

v1.1

brand/[BrandID]/stats/timeline

Basic

v1.1

brand/[BrandID]/stats/location

Basic

v1.1

brand/[BrandID]/stats/members

Basic

v1.1

members/all

Basic

v1.1

members/login

Basic

v1.1

members/extended

Basic

v1.1

members/active

Basic

v1.1

member/login

Basic

v1.1

member/register

Basic

v1.1

member/[MemberID]

Basic

v1.1

member/[MemberID]/verify

Basic

v1.1

member/[MemberID]/delete

Basic

v1.1

member/[MemberID]/update

Basic

v1.1

member/[MemberID]/domains/top

Basic

v1.1

member/[MemberID]/domains/logins

Basic

v1.1

member/[MemberID]/activity/delete

Basic

v1.1

member/refresh/tokens

Advanced

v1.1

member/[MemberID]/reset 

Advanced

v1.1

login/stats/totals

Basic

v1.1

login/stats/domains 

Basic

v1.1

login/stats/channels

Basic

v1.1

login/stats/timeline

Basic

v1.1

optin

Advanced

v1.1

optin/brand/[BrandID] 

Advanced

v1.1

optin/segment/[SegmentID]

Advanced

v1.1

optout

Advanced

v1.1

optout/brand/[BrandID]

Advanced

v1.1

optout/segment/[SegmentID]

Advanced

v1.1

segments

Basic

v1.1

segments/create

Basic

v1.1

segments/[SegmentID]/edit 

Advanced

v1.1

segments/[SegmentID]/delete

Advanced





Limits


The published API gateway rate limits are:

Plan

Rate limit

Basic

100 requests per hour and 2,400 requests per day

Pro

500 requests per hour


Customer-specific and Enterprise licences may have different limits.


Date ranges and pagination vary by endpoint. The member and report retrieval endpoints that share an implementation cap the page size at 1,000 records and reject offsets of 250,000 or more. Do not assume these values apply to other endpoints. Test an endpoint in the developer console to see how it behaves for your account, and read API Best Practices for guidance on keeping requests small.


Errors


A request the API rejects returns HTTP status 400 with an error code in the JSON body:

  • 7: invalid api key
  • 2: invalid user for this api account
  • 9: method not allowed for this api key (for example, an Advanced call made with a key that does not have Advanced permission)
  • 1: invalid get request to endpoint


Test api endpoints by using the console at our developer site.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article