GetOAuthAccessToken
Obtains the OAuth access token to be used for authentication with MailChimp.
Input
Name | Type | Required | Description |
AuthMode | String | True | The type of authentication mode to use.
The allowed values are APP, WEB. The default value is WEB. |
Verifier | String | False | The verifier code returned by MailChimp after permission for the app to connect has been granted. WEB AuthMode only. |
CallbackURL | String | False | This field determines where the response is sent. The value of this parameter must exactly match one of the values registered in the APIs Console, including the HTTP or HTTPS schemes, capitalization, and trailing forward slash ('/'). |
State | String | False | This field indicates any state that may be useful to your application upon receipt of the response. Your application receives the same value it sent, as this parameter makes a round-trip to MailChimp authorization server and back. Uses include redirecting the user to the correct resource in your site, using nonces, and mitigating cross-site request forgery. |
Result Set Columns
Name | Type | Description |
OAuthAccessToken | String | The authentication token returned from MailChimp. This can be used in subsequent calls to other operations for this particular service. |
ExpiresIn | String | The remaining lifetime on the access token. |
DataCenter | String | The datacenter for the user. |