KumkuatKumkuat
API reference › Content creation

Save a version of a content draft

POST/api/v1/content-creation/drafts/{draft_id}/versions

POST/api/v1/content-creation/drafts/{draft_id}/versions

Save a version of a content draft

Keep a copy of the draft as it is now. Versions are never changed or<br/>deleted afterwards.<br/><br/>`kind: "saved" (the default) takes the next number; kind: "original"`<br/>is version 0 and a draft has at most one.

PARAMETERS
draft_idpath · stringREQUIRED
Content draft id.
e.g. string
REQUEST BODY · APPLICATION/JSON · REQUIRED
{
  "kind": "saved"
}
In the full reference
REQUEST
curl -X POST "https://gateway.kumkuat.ai/api/v1/content-creation/drafts/string/versions" \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "kind": "saved"
}'
Try it — sign in first
Runs on a sandbox key: 2000 requests a month. Your real key is for production.