Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

I find a confluence workflow rest api document,but how can I get the request body? Edited

The document is

In the document , how can I know the request body fields about PUT methods?

For example, path:  /content/{id}/state PUT 

but how does the request body look like?^_^


I request for /rest/cw/1/content/{id}/state,but I don't know the request body. 

2 answers

1 accepted

1 vote
Answer accepted

Hi Ronaldo, 

To learn more about each of the endpoints you need to click in the "Resources" section where the endpoints are defined: 

Endpoints Link.png

There for each of the endpoints you will have a link to the JSON model of the data type required for the request including an example: 

data type.png


model state.png


If you have future questions about Comala Document Management you can contact our friendly support team at any time.


Pablo Gallego

Software Engineer at Comalatech

Your answer is very helpful. I have found this rest api /rest/cw/1/content/{id}/state can change the workflow state, how ever I have another problem which is when I use this api to a confluence page that is not in workflow, the response is Nullpoint.

Because I want to use rest api to put a confluence page into workflow and set it state 'Draft'. 

How can I put a confluence page into workflow by rest api?

Hi @Ronaldo Huang 

I am the Senior Product Manager at Comalatech. Adding a workflow is not something that is available on our public API.

I think it would be help to have a better understanding of your requirements so that we can identify the most appropriate solution for you. Please can you contact us via with details of your requirements and we'll look it to it for you.

Thanks in advance

Senior Product Manager

@Pablo Gallego 

Hello, because I can not click the "Resources" section, and maybe something wrong with my network.

I want to request for /rest/cw/1/content/{id}/parameters PUT method,

could you please tell me the request body?

updateParameters.pngAlthough I can access this address, my page loaded is like this maybe because of the bad network. 

Here you have a screenshot for you to see it better:

put parameters.png

@Pablo Gallego 

Thank you for your screenshot. ^_^

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you