I have previously created and have been using one app to perform triggered sends with messageDefinitionSends. I now have the additional requirement of creating more sends that are defined under another business unit(we will call it busUnt2).

When I make the post to any trigger in busUnt2 https://www.exacttargetapis.com/messaging/v1/messageDefinitionSends/key:TEST_EXTERNAL_TRIGGER_ID/send?access_token=******r5afcz

I get a 404 error

   "message": "Not Found",
   "errorcode": 0,
   "documentation": "https://code.docs.exacttarget.com/rest/errors/404"

I created a new app linked to busUnt2 to test and the trigger and it sends fine.

How can I configure my original app to send triggers built in any business unit?

  • I believe when creating an APP in appcenter, the access token can only be used for that BU that it was created for. – Arvind Raman Apr 12 '15 at 15:59

A second set of App Keys would need to be generated in App Center. When creating the app, at the authentication step there is an option to select the business unit they will be associated with.

  • This is cumbersome but correct. I did end up using 2 app keys... which also means 2 calls for security tokens and some logic and settings to know which key is for which business unit and for which triggered send. – Tiris Jul 21 '16 at 20:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.