TnJS API V1 - Module SAMP

/api/1/samp/generateEmail

Generate dynamic campaign email when user clicking link open in browser
Supported HTTP methods: GET
Parameters:
tracker - The tracker identifier of the campaign.
staticEmail - The target file to open if cannot generate dynamic email

/api/1/samp/registerVisit

Register that user visits the ticketshop from a SAMP campaign.
Supported HTTP methods: GET
Parameters:
tracker - The tracker identifier of the campaign.
redirectTo - An URL to redirect the user.