Get episode embed code
Returns a paste-ready <particle-podcast-clip> HTML snippet for an existing clip or a custom timestamp range within an episode. Either clip_id or start (with optional end) must be supplied; the two modes are mutually exclusive.
For slices: when end is omitted, it defaults to start + 120 seconds. The embed widget caps slice length at 120 seconds, so any end value beyond start + 120s is silently clamped to start + 120s. End is also clamped to the episode duration. The actual range used is encoded in the returned script_url.
Request
- Base URL: https://api.particle.pro
- URL: https://api.particle.pro/v1/embed/episodes/{episode_id}/code
- Auth: none required
Path parameters
Episode slug or ID
Query parameters
Clip ID. Mutually exclusive with start/end.
Slice start in seconds. Mutually exclusive with clip_id.
Slice end in seconds. Optional: when omitted, defaults to start + 120s. The widget caps slices at 120s, so end values further than 120s past start are silently clamped to start + 120s.
Widget theme
Widget size
Response
OK
Changes
No recorded changes to this operation across all 2 revisions of this API.