Create a Document or Spreadsheet
POST {{baseUrl}}/1/threads/new-document
Creates a document or spreadsheet, returning the new thread in the same format as Get Thread.
This endpoint doesn’t support slides anymore because they're retired as described in this article.
Request Body
[{"name"=>"content", "value"=>"ex Ut", "datatype"=>"string"}, {"name"=>"format", "value"=>"html", "datatype"=>"string"}, {"name"=>"title", "value"=>"eu non adipi", "datatype"=>"string"}, {"name"=>"member_ids", "value"=>"consectet", "datatype"=>"string"}, {"name"=>"type", "value"=>"document", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"thread":{"id":"aliqua reprehenderit Lo","created_usec":63325030,"updated_usec":12185994,"thread_class":"document","owning_company_id":"sed proident ali","author_id":"in fugiat eu ut sint","title":"velit sun","is_deleted":false,"is_template":true,"document_id":"eu","link":"adipisicing laborum tempor laboris","type":"spreadsheet","snippet_user_id":"in magna ad adipisicing","snippet_message":"in fugiat qui","sharing":{"public":"VIEW","company_id":"IMbAcASGu56","company_mode":"VIEW"}},"user_ids":["sit commodo reprehenderit Excepteur","est"],"shared_folder_ids":["Excepteur","esse exercitation"],"expanded_user_ids":["Excepteur dolore ipsum aliqua","reprehenderit ut nisi pariatur quis"],"invited_user_emails":["quis et","ea sunt sed adipisicing"],"html":"do","markdown":"enim ullamco","access_levels":{}}