Share custom content between addons

Hello,

I’m working on 2 addons that works with custom contents https://developer.atlassian.com/cloud/confluence/modules/custom-content/.

The first one is setting some custom content under its addonKey following the documentation, but the second addon needs to read that data. I have been trying but since the addonkey is different I cannot read it, is there a way to read the other addons’ custom contents?

Thanks

1 Like

You’ll need to set up an api between your apps to talk to each other.

2 Likes

I was afraid of that. Thank you!

And is there any way to know if both addons are installed?

The base url and the clientKey that you received on both apps would be the same at the time of the installation of your app (I’m not Atlassian so who knows if that will change - but I doubt it). So you can match those up from there.