contact_to_episode

link_contact_to_episode

Link one contact to one episode with a role (default "Guest"). Use after match_episode_guests_to_contacts confirms a single match, or whenever a user asks to attach a contact to an episode. Idempotent: re-linking the same contact+role is a no-op; a different role updates the link. For applying many matches at once, prefer link_episode_contacts.

post/link_contact_to_episode

Request

  • Base URL: https://app.podmule.com/api/v1
  • URL: https://app.podmule.com/api/v1/link_contact_to_episode
  • Auth: HTTP bearer

Headers

Idempotency-Keystring

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.

X-PodMule-Dry-Run'true' | 'false'

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

unknown required

Response

Capability output wrapped in { data }.

dataunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.