How to enable watermark on presentation links via API?

Hello,
I am looking to enable watermarks on a presentation link created through the API. Everything else works as intended and I am able to update the name and description, but is_session_watermarked does not seem to be having any effect.
Is this the correct parameter? Is there another way to go about this?

Code section is below. Thanks in advance for any assistance!

const updateMetadata = await fetch (
  `https://api.frame.io/v2/assets/${frameID}`,
  {
    method: 'PUT',
    headers: {
      'Content-Type': 'application/json',  
      Authorization: `Bearer ${apiToken}`
    },
    body: JSON.stringify({
      "is_session_watermarked": true,
      "description": metaDesc,
      "name": metaTitle
    }) 
  }
);

The operation you’re attempting to perform is not a valid way through you would enable session based watermarking.

Your Frame.io pricing plan and then your account settings ultimately inform the system-level settings for watermarking on the assets being accessed in your account.

To enable session based watermarking on a presentation link, you would make a PUT call to /v2/presentations/:presentation_id with a payload of:

{
   "session_watermark_id": "9acc0651-8db8-4cfb-8876-8305ce8e8d0a" <- your session based watermark template ID that you want to apply on this presentation link
}

this would only work though if your plan has the feature enabled though.

1 Like

How can I ensure that watermarks are properly applied to presentation links using the API, despite “is_session_watermarked” not working as intended?