Update an existing Confluence page with a form without using a plugin
Asked by Daniel Baron:

I know it's possible to create a page from a form using the built-in 'Create from the template' macro but are my options for updating existing pages from a form limited to paying for a plugin, like ConfiForms or Frevvo? Thanks for any help.


Answers:
author: Davin Studer
body: I cannot think of anything built in to update a page with a form.

On that note it doesn't look to me like Frevvo could update a Confluence page. Rather it looks to me like that add-on is simply embedding their existing platform into Confluence. ConfiForms is a bit different in that it is built more on the Confluence model of macros and has functionality specifically for creating and updating pages. We use ConfiForms pretty extensively in our organization. There seems to be a bit of overlap in the add-ons, but I think they serve somewhat different purposes.

comments: author: Daniel Baron
body: Thanks for the feedback, yeah you're right that ConfiForms seems like the way to go. But I was actually also exploring using Javascript in a Custom macro or HTML macro, but I'm not sure which one is more appropriate.


author: Davin Studer
body: If you are are proficient in Javascript and using Confluence's REST API then you could totally do it that way as well. ConfiForms abstracts that a bit so that a non-developer can accomplish some of these kinds a things that typically only a developer could do.


author: Daniel Baron
body: Any idea what the base REST API url is? Probably something like

**https://\<company name\>.atlassian.net/wiki**


author: Davin Studer
body: Are you on the cloud offering? If you are then ConfiForms is not an option as it is only available for self hosted installs. The below link is documentation for the cloud REST API.

<https://developer.atlassian.com/cloud/confluence/rest/>


author: Daniel Baron
body: I actually don't know if we use confluence server or cloud. Probably cloud because access is through a \<company name\>.atlassian.net url. Apparently wufoo is available on cloud though, do you have any knowledge about it?


author: Daniel Baron
body: Taking it back, we're actually on Confluence Server


author: Davin Studer
body: Ok, well Confiforms is available for server so if you decided to go that route it is possible. Also, here is the documentation for the server REST API.

<https://developer.atlassian.com/server/confluence/confluence-server-rest-api>


author: Daniel Baron
body: Okay, thanks for your help Davin.


author: Daniel Baron
body: Also, do you know how to get the REST API url for Confluence Server?


author: Davin Studer
body: If you have the server version you should get the [REST API Browser](https://marketplace.atlassian.com/plugins/com.atlassian.labs.rest-api-browser/server/overview). It is a free add-on by Atlassian and makes a section on Confluence Administration for exploring the REST API. The URL would be ...

http(s)://{your confluence root}/rest/api/{endpoint}


author: Daniel Baron
body: Hmm got it. And it sounds like I'll need to have an authentication value included in the API call, right?


author: Davin Studer
body: If you are posting then yes. Doing a get may or may not depending upon space permissions.