Sponsor

Sponsor - Generate Callback Key

Generates (or REGENERATES, invalidating the old one) this sponsor's conversion-callback key — the Bearer credential the sponsor presents on POST api.juju.com/api/v1/conversions. ONE key covers every provider/feed the sponsor runs (the click_id in the postback resolves the specific provider on its own). The plaintext is returned ONCE here and never again (only a hash is stored); relay it to the sponsor securely. Regenerating immediately breaks any callback still using the previous key.

post/admin/v1/sponsors/{id}/callback-key

Request

  • Base URL: https://api.juju.com
  • URL: https://api.juju.com/admin/v1/sponsors/{id}/callback-key
  • Auth: none declared

Path parameters

idinteger required

Response

New callback key. plaintext is shown only in this response.

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": {
    "plaintext": "juju_cb_Xy7...q2",
    "hint": "q2Rk"
  },
  "errors": []
}

Changes

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