# Setting {{ unsubscribe }} link in htmlcontent of API call

**URL:** <https://community.brevo.com/t/setting-unsubscribe-link-in-htmlcontent-of-api-call/4592>\
**Category:** English\
**Tags:** api\
**Created:** [Avril 18, 2025, 1:58 UTC](https://community.brevo.com/t/setting-unsubscribe-link-in-htmlcontent-of-api-call/4592 "2025-04-18T13:58:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CoenHilgersom](https://avatars.discourse-cdn.com/v4/letter/c/ccd318/32.png) [@CoenHilgersom](https://community.brevo.com/u/CoenHilgersom)\
**Post date:** [Avril 18, 2025, 1:58 UTC](https://community.brevo.com/t/setting-unsubscribe-link-in-htmlcontent-of-api-call/4592/1 "2025-04-18T13:58:46Z")

</div>

We use the [https://api.brevo.com/v3/smtp/email](https://api.brevo.com/v3/smtp/email) API endpoint to create transactional emails. We would like to add a link to the unsubscribe page of Brevo. How can we do this?  
We tried to use the link href=«&nbsp;{{ unsubscribe }}&nbsp;» but this gives a ‹&nbsp;Template Render Error&nbsp;›.

Anyone any idea?
