Offer

Offer - Submit

Consumer submits their answers to an offer. Server validates disqualifying_answers, conditionally pre-pings the partner (when offer.requires_preping = true), and writes offer_conversion on success. Pass offer_click_id (from /click) to link the funnel; for single-action forms use /click-submit instead.

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

Request

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

Path parameters

offer_idinteger required

Request body

answersobject required

Keyed by offer.questions[].key. Values are the user's selections. Any answer matching that question's disqualifying_answers array rejects the submission.

source_solr_idstring nullable

Optional — the solr_id of the job displayed in context when the offer was surfaced/clicked. Attribution only; never required.

match_idstring nullable

Optional serve-correlation token (from /offers/next).

offer_click_idinteger nullable

Optional — the offer_click_id returned by /offers/{id}/click, linking this conversion back through click → impression.

Response

Conversion accepted.

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.