API Reference

Add videos to funnel

Adds one or more videos to an existing funnel with position coordinates and first video designation

POST /funnels/add_videos

Detailed Description

Adds one or more videos to an existing funnel, including their position coordinates in the funnel layout. Use this when composing or updating the funnel canvas.

⚠️ Important: When calling this endpoint, you must pass all videos currently in the funnel, not only the new ones being added. Otherwise, previously added videos will be overwritten.

HTTP Method & Path

POST /funnels/add_videos

Authentication Requirements

  • Security Scheme: PandaAuth (apiKey)
  • Header: Authorization: <your_api_token>

Parameters

NameTypeRequiredDescription
Authorizationstring (header)YesPanda API token

Request Body

Schema: AddVideosRequest (top-level)

NameTypeRequiredDescription
idstring (uuid)YesFunnel ID to add videos to.
videosarray of objectsYesList of videos to add with their coordinates.

videos[] item

NameTypeRequiredDescription
idstring (uuid)YesVideo ID.
is_firstbooleanYesIndicates whether this video is the first video in the funnel.
front_coordinatesobjectYesPosition coordinates for the video in the funnel.

videos[].front_coordinates

NameTypeRequiredDescription
xnumberYesX coordinate position.
ynumberYesY coordinate position.

Example Request Body

{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "videos": [
    {
      "id": "456e7890-e89b-12d3-a456-426614174111",
      "is_first": true,
      "front_coordinates": { "x": 100, "y": 200 }
    },
    {
      "id": "789e0123-e89b-12d3-a456-426614174222",
      "is_first": false,
      "front_coordinates": { "x": 320, "y": 160 }
    }
  ]
}

Notes

  • All videos[] entries require both id and front_coordinates with x and y.
Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!