link_episode_contacts
Apply a batch of episode↔contact links in one atomic call. Use to apply confirmed matches from match_episode_guests_to_contacts without a write per episode. Idempotent: already-linked pairs are reported already_linked, role changes are reported updated; pairs referencing entities outside the workspace are skipped and reported as invalid. Requires expected_affected_count = links.length. For a single link use link_contact_to_episode.
Request
- Base URL: https://app.podmule.com/api/v1
- URL: https://app.podmule.com/api/v1/link_episode_contacts
- Auth: HTTP bearer
Headers
Stripe-style idempotency key. When present, repeat invocations within 24h with the same body return the original response; same key + different body returns 409 IDEMPOTENCY_KEY_REUSED.
When set to "true", routes the call to the capability's dryRun() method — same scope/precondition checks fire as the real handler, but persistence is skipped. The audit row is tagged result_status=dry_run.
Request body
Response
Capability output wrapped in { data }.
Changes
No recorded changes to this operation across all 1 revision of this API.