How do you create a table from the API?

I don’t see a way to create a table from the API. Please if someone can provide me with an example on how to create a table with the API. I can create a Doc but don’t see a way to create a table.

Hey @Andrew_Burger ,
currently, the API can not influence the canvas, which also includes not being able to create a table on the canvas.

For some use cases where you need the same or similar doc structure, you can workaround it by cloning an existing doc with empty table(s) instead of creating a new doc.

If the structure is not of importance and stays after creation, you could also prepare docs with 1, 2, 3… tables.

Hope we get the power to CRUD content on the canvas as well one day.