Ability to set topic external URL next to the title through the API

I just started to create posts via the API looking at the docs

I tried a bunch of configurations to get the URL to show the url via the API, but nothing works.


I’d assume that “embed_url” is what I was looking for but it’s unrelated to this particular feature.

Is it possible to set the external post URL via the API?

I’ve tried:

  1. Having the url be the title in the API
  2. Having the url be the first line in raw body

Did you Reverse engineer the Discourse API? I’m pretty sure it returns the topic_id and post number. The url is /t/-/topic_id/post_number

Got it, I inspected the post in transit it’s featured_link. :rofl::muscle:

1 Like