---
agentTools:
  projectIndex: https://findify.readme.io/llms.txt
---

# Content API

API to push custom content to Findify

[block:api-header]
{
  "title": "Introduction"
}
[/block]

The Content API allows a client to push and then search content-based documents (articles, pictures, videos, etc).

A document can be:

* a category page
* an article from a blog
* the content of a web page (e.g. FAQ, Sizing Charts, etc)
* an Instagram post
* a Youtube video
* any content that has been generated by the user (UGC = User Generated Content)

[block:api-header]
{
  "title": "Content API"
}
[/block]

The content search feature is composed of two main components:

* The content API that allows a client to add, modify, or delete documents. This API is available under the domain [push.findify.io](https://push.findify.io).
* The content search API that lets the client search into their content index. This API has a different endpoint and is available under the domain [api-v3.findify.io](api-v3.findify.io).

When an operation has been submitted to the content API (addition/modification/deletion), it will take maximum five minutes for the system to propagate the operation in the Findify search engine.

[block:callout]
{
  "type": "warning",
  "title": "Batch Operations Considerations",
  "body": "At the moment, we cannot guarantee that we will preserve the order of the operations exactly as we received them."
}
[/block]

[block:api-header]
{
  "title": "API Authentication"
}
[/block]

In order to push documents to the Content API, you need to request a private API key.

At the moment, the only way to get a private API key is to contact the Findify support, as Content Search is not yet available to all merchants.

When you have your private API key, you simply need to provide a header **Authorization** with the value **Bearer PRIVATE\_ACCESS\_KEY**.

You will obtain the **Private Access Key** and the **source** to be used in the API in the Merchant Dashboard when creating the Custom Content Source integration.

Contact <yourfriends@findify.io> for more information.

[block:api-header]
{
  "title": "API Limits"
}
[/block]

You can pass maximum 6MB of payload per each request.

[block:api-header]
{
  "title": "API Error Codes"
}
[/block]

[block:parameters]
{
  "data": {
    "h-0": "HTTP Error Code",
    "h-1": "Description",
    "0-0": "400",
    "0-1": "Payload is not valid",
    "1-0": "401",
    "1-1": "Your Private Access Key is not valid",
    "2-0": "404",
    "2-1": "Content source provided is not found",
    "3-0": "405",
    "3-1": "Content source is not a Custom content source",
    "4-0": "500",
    "4-1": "Internal server error"
  },
  "cols": 2,
  "rows": 5
}
[/block]