9 chapters · 33 min
Skills
Chapter 3 of 9
Comprehensive Contentful REST API guide.
1 minute · 142 words · 8 sections
Language-agnostic guide for Contentful APIs using HTTP/curl.
Read/write API for managing content, content types, assets, and environments.
Start here: references/content-management/overview.md (opens in a new tab)
Read-only API for fetching published content.
Start here: references/content-delivery/overview.md (opens in a new tab)
Draft + published content via same CDA endpoints, different host/token.
Reference: references/content-preview/overview.md (opens in a new tab)
On-the-fly image transformations via URL parameters. No authentication needed.
Reference: references/images/overview.md (opens in a new tab)
Query content via GraphQL with CDA tokens.
Reference: references/graphql/overview.md (opens in a new tab)
# CMA: Create a draft entry
curl -X POST https://api.contentful.com/spaces/{space_id}/environments/{env_id}/entries \
-H "Authorization: Bearer {cma_token}" \
-H "Content-Type: application/vnd.contentful.management.v1+json" \
-H "X-Contentful-Content-Type: blogPost" \
-d '{"fields":{"title":{"en-US":"Hello"}}}'
# Then publish: PUT .../entries/{id}/published with X-Contentful-Version header
# CDA: Fetch entries
curl "https://cdn.contentful.com/spaces/{space_id}/environments/{env_id}/entries?content_type=blogPost" \
-HInstall this repository
npx skills add contentful/skills/plugin marketplace add contentful/skillsSkills install per repository, not per chapter — the CLI has no documented per-skill form, so we do not print one.
Comprehensive Contentful REST API guide. Covers Content Management API (CMA) for creating/updating content, Content Delivery API (CDA) for fetching published content, Preview API, Images API, and GraphQL API. All examples use curl/HTTP — language-agnostic.
The verbatim description from this skill’s front matter — the string an agent matches on to decide whether to load it.
main, last pushed 9 August 2026.SKILL.md, not by matching a directory convention. 3 distinct layouts observed: local-skills/skills/*/SKILL.md, skills/*/SKILL.md, skills/contentful-apps/*/SKILL.md.h1 and no skipped levels:.claude-plugin/marketplace.json by Contentful, declaring 1 plugin. It is read for editorial metadata only — never as the skill index, which is always the repository tree./contentful/skills.md, and each chapter at its own .md URL.17 files · 83 KB
Everything this skill ships beside its prose. All of it is set here, as subchapters of chapter 3.
Documentation the agent loads on demand, rather than up front.
references/2 files · 10 KB
references/content-delivery/5 files · 24 KB
references/content-management/6 files · 36 KB
references/content-preview/1 file · 3 KB
references/graphql/1 file · 6 KB
references/images/1 file · 4 KB
Everything else published alongside the skill.