Create playbook campaign
documentedCreate a new playbook campaign.
POST /playbooks/campaignsPlaybooksno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://www.toneden.io/api/v1/playbooks/campaigns" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "{{$title}}",
"description": "{{$description}}",
"playbook_type": "{{$playbook_type}}",
"start_timestamp": {{$start_timestamp}},
"end_timestamp": {{$end_timestamp}},
"budget": {
"daily": {{$daily_budget}},
"currency": "USD"
},
"assets": {
"video_url": "{{$video_url}}",
"thumbnail_url": "{{$thumbnail_url}}"
},
"targets": {
"artists": ["{{$artist_1}}", "{{$artist_2}}"],
"markets": {{$markets}}
}
}'"}