Skip to main content
All CollectionsDocs
Importing Docs via API
Importing Docs via API
Updated over a week ago

Using Productive's API, you can efficiently import Docs (with text) into your account.

Note that it's necessary to adapt the content, such as bullets, numbers, callouts, and headers, to fit our JSON structure when utilising JSON objects. For detailed documentation on the document format, refer to the Productive API Documentation covering the Document Format.

Tip: To avoid potential sync issues, a Doc shouldn't be updated via API while someone has the Doc open in the interface.
โ€‹

For further API details, refer to the Productive API Documentation here.

Creating New Docs

To create new docs, you'll interact with the pages endpoint.
โ€‹

POST Endpoint:

POST https://api.productive.io/api/v2/pages


You must send JSON inside the body under attributes. When using Postman, JSON should be sent as a string.

You can utilize JSON.stringify() for this purpose.

Test Example in Postman:

Importing Text into Productive App:

Importing Raw Text:

Did this answer your question?