Our v3 API is now available! Learn more by visiting the v3 developer portal. Creating new v2 API keys is no longer supported.

User Privileges

The User Privileges endpoint returns all API-specific privileges for the user associated with the OAuth access token provided with the GET call. Use these privileges to optimize your application's user experience based on the functionality that a user can access.

Learn more about user roles and API privileges :

Methods:

Click a method to view its documentation

GET

DescriptionTOP

Privileges required: none, accessible to all users

A GET call to the user privileges endpoint returns a list of the API privileges for the user associated with the access_token provided. 

GET: https://api.constantcontact.com/v2/account/user/privileges

Test API

name

type

default

description

api_key

query

REQUIRED; The API key for the application

Response CodesTOP

code

description

200

Request was successful

401

Authentication failure, either the API key or access token is invalid

403

The user is deactivated, or the account is derelict, and no privileges are available.

405

Unsupported method, only GET is supported by this endpoint

406

Unsupported accept header value, must be application/json

503

Internal server error occurred

Example ResponseTOP

[
    "campaign:send",
    "account:update",
    "campaign:list",
    "contacts:write",
    "contacts:signuptools:create",
    "contacts:lists:write",
    "contacts:lists:read",
    "campaign:create",
    "contacts:read",
    "campaign:read",
    "account:read",
    "campaign:activate",
    "campaign:write",
    "campaign:stop",
    "campaign:delete",
    "mylibrary:create",
    "mylibrary:delete",
    "mylibrary:read",
    "mylibrary:update"
]