Use this partner-only endpoint to retrieve (GET) a collection of the accounts provisioned under your partnership with Constant Contact. Please note that this endpoint uses basic authentication, and requires that the partners username and password be included in each call.
NOTE: This endpoint is available only to approved Constant Contact Technology Platform partners. Learn more here. It also uses basic authentication as documented on this page.
Click a method to view its documentation
GET: https://api.constantcontact.com/v2/partner/accounts |
|||
name |
type |
default |
description |
---|---|---|---|
api_key |
query |
REQUIRED; The API key for the application; API key must have Partner level API Access |
|
limit |
query |
50 |
Specifies the number of results displayed per page of output, from 1 - 500, default = 50. See Paginated Output for more information on using |
code |
description |
---|---|
200 |
Request was successful |
401 |
Authentication failure |
406 |
Unsupported accept header value, must be application/json |
500 |
Internal server error occurred |
property |
type(max length) |
description |
---|---|---|
id |
string (80) |
Unique ID for the owner of the Constant Contact account |
last_login_date |
string |
Date and time the account was last logged in, in ISO 8601 format; this property is not returned if user has never logged in to the account |
organization_name |
string (80) |
Name of the organization associated with the account |
status |
string |
Identifies the account status, valid values are
|
username |
string (50) |
The username associated with the account. |
{ "meta": { "pagination": { "next_link": "/v2/partner/accounts?next=cGFnZU51bT0yJnBhZ2VTaXplPTI" } }, "results": [ { "id": "a07e1ih151d0", "username": "tdgg888-b374f00cc606ca1d", "status": "OPEN", "organization_name":"My Organization", "last_login_date": "2014-10-07T18:51:35.975-04:00" }, { "id": "a07e4bg683r8", "username": "rmwe864-b421g00cc607ac4e", "status": "PENDING CANCELLATION", "organization_name":"The Organization", "modified_date": "2014-09-28T08:15:44.632-04:00" } ] }