Creators
Set a creator's custom rates
Replaces one creator's custom values on the campaign with the given set: per-video and CPM rates, bonus amounts, the fixed salary, caps and the video target, each naming a payout of the campaign spec by id. An empty set resets them, so the creator follows the campaign. Values equal to the campaign's are not kept. New values apply to every unpaid period of the creator at once; paid payouts keep their snapshots.
put/campaigns/{id}/custom-rates/{creatorId}
Request
- Base URL: https://viral.app/api/v1
- URL: https://viral.app/api/v1/campaigns/{id}/custom-rates/{creatorId}
- Auth: API key in header x-api-key
Path parameters
idstring required
Campaign ID with orgcamp_ prefix
Example:orgcamp_RwmraAffhMt9
creatorIdstring required
Organization creator ID with orgcre_ prefix
Request body
Example request
{
"videoTarget": 8,
"values": [
{
"id": "rule_A1b2C3d4E5f6",
"field": "perVideo",
"value": 12
}
]
}Response
OK
Example response
{
"campaignId": "orgcamp_RwmraAffhMt9",
"rows": [
{
"countNoun": "creative",
"group": "Base payout · TikTok",
"label": "Per video",
"unitLabel": "per video"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.