To use the API functionality in Campaign Studio, do the following:
To configure the 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_credentialsThe response returned should be a JSON encoded string:
{
access_token: "NEW_ACCESS_TOKEN",
expires_in: 3600,
token_type: "bearer",
scope: ""
}Campaign Studio uses PHP native local codes. If you make changes to the preferred_locale field for contacts through the API, see the PHP: Local Manual. For a list of countries codes, see this Letter codes of cultures (languages, countries/regions) list and replace the hyphen with an underscore in Campaign Studio.
For more Campaign Studio API documentation, see:
If this content did not answer your questions, try searching or contacting our support team for further assistance.
If this content did not answer your questions, try searching or contacting our support team for further assistance.