Skip to content

samStoreAndRedirect ​

Due to limitations on devices to effectively redirect via Mandrill URLs created for email click-tracking, this API is intended as a replacement so that SAM can receive email click events, store them, and redirect to the desired deep link.

Request ​

http
GET /rest/webhooks/redirect

Parameters ​

ParameterTypeRequiredDescription
idIntegerYesAn id representing the PK of an EmailNotification record created by SAM when sending emails. Generated by SAM.
urlStringYesA URL-encoded URL (usually a deep link) that SAM should redirect to after it has tried to store the click event.

Response ​

200 OK ​

http://localhost:8080/nextinteract-webapp/rest/webhooks/redirect?id=123&url=https%253A%252F%252Ftest-my.interact.technology%252Fm%252Fopen%253Fid%253D5%2526cid%253D3%2526it_method%253Dnewsletter%2526it_metadata_id%253D622 RESPONSE: A 302 redirect to the destination defined by url parameter.

Errors ​

ExceptionDescription
WSInvalidParameterExceptionSee Error Definitions
WSLimitExceededExceptionSee Error Definitions