I'm trying to get an access token for sandbox mode.
My post request:
{
"clientId": "xxxxxxxxxx",
"clientSecret": "xxxxxxx"
}
I'm sending the request to https://auth-test.exacttargetapis.com/v1/requestToken according to documentation, but I get an unauthorized response:
{
"message": "Unauthorized",
"errorcode": 1,
"documentation": ""
}
If I send the same request to https://auth.exacttargetapis.com/v1/requestToken I get an access token succesfully for the production environment.
Am I missing something? I'm not a salesforce developer, but I'll need to build a web service that uses these api. Thank you.