Skip to main content
Version: 3.x

Redirect URLs

After survey completion, participants are redirected to your supplied URL with signed parameters.

Parameters

NameDescription
statusClick key state (see Redirect Statuses).
revenuePartner revenue amount.
rewardParticipant reward amount.
tidTransaction ID (may be blank).
click_idClick identifier.
sechSHA-256 signature verifying these values.

How to Sign and Validate

  1. Concatenate the following values in this exact order, separated by commas: status,revenue,reward,tid,click_id (If tid is blank, use an empty string — still keep the comma.)

  2. Compute the SHA-256 HMAC of that string using your API secret.

  3. Add the resulting lowercase hex digest as the sech parameter in the redirect URL. (TapResearch performs this step when redirecting the participant back to you.)

  4. When you receive the redirect, recompute the signature using the same values in the same order and compare it to the provided sech. A mismatch indicates the redirect parameters were tampered with or the wrong secret was used.