Use this endpoint to retrieve information about an OAuth 2.0 access token.
Click a method to view its documentation
Make a POST to this endpoint to retrieve information about an OAuth 2.0 access token, including:
To provide the access token in a URL encoded request, set the below header, and provide "access_token" as the key and the unique access token as the value in the url encoded request.
Content-Type: application/x-www-form-urlencoded
You may also omit headers and append the access token to the query parameters of the URI you make the request to (access_token=xxxxx).
|
POST: https://oauth2.constantcontact.com/oauth2/tokeninfo.htm |
|
code |
description |
|---|---|
|
200 |
Request was successful |
|
404 |
The token provided is invalid or has expired |
|
405 |
Unsupported method, only POST is supported by this endpoint |
|
406 |
Unsupported accept header value, must be application/json |
|
415 |
Unsupported content-type in the header, use application/x-www-form-urlencoded |
|
503 |
Internal server error occurred |
|
property |
type (max length) |
description |
|---|
{
"client_id":"abcde-123456789",
"user_name":"user_name_of_the_account",
"expires_in":285027367
}