Skip to main content
POST
/
documents
/
bulk
Bulk create documents
curl --request POST \
  --url https://api-joy.joyfill.io/v1/documents/bulk \
  --header 'Content-Type: application/json' \
  --data '{
  "data": [
    {
      "identifier": "<string>",
      "name": "<string>",
      "files": [],
      "fields": [],
      "template": "<string>",
      "group": "<string>",
      "stage": "published"
    }
  ]
}'
"{\n \t\"data\": [\n    {}\n  ],\n  \"failures\": [\n    {\n      \"message\": \"Example reason for failure\"\n    }\n  ]\n}"

Headers

Authorization
string

Supports both API Key and User Access Token authorization. See https://joyfill.mintlify.app/api/authentication

Body

application/json
data
object[]

Array of raw Document objects or Document from template objects. Max 100 documents can be created at a time.

Response

200 - application/json

200

data
object[]
failures
object[]