# Add \`embed\_url\` parameter to topic update method

**URL:** https://meta.discourse.org/t/add-embed-url-parameter-to-topic-update-method/207914
**Category:** Feature
**Created:** [November 2, 2021, 1:00am UTC](https://meta.discourse.org/t/add-embed-url-parameter-to-topic-update-method/207914 "2021-11-02T01:00:00Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![aaronpk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/aaronpk/32/149994_2.png) [@aaronpk](https://meta.discourse.org/u/aaronpk)
#### Post date: [November 2, 2021, 1:00am UTC](https://meta.discourse.org/t/add-embed-url-parameter-to-topic-update-method/207914/1 "2021-11-02T01:00:00Z")

</div>

Currently, the topic create method does accept an `embed_url` when creating a new topic. This was pointed out to me in [this thread about embedding comments via javascript](https://meta.discourse.org/t/embedding-discourse-comments-via-javascript/31963/417). This is not yet in the docs, but I [submitted a PR to add it](https://github.com/discourse/discourse_api_docs/pull/26).

This request is to add the `embed_url` to the topic update method as well.

When I started this comment migration project, I was unaware that there was the option of creating a topic and providing an `embed_url` since the docs were wrong. As such, I have several hundred topics created without the `embed_url` and I would now like to set that property on them.

(As a side note, we are on an enterprise hosting plan for the forum in question, so I don’t have the ability to run any rake commands to finish this migration manually)
