---
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
- `overwrite` string

## Request body

- PinnerIpfsPin
  - `cid` string
  - `meta` object
  - `name` string
  - `origins` string[]

## Response `200`

OK

- string

## Other responses

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

## Changes

- **2023-01-04** `fa8cd2301bf1` — 1 info
  - added the new optional `query` request parameter `overwrite`
- **2022-11-07** `c03ca04ba831` — 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-11-07** `02272f8e48e5` — 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-11-03** `1f1ec6607867` — 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-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`

[Full 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/b9ae518bf64b/schema)
