Embed Discourse comments on another website via Javascript

Is there a way to find the associated topic ID or discourse URL for a given page with discourse embedding? I’d like to provide the discourse URL for our schema.org discussionUrl json-ld that we include in our pages with embedded comments. E.g.,

https://www.comses.net/codebases/c9d55182-4444-4cc1-9a6f-dcf9c4ca942a/releases/1.0.1/

and

https://forum.comses.net/t/evolution-of-ecological-communities-testing-constraint-closure/8816

1 Like