Welcome to ONLYOFFICE API
DocSpace
In this section, you will learn how to integrate ONLYOFFICE DocSpace into your own application and interact with its backend using the DocSpace API Backend. You will also find the information on how to embed DocSpace using JavaScript SDK, create your own plugins with our Plugins SDK, and host a portal on your own servers using our methods for hosting providers.
MoreDocs
In this section, you will learn how to bring document editing and co-authoring to your web app users, set up, configure and integrate ONLYOFFICE Docs, extend its functionality using your own plugins/macros, and integrate document editors into the desktop applications. You will also find the information on how to use Document Builder to generate documents easily without running document editors.
MoreoTextForm = Api.CreateTextForm({
key: "Date of Birth",
placeholder: "DDMMYYYY",
comb: true
})
oLogoForm.SetImage("https://example.com/blank.png")
oParagraph.AddElement(oTextForm)
oParagraph.AddElement(oLogoForm)
oDocument.Push(oParagraph)
Api.Save()
builder.SaveFile("oform", "University.docxf")
builder.CloseFile()
Workspace
In this section, you will learn how to integrate ONLYOFFICE Workspace into your own application and interact with its backend using the Workspace API Backend. This solution is provided without editors, you need to install ONLYOFFICE Docs separately. You can also host a portal and interact with it using our methods for hosting providers.
MorePOST api/2.0/project/1234/task
Host: yourportal.onlyoffice.co
Content-Type: application/json
Accept: application/json
{
"description": "New task",
"priority": "Normal",
"title": "Task title",
"milestoneid": 1234,
"responsibles": [
"9924256A-739C-462b-AF15-E652A3B1B6EB"
],
"startDate": "2024-06-24T11-30-00.000Z"
}