ToDiagram

REST API

Integrate ToDiagram with your applications

ToDiagram provides a REST API for creating, reading and updating your documents.

Upcoming change: the /api/document endpoints described here will be retired on January 31, 2027. A new version and a migration guide are coming in a future update. Until then, keep using the endpoints below.

Available Endpoints

Authentication

All API requests require an API key. To create one, open the editor, click the account icon at the top right, choose Settings, open the API & MCP tab and click Create API Key.

Include your API key in the Authorization header:

Authorization: your-api-key

Keep your key out of URLs and version control.

Base URL

https://todiagram.com/api

On this page