---
title: "Add IPFS object"
method: POST
path: "/content/add-ipfs"
tags: ["content"]
---

# Add IPFS object

`POST /content/add-ipfs`

This endpoint is used to add an IPFS object to the network. The object can be a file or a directory.

## Query parameters

- `ignore-dupes` string

## Request body

- UtilContentAddIpfsBody
  - `coluuid` string
  - `dir` string
  - `filename` string
  - `peers` string[]
  - `root` string

## Response `200`

OK

- string

## Other responses

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

## Changes

- **2022-10-29** `3ca60f3cf6bb` — 3 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `500`
  - added the success response with the status `200`
- **2022-10-27** `1566cd255be2` — 1 breaking, 2 info
  - removed the success response with the status `200`
  - removed the non-success response with the status `400`
  - removed the non-success response with the status `500`
- **2022-10-12** `56275bed061a` — 1 info
  - added the new optional `query` request parameter `ignore-dupes`
- **2022-09-14** `35d2c26f300c` — 1 breaking, 2 warning, 2 info
  - removed the success response with the status `200`
  - deleted the `query` request parameter `ignore-dupes`
  - deleted the `query` request parameter `overwrite`
  - removed the non-success response with the status `400`
  - …1 more

[Change history](https://skmtc.dev/application-research/apis/estuary-api/changes/content/add-ipfs/post.md)

---

[API](https://skmtc.dev/application-research/apis/estuary-api.md) · [All operations](https://skmtc.dev/application-research/apis/estuary-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/application-research/estuary-api/revisions/3ca60f3cf6bb/schema)
