How to create a doc and add content to it?

Hello @rachelatmonday

Is it possible to create a new doc with a body?

And is it possible to get a doc with a body?

Thank you.

Hello there @marcelo1 and welcome to the community!

I hope you like it here :muscle:

You would need to first create the doc and then populate it with blocks. You can not create the doc with blocks in one HTTP request.

And yes, you can query for the data in the blocks of a doc as explained here.


1 Like