Offer

Offer - Click-through (redirect offer)

For REDIRECT offers (action_type=redirect): records the click, opens a PENDING conversion, builds the vendor tracking URL from the offer's redirect_template (substituting {click_id}=the new conversion id, {keyword}, {source}, and profile tokens from lead), and returns it as redirect_url for the SPA to open in a new tab. No answers, no disqualify check, no server-side delivery — the vendor confirms the conversion later via their postback (POST /api/v1/offers/postback/{partner}), which flips the row to delivered and records the reported revenue. Same session + lockout semantics as /submit. The exact substituted URL is retained on the lead snapshot as the "what we posted" audit record, then time-scrubbed per offer.outbound_url_retention_days.

post/api/v1/offers/{offer_id}/click-through

Request

  • Base URL: https://api.juju.com
  • URL: https://api.juju.com/api/v1/offers/{offer_id}/click-through
  • Auth: none declared

Path parameters

offer_idinteger required

Request body

keywordstring nullable

User's job-search keyword → sub2 in the outbound URL.

sourcestring nullable

Traffic-source / page id → sub1. Optional; blank is fine.

leadobject nullable

Profile fields for URL prefill (first_name, last_name, email, phone, zip, city, state, address, gender, dob). Also snapshotted for compliance.

offer_impression_idinteger nullable

The impression that led to this click.

source_solr_idstring nullable
match_idstring nullable

Response

Click recorded, pending conversion opened, redirect URL returned.

metaobject required

Pagination and context metadata. Always present, empty object ({}) when no metadata applies to the response.

errorsstring[] required

Empty array on success. On failure, human-readable error strings suitable for surfacing to end users.

Example response

{
  "data": {
    "status": "accepted"
  },
  "errors": []
}

Changes

No recorded changes to this operation across all 1 revision of this API.