Free plan

Speaker notes and outline

Get the headings, slides or sheets of an Office file as a list
POST
/v1/documents/outline

About this tool

This tool shows the structure of an Office file. For a Word text, it lists the headings like a contents page, with numbers and word counts if you want. For a presentation, it lists the slides with titles, text and speaker notes. For a workbook, it lists the sheets.
For example, you want a list of all the headings of a long report, or all the speaker notes of a presentation.

How to use it

  1. Choose this tool.
  2. Add your Word, PowerPoint, Excel or OpenDocument file.
  3. Choose the extras, such as numbering, word counts or speaker notes.
  4. Press Generate.
  5. Read or copy the outline, or download it.

What you get back

You get the outline on screen, or as a Markdown or text file you can copy and download.
GOOD TO KNOW
Headings come from the heading styles (Heading 1-9, Title) and outline levels of the document. Counts as one document.
TEST IT LIVE

Try Speaker notes and outline in the Studio

One click opens the Studio with this tool already selected. Add your file and see the result in seconds.
Open in the Studio
Family
Documents
Plan
Free
Method
POST
Endpoint
/v1/documents/outline
Tool ID
documents.outline
Authentication
API key
Accepts
Text and settings
Background jobs
Yes
Usage group
Documents
For developers

Use it from your code

cURL

curl -X POST "https://app.h2i.davixlabs.io/v1/documents/outline" \
  -H "X-Api-Key: $DAVIX_H2I_API_KEY" \
  -F 'file=@document.pdf' \
  -F 'output=json' \
  -F 'max_level=9' \
  -F 'response=url'

Node.js

const { DavixH2I } = require('@davixlabs/h2i-sdk');

const h2i = new DavixH2I({ apiKey: process.env.DAVIX_H2I_API_KEY, baseUrl: process.env.DAVIX_H2I_URL });
const result = await h2i.documents.outline({
    "file": 'document.pdf',
    "output": "json",
    "max_level": 9,
    "response": "url"
  });
console.log(result.data, result.requestId);

PHP

<?php
require 'vendor/autoload.php';

$h2i = new \Davix\H2I\Client(['apiKey' => getenv('DAVIX_H2I_API_KEY'), 'baseUrl' => getenv('DAVIX_H2I_URL')]);
$result = $h2i->documents()->outline([
    'file' => 'document.pdf',
    'output' => 'json',
    'max_level' => 9,
    'response' => 'url',
]);
echo $result->requestId;
FAQ

Frequently asked questions

The structure of an Office file as data: the headings of a Word or OpenDocument text (optionally numbered, with word counts), the slides of a presentation with their titles, text and speaker notes, or the sheets of a workbook; as JSON, Markdown or plain text.

Speaker notes and outline works from text and settings, so no file is needed. Every input is optional.

Speaker notes and outline is included in every plan, including Free. Each run uses credits from your monthly allowance.

Send a POST request to /v1/documents/outline with your API key in the X-Api-Key header. Official SDKs for Node.js, Python, PHP, Go, Java, .NET and Ruby do the same for you, and the code box on this page shows ready-to-copy examples. For large work it can also run as a background job, so your request returns straight away.