Skip to main content
The clickthrough redirect endpoint handles the full affiliate redirect flow in a single request. The API records the click event and then redirects the user to the affiliate product page.

Endpoint

GET /clickthrough/{convo_id}/{presentment_id}
No authentication required.

Path Parameters

convo_id
string
required
The conversation session ID.
presentment_id
string
required
The offer presentment identifier.

Query Parameters

email
string
required
The user’s email address.
program
string
required
Your loyalty program identifier.
click_id
string
required
A unique identifier for this click event.
click_datetime
string
required
ISO 8601 timestamp of the click. URL-encode the value (e.g., 2024-01-15T10%3A30%3A00Z).

Example Request

curl -L "https://rewardsbot-prod.liquidrewardsapi.com/clickthrough/session-abc123/pres-001?email=user@example.com&program=my-loyalty-program&click_id=click-abc123&click_datetime=2024-01-15T10%3A30%3A00Z"

Response

Returns HTTP 200 OK and records the click. The actual redirect behavior depends on the offer configuration.

Error Responses

StatusDescription
422 Unprocessable EntityValidation error