Create broadcast
documentedDraft or schedule a broadcast to be sent to subscribers or published to the web.
POST /v4/broadcastsBroadcastsno 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://api.kit.com/v4/broadcasts" \
-X POST \
-H "Content-Type: application/json" \
-H "X-Kit-Api-Key: {{KIT_API_KEY}}" \
-d '{"email_template_id": {{$email_template_id}}, "email_address": "{{$email_address}}", "content": "{{$content}}", "description": "{{$description}}", "public": {{$public}}, "published_at": "{{$published_at}}", "send_at": {{$send_at}}, "thumbnail_alt": "{{$thumbnail_alt}}", "thumbnail_url": "{{$thumbnail_url}}", "preview_text": "{{$preview_text}}", "subject": "{{$subject}}", "subscriber_filter": [{"all": [{"type": "segment", "ids": [{{$segment_ids}}]}], "any": null, "none": null}]}'