---
title: "Import a file into a pad"
method: POST
path: "/p/{pad}/import"
tags: ["Import"]
---

# Import a file into a pad

`POST /p/{pad}/import`

Imports the content of a file into an existing or new pad. Supported formats: txt, html, htm, etherpad, docx, doc, odt, rtf, pdf

## Path parameters

- `pad` string, required

## Response `200`

OK

- IoImportResponse — Response for import operations
  - `code` integer
  - `data` IoImportData
    - `directDatabaseAccess` boolean
  - `message` string

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `500` — Internal Server Error

## Changes

- **2026-07-17** `6f3a072916e8` — 1 info
  - endpoint added
- **2024-11-20** `f9c7961056cc` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/ether/apis/etherpad-go-api/changes/p/:pad/import/post.md)

---

[API](https://skmtc.dev/ether/apis/etherpad-go-api.md) · [All operations](https://skmtc.dev/ether/apis/etherpad-go-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ether/etherpad-go-api/revisions/6f3a072916e8/schema)
