add link to private external website via rest API

TJ June 25, 2021

Hello,

I am inserting Confluence pages via Rest API, but when I try to include links to external private content, the page creation fails.  I am just inserting links using plain html (<a href=".."></a>).  Page creation works fine if I instead link to something public like Google.  Also, the private links work fine if I add them manually via the Confluence editor.

Thanks for your help,

T

1 answer

1 accepted

1 vote
Answer accepted
TJ June 28, 2021

Turns out there was an ampersand in the link... All is working well when replaced with &amp;

Cheers!
T

Eden Peretz January 20, 2025

Hi, can you please explain how you did that?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events