v1

latestOpenAPI 3.1.02026-08-062951103.4 KB
offer-links

Create an offer link

This call requires an offer ID and a subscription ID, either as subscription_id from ProsperStack or platform_subscription_id from your connected subscription platform, e.g. Stripe.

post/offer_links

Request body

OR

Example request

{
  "offer_id": "offr_e7qfx6TYoqy3UjkWXocsdtM5"
}

Response

Created

idstring required
urlstring required
subscriber_idstring required
subscription_idstring required
offer_idstring required
status'created' | 'viewed' | 'accepted' | 'invalid' | 'expired' required
created_atstring date-time required
updated_atstring date-time required

Example response

{
  "id": "olnk_rv2vbdhXf50irXE3XMpnW0i7",
  "url": "https://app.prosperstack.com/p/portal/acct_TGVSiSHJwIn54bdd9M4E0Pj6/offer/olnk_rv2vbdhXf50irXE3XMpnW0i7",
  "subscriber_id": "subr_WaqnjWjfqNsd2DtwmPhowDHR",
  "subscription_id": "subn_Baf7MaLAFYTphvSOxiIkA7dS",
  "offer_id": "offr_e7qfx6TYoqy3UjkWXocsdtM5"
}