To use the API functionality in Campaign Studio, you must configure API settings and then enable API credentials. These configurations are located in two different parts of the UI in Settings.
For information about how to configure API settings, see API settings.
For more API Campaign Studio documentation, see:
To enable API credentials:
Make a POST to the access token’s endpoint oauth/v2/token using the client_credentials grant type:
POST /oauth/v2/token
client_id=CLIENT_ID
&client_secret=CLIENT_SECRET
&grant_type=client_credentials
The response returned should be a JSON encoded string:
{
access_token: "NEW_ACCESS_TOKEN",
expires_in: 3600,
token_type: "bearer",
scope: ""
}