The SVP core API does not have an endpoint to generate sharable links and embed codes directly. You will need to do a few steps to set this up before you can publish the media using API.

  1. Create Custom Template or use one already on the platform.

  2. Copy Shareable link or Embed code

  3. For the Sharable link the clip id is identified by the parameter it,

  4. For the Embed code the clip id is shown as clip id,
    example: ....
    var vars = {clip_id:"c0z15sc0wn40"...

  5. You can then run the API call, svp_list_videos to get the list of your videos and get the title and clip id.

  6. You can then use your script to replace the clip ids in the Embed code or Shareable links.

Did this answer your question?