Contentful Spaces API

The Spaces API from Contentful — 10 operation(s) for spaces.

GitHub OpenAPI
Business capability
Content Management AE-170.70

Operations 10

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /spaces/{space_id} Get a Contentful space · Get space #
Ask an LLM
“What are the details of a Contentful space?”
“Can I look up a space by its ID?”
Tell an agent
Get Contentful space {space_id}.
Show the details of space {space_id}.
GET /spaces/{space_id}/environments/{environment_id}/content_types List content types in an environment · Get content types #
Ask an LLM
“What content types are defined in a Contentful environment?”
“Can I see the schema of a space's content types?”
Tell an agent
List content types in environment {environment_id} of space {space_id}.
Show the content type definitions for {space_id}/{environment_id}.
GET /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id} Get one content type · Get content type #
Ask an LLM
“How do I fetch a single content type by ID?”
“What fields does one content type define?”
Tell an agent
Get content type {content_type_id} in environment {environment_id} of space {space_id}.
Show the definition of content type {content_type_id} in {space_id}/{environment_id}.
GET /spaces/{space_id}/environments/{environment_id}/entries List entries in an environment · Get entries #
Ask an LLM
“How do I fetch all entries in a Contentful environment?”
“Can I list entries for a specific content type?”
Tell an agent
List entries in environment {environment_id} of space {space_id}.
Show every entry in {space_id}/{environment_id}.
GET /spaces/{space_id}/environments/{environment_id}/entries/{entry_id} Get one entry · Get entry #
Ask an LLM
“How do I fetch a single entry by ID?”
“Can I read one published entry?”
Tell an agent
Get entry {entry_id} in environment {environment_id} of space {space_id}.
Show entry {entry_id} from {space_id}/{environment_id}.
GET /spaces/{space_id}/environments/{environment_id}/assets List assets in an environment · Get assets #
Ask an LLM
“How do I list all assets in a Contentful environment?”
“Can I see the media files published to an environment?”
Tell an agent
List assets in environment {environment_id} of space {space_id}.
Show every asset in {space_id}/{environment_id}.
GET /spaces/{space_id}/environments/{environment_id}/assets/{asset_id} Get one asset · Get asset #
Ask an LLM
“How do I fetch a single asset by ID?”
“Can I read one published media file?”
Tell an agent
Get asset {asset_id} in environment {environment_id} of space {space_id}.
Show asset {asset_id} from {space_id}/{environment_id}.
GET /spaces/{space_id}/environments/{environment_id}/locales List locales in an environment · Get locales #
Ask an LLM
“Which locales are available in a Contentful environment?”
“Can I see the language settings of an environment?”
Tell an agent
List locales in environment {environment_id} of space {space_id}.
Show the locales configured for {space_id}/{environment_id}.
GET /spaces/{space_id}/environments/{environment_id}/tags List tags in an environment · Get tags #
Ask an LLM
“What tags are used in a Contentful environment?”
“Can I see the tag vocabulary of an environment?”
Tell an agent
List tags in environment {environment_id} of space {space_id}.
Show the tag list for {space_id}/{environment_id}.
GET /spaces/{space_id}/environments/{environment_id}/sync Sync content incrementally · Sync content #
Ask an LLM
“How do I sync published content incrementally?”
“Can I get only the changes since my last sync?”
Tell an agent
Start an incremental sync of environment {environment_id} in space {space_id}.
Sync {space_id}/{environment_id} from sync token {sync_token}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/contentful:contentful-spaces-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

contentful-spaces-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Contentful Content Delivery Spaces API
  version: '1.0'
  description: Read-only REST API for delivering published content from Contentful spaces to apps, websites, and other media. Returns entries, assets, content types, locales, tags, and supports incremental sync.
  x-generated-from: https://www.contentful.com/developers/docs/references/content-delivery-api/
  x-generated-by: claude-crawl-2026-05-08
servers:
- url: https://cdn.contentful.com
  description: Content Delivery API
security:
- BearerAuth: []
tags:
- name: Spaces
paths:
  /spaces/{space_id}:
    get:
      summary: Get space
      operationId: getSpace
      parameters:
      - $ref: '#/components/parameters/SpaceId'
      responses:
        '200':
          description: Space resource
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Resource'
      tags:
      - Spaces
  /spaces/{space_id}/environments/{environment_id}/content_types:
    get:
      summary: Get content types
      operationId: getContentTypes
      parameters:
      - $ref: '#/components/parameters/SpaceId'
      - $ref: '#/components/parameters/EnvironmentId'
      responses:
        '200':
          description: Collection of content types
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Collection'
      tags:
      - Spaces
  /spaces/{space_id}/environments/{environment_id}/content_types/{content_type_id}:
    get:
      summary: Get content type
      operationId: getContentType
      parameters:
      - $ref: '#/components/parameters/SpaceId'
      - $ref: '#/components/parameters/EnvironmentId'
      - name: content_type_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Content type resource
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Resource'
      tags:
      - Spaces
  /spaces/{space_id}/environments/{environment_id}/entries:
    get:
      summary: Get entries
      operationId: getEntries
      parameters:
      - $ref: '#/components/parameters/SpaceId'
      - $ref: '#/components/parameters/EnvironmentId'
      responses:
        '200':
          description: Collection of entries
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Collection'
      tags:
      - Spaces
  /spaces/{space_id}/environments/{environment_id}/entries/{entry_id}:
    get:
      summary: Get entry
      operationId: getEntry
      parameters:
      - $ref: '#/components/parameters/SpaceId'
      - $ref: '#/components/parameters/EnvironmentId'
      - name: entry_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Entry resource
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Resource'
      tags:
      - Spaces
  /spaces/{space_id}/environments/{environment_id}/assets:
    get:
      summary: Get assets
      operationId: getAssets
      parameters:
      - $ref: '#/components/parameters/SpaceId'
      - $ref: '#/components/parameters/EnvironmentId'
      responses:
        '200':
          description: Collection of assets
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Collection'
      tags:
      - Spaces
  /spaces/{space_id}/environments/{environment_id}/assets/{asset_id}:
    get:
      summary: Get asset
      operationId: getAsset
      parameters:
      - $ref: '#/components/parameters/SpaceId'
      - $ref: '#/components/parameters/EnvironmentId'
      - name: asset_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Asset resource
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Resource'
      tags:
      - Spaces
  /spaces/{space_id}/environments/{environment_id}/locales:
    get:
      summary: Get locales
      operationId: getLocales
      parameters:
      - $ref: '#/components/parameters/SpaceId'
      - $ref: '#/components/parameters/EnvironmentId'
      responses:
        '200':
          description: Collection of locales
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Collection'
      tags:
      - Spaces
  /spaces/{space_id}/environments/{environment_id}/tags:
    get:
      summary: Get tags
      operationId: getTags
      parameters:
      - $ref: '#/components/parameters/SpaceId'
      - $ref: '#/components/parameters/EnvironmentId'
      responses:
        '200':
          description: Collection of tags
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Collection'
      tags:
      - Spaces
  /spaces/{space_id}/environments/{environment_id}/sync:
    get:
      summary: Sync content
      operationId: sync
      parameters:
      - $ref: '#/components/parameters/SpaceId'
      - $ref: '#/components/parameters/EnvironmentId'
      - name: initial
        in: query
        schema:
          type: boolean
      - name: sync_token
        in: query
        schema:
          type: string
      responses:
        '200':
          description: Sync result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Collection'
      tags:
      - Spaces
components:
  parameters:
    SpaceId:
      name: space_id
      in: path
      required: true
      schema:
        type: string
    EnvironmentId:
      name: environment_id
      in: path
      required: true
      schema:
        type: string
  schemas:
    Collection:
      type: object
      properties:
        sys:
          type: object
          additionalProperties: true
        total:
          type: integer
        skip:
          type: integer
        limit:
          type: integer
        items:
          type: array
          items:
            $ref: '#/components/schemas/Resource'
    Resource:
      type: object
      additionalProperties: true
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer