Offer

Offer - Record Click

Called by the SPA when the user interacts with an offer's CTA. Records one offer.offer_click row and returns its id for threading into /submit. HMAC-only + session-optional; best-effort (always 200 unless the body is malformed).

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

Request

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

Path parameters

offer_idinteger required

Request body

offer_impression_idinteger nullable

The impression that led to this click (from the impression call).

Response

Click recorded (or silently skipped).

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

{
  "errors": []
}

Changes

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