export_to_tap
Send one Jack to a Total Audio Promo (TAP) campaign, creating a new draft campaign or writing into an existing one, and return TAP’s receipt. TAP is a separate product, so only call this when the person has asked for the Jack in TAP. Provide either content_id (a saved Post; its text, platform and title are used) or content (raw text). Without campaign_id it creates a draft TAP campaign named after title and stores the Jack as its goal. With campaign_id it overwrites that campaign’s existing goal field with the Jack, which cannot be undone from NewsJack. The write goes through the TAP API key configured on the NewsJack server (TAP_API_KEY), not a per-user TAP login, and fails if that key is missing or TAP refuses. Returns structuredContent { receipt: { campaignId, campaignUrl, created, acknowledgedAt } }. Not idempotent: repeating it without campaign_id creates another campaign. Needs the generate:posts scope; no NewsJack allowance is used.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Name for a new TAP campaign, e.g. 'Spring single newsjack'. A saved Post's own title wins; defaults to 'NewsJack export'. | |
| content | No | Jack text to export when there is no saved Post, for example the output of generate_post_dry_run. Required if content_id is omitted. | |
| platform | No | Platform label written into the TAP goal as '[NewsJack <platform>]', e.g. 'linkedin' (default), 'twitter' or 'newsletter'. Ignored when content_id is set. | |
| content_id | No | Full id of a saved Post owned by this account, from generate_post or list_scheduled. When set, its text, platform and title are used and content and platform are ignored. | |
| campaign_id | No | ID of an existing TAP campaign to write into. Its goal field is replaced with the Jack. Omit to create a new draft campaign instead. |