The REST API access is restricted and requires HTTP Basic Authentication. Authentication requires a Base64 encoded string composed of the Account Name and API Password.
To construct a Basic Authorization header:
- Go to CUSTOMER CENTER > API MANAGEMENT > SETUP API.
- Copy the current API Password. If there is no password, click GENERATE PASSWORD.
- Build a string of the form accountName:apiPassword, for example:
- Authorization: Basic bXlBY2NvdW50Onh5enB3ZDEyMw==
NOTE: API access must be enabled for the Account in order to use the REST API. Please contact your Account Manager if you are unable to access the API Setup.