Create a diagram in a file
Creates a new diagram element on the file's canvas.
post/api/files/{fileId}/diagrams
Path parameters
fileIdstring required
ID of the file to add the diagram to
Request body
Response
The created diagram
Example response
{
"diagramUrl": "https://app.eraser.io/workspace/abc123?diagram=def456&layout=canvas"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.