Partner Programs
Create partner program
POST
https://api.sparkloop.app/v2/partner_programs
Request Body
Name | Type | Description |
---|---|---|
max_payout* | number | The most any one partner can earn per month. In US dollars ($). |
total_budget* | number | Monthly spend cap. Set a cap on the total monthly spend across your partner programs. Once your spend cap is reached, partners will be notified and you won't be charged for any further referrals in that calendar month. In US dollars ($). |
cpa* | number | The default fee you want to pay partners for each new subscriber they send you, e.g. |
redirect_url* | String | Default partner link destination. It's where people will go when they click on a partner link. |
thankyou_page_url | String | Thank-you page URL. It's what we show new subscribers when they subscribe via Magic Link. |
terms | String | Custom partner program conditions. |
resources_url | String | Partner resources URL. If you've created any resources to help partner promote you effectively, link them here. |
slug | String | Your unique custom signup page URL, e.g. if you set |
show_in_directory | boolean | Set to |
referral_pending_duration_enabled | boolean | Set to |
referral_pending_duration | integer | Referrals will be confirmed if they've stayed subscribed for at least this number of days. |
publication_uuid* | String | UUID of a publication for which you're creating this partner program. |
Get partner programs
GET
https://api.sparkloop.app/v2/partner_programs
Partner programs are ordered descendingly by created_at, meaning the first page shows the latest publications.
Get a partner program
GET
https://api.sparkloop.app/v2/partner_programs/:uuid
Returns a single partner program by UUID
Path Parameters
Name | Type | Description |
---|---|---|
uuid* | string | Partner program's UUID |
Update partner program
PUT
https://api.sparkloop.app/v2/partner_programs/:uuid
Path Parameters
Name | Type | Description |
---|---|---|
uuid* | string | Partner programs's UUID |
Request Body
Name | Type | Description |
---|---|---|
max_payout | number | The most any one partner can earn per month. In US dollars ($).Name |
total_budget | number | Monthly spend cap. Set a cap on the total monthly spend across your partner programs. Once your spend cap is reached, partners will be notified and you won't be charged for any further referrals in that calendar month. In US dollars ($). |
cpa | number | The default fee you want to pay partners for each new subscriber they send you, e.g. |
redirect_url | String | Default partner link destination. It's where people will go when they click on a partner link. |
slug | String | Your unique custom signup page URL, e.g. if you set |
thankyou_page_url | String | Thank-you page URL. It's what we show new subscribers when they subscribe via Magic Link. |
resources_url | String | Partner resources URL. If you've created any resources to help partner promote you effectively, link them here. |
terms | String | Custom partner program conditions. |
show_in_directory | boolean | Set to |
referral_pending_duration_enabled | boolean | Set to |
referral_pending_duration | number | Referrals will be confirmed if they've stayed subscribed for at least this number of days. |
Delete partner program
DELETE
https://api.sparkloop.app/v2/partner_programs/:uuid
Path Parameters
Name | Type | Description |
---|---|---|
uuid* | string | Partner program's UUID |
Last updated