Skip to main content
POST
/
templates
/
{identifier}
/
documents
Sync template documents
curl --request POST \
  --url https://api-joy.joyfill.io/v1/templates/{identifier}/documents \
  --header 'Content-Type: application/json' \
  --data '{
  "limit": 250,
  "page": 1
}'
"{\n  \"page\": \"Number\",\n  \"pages\": \"Number\",\n  \"total\": \"Number\"\n}"

Headers

Authorization
string

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

Path Parameters

identifier
string
required

The template identifier

Body

application/json
page
integer
default:1
required

An integer for use with update pagination. For instance, if limit is set to 25 and you set page to 2 then results 26-50 will be updated.

limit
integer
default:250

The number of template documents to update with this request.

Response

200 - application/json

200

page
string
Example:

"Number"

pages
string
Example:

"Number"

total
string
Example:

"Number"