Create a hook test
create_hook_testStart a hook test: publish several openings for the same idea and measure which one holds attention on this account. THIS SCHEDULES REAL POSTS — one per variant per round, spaced out over days — so confirm with the person before calling it, and tell them how many posts it scheduled (postsScheduled). Each post's views are recorded seven days after it goes out and a winner is only declared when it clearly beats the others and the account's usual range; "no winner" is a common, real result. Results become the rules that list_hook_rules and check_draft read. The posts appear in list_posts, but cancel_post and update_post refuse them while the test runs, because changing one would spoil the measurement.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| idea | Yes | The one idea every variant expresses, e.g. 'Batch-editing a week of videos in one sitting saves hours'. Only the opening should differ between variants. | |
| title | Yes | A short name the person will recognise in the app, e.g. 'Question vs story — editing tips'. | |
| rounds | No | How many times each variant is posted, from 2 up. Defaults to 3; with 3 variants that is 9 posts. Fewer than 2 can never conclude. | |
| variants | Yes | Two to four opening lines to compare, each a genuinely different way into the same idea, e.g. ["Why do your edits take all week?", "I edit a week of videos in one afternoon."]. | |
| accountId | Yes | Id of the account to run the test on, from list_connections. The platform must report views: TikTok, Instagram, YouTube, X, Facebook, Threads or Pinterest — not LinkedIn or Bluesky. | |
| archetypes | Yes | One archetype per variant, in the same order: question, contrarian, number, story or direct. This is not a label — it decides the rule the test can produce, and the opening must actually match it (question ends with '?', number starts with a figure, contrarian starts with stop/nobody/everyone/most/forget/unpopular/the reason, story starts with I/we/last/yesterday/when I/my client). | |
| slotHourUtc | No | Hour of day to post at, 0 to 23, in UTC — convert from the person's time zone first. Defaults to 18. Every variant uses the same hour so time of day cannot decide the result. | |
| spacingDays | No | Days between consecutive posts. Defaults to 3, which spreads the variants across different days of the week. |