contentful-management
v1.0.3Create, update, and publish content across spaces and environments
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_spaces List Spaces
Retrieve all spaces accessible to your account across organizations. Spaces are containers for content types and content; use this to discover available spaces before accessing their content.
create_space Create Space
Create a new space in Contentful by specifying its name and default locale. A space is a container for content types, entries, and assets within your Contentful organization.
| Parameter | Type | Description |
|---|---|---|
X-Contentful-Organization | string | The ID of the Contentful organization where the space will be created. Required to route the request to the correct organization context. |
get_space Get Space
Retrieve detailed information about a specific Contentful space by its ID. This returns the space's configuration, settings, and metadata.
| Parameter | Type | Description |
|---|---|---|
space_id * | string | The unique identifier of the space to retrieve. This is a required string that identifies which Contentful space you want to access. |
delete_space Delete Space
Permanently delete a space and all its associated content. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
space_id * | string | The unique identifier of the space to delete. |
list_environments List Environments
Retrieve all environments within a Contentful space. Environments allow you to manage different versions of your content (e.g., staging, production).
| Parameter | Type | Description |
|---|---|---|
space_id * | string | The unique identifier of the Contentful space containing the environments you want to retrieve. |
create_environment Create Environment
Create a new environment within a Contentful space. Optionally clone content from an existing source environment.
| Parameter | Type | Description |
|---|---|---|
space_id * | string | The unique identifier of the space where the environment will be created. |
X-Contentful-Source-Environment | string | Optional identifier of an existing environment to clone as the source for the new environment's content and structure. |
get_environment Get Environment
Retrieve a single environment within a Contentful space. Environments allow you to manage different versions of your content independently.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment to retrieve. |
space_id * | string | The unique identifier of the Contentful space containing the environment. |
update_environment Update Environment
Update the configuration and settings of an environment within a Contentful space. This allows you to modify environment properties after creation.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment to update. |
space_id * | string | The unique identifier of the Contentful space containing the environment to update. |
delete_environment Delete Environment
Permanently delete an environment within a Contentful space. This action cannot be undone and will remove all content and configuration associated with the environment.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment to delete. Common examples include 'master' for the default environment. |
space_id * | string | The unique identifier of the Contentful space containing the environment to delete. |
list_environment_aliases List Environment Aliases
Retrieve all environment aliases configured for a specific space in Contentful. Environment aliases allow you to reference environments by custom names in addition to their IDs.
| Parameter | Type | Description |
|---|---|---|
space_id * | string | The unique identifier of the space containing the environment aliases you want to retrieve. |
get_environment_alias Get Environment Alias
Retrieve a specific environment alias within a space. Environment aliases provide alternative identifiers for accessing environments in the Content Management API.
| Parameter | Type | Description |
|---|---|---|
environment_alias_id * | string | The unique identifier of the environment alias to retrieve. |
space_id * | string | The unique identifier of the space containing the environment alias. |
create_or_update_environment_alias Create or Update Environment Alias
Create a new environment alias or update an existing one within a Contentful space. Environment aliases provide stable references to environments that can be updated without changing client configurations.
| Parameter | Type | Description |
|---|---|---|
environment_alias_id * | string | The unique identifier of the environment alias to create or update. |
space_id * | string | The unique identifier of the Contentful space containing the environment alias. |
delete_environment_alias Delete Environment Alias
Delete an environment alias from a space. This removes the alias mapping, making it no longer available for accessing the associated environment.
| Parameter | Type | Description |
|---|---|---|
environment_alias_id * | string | The unique identifier of the environment alias to delete. |
space_id * | string | The unique identifier of the space containing the environment alias to delete. |
list_organizations List Organizations
Retrieve all organizations that your account has access to. This returns a collection of organizations you can manage or collaborate within.
list_content_types List Content Types
Retrieve all content types defined for a specific environment within a space. Content types define the structure and fields for entries in Contentful.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment within the space from which to retrieve content types. |
space_id * | string | The unique identifier of the space containing the environment and content types. |
create_content_type Create Content Type
Create a new content type within a specific environment. Content types define the structure and fields for entries in Contentful.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment within the space where the content type will be created. |
space_id * | string | The unique identifier of the space where the content type will be created. |
get_content_type Get Content Type
Retrieve a single content type definition from a specific environment within a space. Content types define the structure and fields for entries in Contentful.
| Parameter | Type | Description |
|---|---|---|
content_type_id * | string | The unique identifier of the content type to retrieve. Example format: alphanumeric string like 'testValid'. |
environment_id * | string | The unique identifier of the environment within the space. Typically 'master' for the default environment, but can be any environment name. |
space_id * | string | The unique identifier of the space containing the content type. Example format: alphanumeric string like '5nvk6q4s3ttw'. |
create_or_update_content_type Create or Update Content Type
Create a new content type or update an existing one within a specific space and environment. This operation allows you to define the structure and fields for content entries.
| Parameter | Type | Description |
|---|---|---|
content_type_id * | string | The unique identifier for the content type being created or updated. |
environment_id * | string | The unique identifier of the environment within the space where the content type will be created or updated. |
space_id * | string | The unique identifier of the space containing the content type. |
delete_content_type Delete Content Type
Permanently delete a content type from a specific environment within a space. This action cannot be undone and will remove the content type definition.
| Parameter | Type | Description |
|---|---|---|
content_type_id * | string | The unique identifier of the content type to delete. |
environment_id * | string | The unique identifier of the environment within the space where the content type is located. |
space_id * | string | The unique identifier of the space containing the content type to delete. |
publish_content_type Publish Content Type
Activate a content type to make it available for use in a Contentful space. Once published, the content type can be used to create and manage content entries.
| Parameter | Type | Description |
|---|---|---|
content_type_id * | string | The unique identifier of the content type to be published and activated. |
environment_id * | string | The unique identifier of the environment within the space where the content type will be published. |
space_id * | string | The unique identifier of the Contentful space containing the content type. |
deactivate_content_type Deactivate Content Type
Deactivate a published content type in a specific environment, making it unavailable for use in new content entries.
| Parameter | Type | Description |
|---|---|---|
content_type_id * | string | The unique identifier of the content type to deactivate. |
environment_id * | string | The unique identifier of the environment where the content type is published. |
space_id * | string | The unique identifier of the space containing the content type. |
list_content_types_published List Published Content Types
Retrieve all activated content types for a specific space and environment. Content types define the structure and fields available for entries in your space.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment within the space from which to fetch activated content types. |
space_id * | string | The unique identifier of the space containing the content types you want to retrieve. |
list_extensions List Extensions
Retrieve all UI extensions configured for a specific environment within a space. Extensions allow customization of the Contentful UI for content editors.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment from which to retrieve extensions. |
space_id * | string | The unique identifier of the space containing the environment and extensions. |
get_extension Get Extension
Retrieve a single UI extension configuration from a specific environment within a space. This returns the extension's definition and settings.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment within the space where the extension is configured. |
extension_id * | string | The unique identifier of the extension to retrieve. |
space_id * | string | The unique identifier of the space containing the extension. |
create_or_update_extension Create or Update Extension
Create a new UI extension or update an existing one in a Contentful space environment. This operation allows you to define custom UI components for the Contentful editor.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment within the space where the extension will be created or updated. |
extension_id * | string | The unique identifier for the extension being created or updated. |
space_id * | string | The unique identifier of the Contentful space where the extension will be created or updated. |
delete_extension Delete Extension
Permanently delete a UI extension from a specific environment within a space. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment within the space where the extension is located. |
extension_id * | string | The unique identifier of the extension to delete. |
space_id * | string | The unique identifier of the space containing the extension to delete. |
list_entries List Entries
Retrieve all entries from a specific environment within a space. Entries represent content items managed in Contentful and can be filtered by tags.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment within the space from which to fetch entries. |
space_id * | string | The unique identifier of the space containing the entries to retrieve. |
TAG_KEY | string | Optional tag key to filter entries by a specific tag value. Use this to retrieve only entries associated with a particular tag. |
create_entry Create Entry
Create a new entry in a Contentful space environment. Entries are the primary content objects that hold your data according to a defined content model.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The environment within the space where the entry will be created. Defaults to 'master' for the main environment. |
space_id * | string | The unique identifier of the Contentful space where the entry will be created. |
X-Contentful-Content-Type | string | The content type ID that defines the structure and fields for this entry. This determines what fields are available and required for the entry. |
get_entry Get Entry
Retrieve a single entry from a Contentful space and environment. Returns the complete entry object with all its fields and metadata.
| Parameter | Type | Description |
|---|---|---|
entry_id * | string | The unique identifier of the entry to retrieve (e.g., '4Mxj1aVYccLOCunUzsNcNL'). This identifies the specific entry within the environment. |
environment_id * | string | The environment identifier within the space, typically 'master' for the main environment. Specifies which environment version of the entry to retrieve. |
space_id * | string | The unique identifier of the Contentful space (e.g., '5nvk6q4s3ttw'). This identifies which space contains the entry. |
upsert_entry Upsert Entry
Create a new entry or update an existing entry within a specific environment and space. This operation allows you to define or modify content entries in your Contentful workspace.
| Parameter | Type | Description |
|---|---|---|
entry_id * | string | The unique identifier of the entry to create or update. If the entry doesn't exist, it will be created; otherwise, the existing entry will be updated. |
environment_id * | string | The unique identifier of the environment within the space. Environments allow you to manage different versions of your content (e.g., draft, published). |
space_id * | string | The unique identifier of the space containing the entry. This is the workspace where your content is organized. |
X-Contentful-Content-Type | string | The content type ID that defines the structure and fields for this entry. This determines what fields are available and their validation rules. |
update_entry Update Entry
Partially update an entry within a Contentful space and environment. Use this operation to modify specific fields of an existing entry without replacing the entire entry.
| Parameter | Type | Description |
|---|---|---|
entry_id * | string | The unique identifier of the entry to update. |
environment_id * | string | The environment identifier where the entry resides. Typically 'master' for the default environment. |
space_id * | string | The unique identifier of the Contentful space containing the entry to update. |
X-Contentful-Content-Type | string | The content type ID that defines the structure of the entry being updated. |
delete_entry Delete Entry
Permanently delete an entry from a Contentful space environment. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
entry_id * | string | The unique identifier of the entry to delete. |
environment_id * | string | The environment within the space where the entry exists. Typically 'master' for the main environment. |
space_id * | string | The unique identifier of the Contentful space containing the entry to delete. |
list_entry_references List Entry References
Retrieve all entries that reference a specific entry within a Contentful space and environment. This helps identify content dependencies and relationships.
| Parameter | Type | Description |
|---|---|---|
entry_id * | string | The unique identifier of the entry for which to retrieve references (e.g., '4Mxj1aVYccLOCunUzsNcNL'). |
environment_id * | string | The environment identifier within the space, typically 'master' for the default environment. |
space_id * | string | The unique identifier of the Contentful space containing the entry (e.g., '5nvk6q4s3ttw'). |
publish_entry Publish Entry
Publish an entry to make it publicly available. This operation marks the entry as published in the specified environment.
| Parameter | Type | Description |
|---|---|---|
entry_id * | string | The unique identifier of the entry to publish. |
environment_id * | string | The environment where the entry will be published. Typically 'master' for the main environment. |
space_id * | string | The unique identifier of the space containing the entry to publish. |
unpublish_entry Unpublish Entry
Unpublish an entry, removing it from the published state while keeping the draft version intact. This operation reverses a previous publish action.
| Parameter | Type | Description |
|---|---|---|
entry_id * | string | The unique identifier of the entry to unpublish. |
environment_id * | string | The environment identifier where the entry exists. Typically 'master' for the default environment. |
space_id * | string | The unique identifier of the space containing the entry to unpublish. |
archive_entry Archive Entry
Archive an entry in a Contentful space environment. Archived entries are hidden from published content but retained for historical reference.
| Parameter | Type | Description |
|---|---|---|
entry_id * | string | The unique identifier of the entry to archive. |
environment_id * | string | The environment identifier where the entry resides. Typically 'master' for the default environment. |
space_id * | string | The unique identifier of the Contentful space containing the entry to archive. |
unarchive_entry Unarchive Entry
Restore an archived entry to active status in a Contentful space. This operation reverses the archival of an entry, making it available for use again.
| Parameter | Type | Description |
|---|---|---|
entry_id * | string | The unique identifier of the entry to unarchive. |
environment_id * | string | The environment identifier where the entry is stored. Typically 'master' for the default environment. |
space_id * | string | The unique identifier of the Contentful space containing the entry. |
upload_file Upload File
Upload a file to a Contentful space. The uploaded file can then be used as an asset within the space.
| Parameter | Type | Description |
|---|---|---|
space_id * | string | The unique identifier of the space where the file will be uploaded. |
get_upload Get Upload
Retrieve details about a specific upload in a space. Use this to check the status and metadata of a previously created upload.
| Parameter | Type | Description |
|---|---|---|
space_id * | string | The unique identifier of the space containing the upload. |
upload_id * | string | The unique identifier of the upload to retrieve. |
delete_upload Delete Upload
Permanently delete an upload from a Contentful space. Once deleted, the upload cannot be recovered.
| Parameter | Type | Description |
|---|---|---|
space_id * | string | The unique identifier of the space containing the upload to delete. |
upload_id * | string | The unique identifier of the upload to delete. |
list_assets List Assets
Retrieve all assets in a specific environment within a space. Assets are media files and other resources managed in Contentful.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment within the space from which to fetch assets. |
space_id * | string | The unique identifier of the space containing the assets you want to retrieve. |
create_asset Create Asset
Create a new asset in a specified Contentful space and environment. Assets are files and media that can be referenced by content entries.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment within the space where the asset will be created. |
space_id * | string | The unique identifier of the Contentful space where the asset will be created. |
list_published_assets List Published Assets
Retrieve all published assets for a specific space and environment. This returns assets that have been explicitly published and are available for use.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment within the space from which to retrieve published assets. |
space_id * | string | The unique identifier of the space containing the assets. |
get_asset Get Asset
Retrieve a single asset from a specific environment within a space. Assets are media files and other resources managed in Contentful.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | The unique identifier of the asset to retrieve (e.g., B1fZbskHLWGKIVuZySN5P). |
environment_id * | string | The unique identifier of the environment within the space where the asset is located. |
space_id * | string | The unique identifier of the space containing the asset. |
create_or_update_asset Create or Update Asset
Create a new asset or update an existing asset in a Contentful space environment. Use this operation to manage media files and other assets within your content management system.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | The unique identifier of the asset to create or update. If the asset does not exist, it will be created with this ID. |
environment_id * | string | The unique identifier of the environment within the space where the asset is located. |
space_id * | string | The unique identifier of the Contentful space containing the asset. |
delete_asset Delete Asset
Permanently delete an asset from a specific environment within a space. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | The unique identifier of the asset to delete. |
environment_id * | string | The unique identifier of the environment within the space where the asset is located. |
space_id * | string | The unique identifier of the space containing the asset to delete. |
process_asset_file Process Asset File
Trigger processing of an asset file in a specific locale within a Contentful space and environment. This initiates any necessary transformations or optimizations for the uploaded asset.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | The unique identifier of the asset file to process. |
environment_id * | string | The unique identifier of the environment within the space where the asset is located. |
locale_code * | string | The locale code for the asset file variant to process, specified in language-region format (e.g., en-us for US English). |
space_id * | string | The unique identifier of the Contentful space containing the asset. |
publish_asset Publish Asset
Publish an asset to make it available in the specified environment. Publishing an asset marks it as ready for use in your content delivery pipeline.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | The unique identifier of the asset to publish. |
environment_id * | string | The unique identifier of the environment where the asset will be published. |
space_id * | string | The unique identifier of the space containing the asset to publish. |
unpublish_asset Unpublish Asset
Unpublish an asset from a specific environment, making it unavailable to content consumers while retaining the asset in the space.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | The unique identifier of the asset to unpublish. |
environment_id * | string | The unique identifier of the environment from which to unpublish the asset. |
space_id * | string | The unique identifier of the space containing the asset. |
archive_asset Archive Asset
Archive an asset in a Contentful space environment. Archived assets are hidden from delivery but retained for historical purposes.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | The unique identifier of the asset to archive. |
environment_id * | string | The unique identifier of the environment within the space where the asset is located. |
space_id * | string | The unique identifier of the Contentful space containing the asset. |
unarchive_asset Unarchive Asset
Restore an archived asset in a specific environment, making it available for use again. This operation removes the archived status from the asset.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | The unique identifier of the asset to unarchive. |
environment_id * | string | The unique identifier of the environment within the space where the asset is located. |
space_id * | string | The unique identifier of the space containing the asset. |
create_asset_key Create Asset Key
Create a new asset key within a specific environment. Asset keys are used to manage and organize digital assets in your content space.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment within the space where the asset key will be created. |
space_id * | string | The unique identifier of the space where the asset key will be created. |
list_locales List Locales
Retrieve all locales configured for a specific environment within a space. Locales define the languages and regional variants available for content in that environment.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment within the space from which to fetch locales. |
space_id * | string | The unique identifier of the space containing the environment and locales to retrieve. |
create_locale Create Locale
Create a new locale within a specific environment of a Contentful space. Locales define the languages and regional variants available for content in your space.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The environment identifier within the space where the locale will be added (e.g., 'master' for the default environment). |
space_id * | string | The unique identifier of the Contentful space where the locale will be created (e.g., 'r0926rqjrebl'). |
get_locale Get Locale
Retrieve a specific locale configuration for a given space and environment. Locales define language and regional settings for content management.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment within the space. |
locale_id * | string | The unique identifier of the locale to retrieve. |
space_id * | string | The unique identifier of the space containing the locale. |
update_locale Update Locale
Update the configuration of a specific locale within a Contentful environment, such as display name or other locale settings.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment within the space where the locale resides. |
locale_id * | string | The unique identifier of the locale to update. |
space_id * | string | The unique identifier of the space containing the locale to update. |
delete_locale Delete Locale
Permanently delete a locale from a specific environment within a space. This action removes the locale configuration and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment within the space where the locale exists. |
locale_id * | string | The unique identifier of the locale to delete. |
space_id * | string | The unique identifier of the space containing the locale to delete. |
list_environment_tags List Environment Tags
Retrieve all tags configured for a specific environment within a space. Tags are used to organize and categorize content management UI extensions.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment within the space. This specifies which environment's tags should be retrieved. |
space_id * | string | The unique identifier of the space containing the environment. This is required to scope the request to the correct workspace. |
get_tag Get Tag
Retrieve a single tag from a specific environment within a space. Tags are used to organize and categorize content in Contentful.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment within the space where the tag is located. |
space_id * | string | The unique identifier of the space containing the tag. |
tag_id * | string | The unique identifier of the tag to retrieve. |
create_tag Create Tag
Create a new tag within a specific environment in Contentful. Tags are used to organize and categorize content for better management and filtering.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment within the space where the tag will be created. |
space_id * | string | The unique identifier of the space containing the environment where the tag will be created. |
tag_id * | string | The unique identifier for the tag being created. |
update_tag Update Tag
Update an existing tag within a specific environment and space. This operation allows you to modify tag properties and settings.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment within the space where the tag is located. |
space_id * | string | The unique identifier of the space containing the tag to be updated. |
tag_id * | string | The unique identifier of the tag to be updated. |
delete_tag Delete Tag
Remove a tag from a specific environment within a space. This permanently deletes the tag and its associations.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment within the space that contains the tag to be deleted. |
space_id * | string | The unique identifier of the space containing the environment and tag to be deleted. |
tag_id * | string | The unique identifier of the tag to be deleted. |
list_webhooks List Webhooks
Retrieve all webhook definitions configured for a specific space. Webhooks allow you to receive HTTP notifications when content changes occur in your space.
| Parameter | Type | Description |
|---|---|---|
space_id * | string | The unique identifier of the space containing the webhooks you want to retrieve (e.g., '5nvk6q4s3ttw'). |
list_webhook_calls List Webhook Calls
Retrieve a list of recent webhook call attempts for a specific webhook, including their status and execution details. This helps monitor webhook delivery and troubleshoot integration issues.
| Parameter | Type | Description |
|---|---|---|
space_id * | string | The unique identifier of the space containing the webhook. This is required to scope the webhook calls to the correct environment. |
webhook_id * | string | The unique identifier of the webhook whose call history you want to retrieve. This specifies which webhook's execution log to fetch. |
get_webhook_call Get Webhook Call
Retrieve detailed information about a specific webhook call, including its request, response, and execution status.
| Parameter | Type | Description |
|---|---|---|
call_id * | string | The unique identifier of the specific webhook call to retrieve. |
space_id * | string | The unique identifier of the space containing the webhook. |
webhook_id * | string | The unique identifier of the webhook for which to retrieve call details. |
check_webhook_health Check Webhook Health
Retrieve the health status and diagnostic information for a specific webhook in a space, including recent delivery attempts and error details.
| Parameter | Type | Description |
|---|---|---|
space_id * | string | The unique identifier of the space containing the webhook. |
webhook_id * | string | The unique identifier of the webhook whose health status should be retrieved. |
get_webhook_definition Get Webhook Definition
Retrieve a single webhook definition by its ID. Returns the complete configuration and metadata for the specified webhook in a Contentful space.
| Parameter | Type | Description |
|---|---|---|
space_id * | string | The unique identifier of the Contentful space containing the webhook definition. |
webhook_definition_id * | string | The unique identifier of the webhook definition to retrieve. |
delete_role Delete Role
Permanently delete a role from a space. This action removes the role and all associated permissions, affecting any users or API tokens assigned to this role.
| Parameter | Type | Description |
|---|---|---|
role_id * | string | The unique identifier of the role to delete. |
space_id * | string | The unique identifier of the space containing the role to delete. |
list_entry_snapshots List Entry Snapshots
Retrieve all snapshots for a specific entry in the master environment. Snapshots capture the state of an entry at different points in time, allowing you to view historical versions and changes.
| Parameter | Type | Description |
|---|---|---|
entry_id * | string | The unique identifier of the entry for which to retrieve snapshots. This is a required alphanumeric identifier that specifies which entry's version history to fetch. |
space_id * | string | The unique identifier of the space containing the entry. This is a required alphanumeric identifier that specifies which workspace to query. |
list_content_type_snapshots List Content Type Snapshots
Retrieve all snapshots for a specific content type in the master environment. Snapshots capture the state of a content type at different points in time, allowing you to track changes and restore previous versions.
| Parameter | Type | Description |
|---|---|---|
content_type_id * | string | The unique identifier of the content type for which to retrieve snapshots. |
space_id * | string | The unique identifier of the space containing the content type. |
get_content_type_snapshot Get Content Type Snapshot
Retrieve a specific snapshot of a content type, allowing you to view the content type definition at a particular point in time.
| Parameter | Type | Description |
|---|---|---|
content_type_id * | string | The unique identifier of the content type for which to retrieve the snapshot. |
snapshot_id * | string | The unique identifier of the snapshot to retrieve. |
space_id * | string | The unique identifier of the space containing the content type. |
get_entry_snapshot Get Entry Snapshot
Retrieve a specific snapshot of an entry, allowing you to view the entry's state at a particular point in time.
| Parameter | Type | Description |
|---|---|---|
entry_id * | string | The unique identifier of the entry for which you want to retrieve the snapshot. |
snapshot_id * | string | The unique identifier of the snapshot to retrieve. |
space_id * | string | The unique identifier of the space containing the entry. |
list_space_memberships List Space Memberships
Retrieve all space memberships for a given space. Returns a collection of all users and their roles within the specified space.
| Parameter | Type | Description |
|---|---|---|
space_id * | string | The unique identifier of the space. Use the space ID to target a specific workspace (e.g., '5nvk6q4s3ttw'). |
create_space_membership Create Space Membership
Add a new member to a space with specified roles and permissions. This operation creates a space membership record that grants a user or team access to the space.
| Parameter | Type | Description |
|---|---|---|
space_id * | string | The unique identifier of the space where the membership will be created. |
get_space_membership Get Space Membership
Retrieve a specific space membership by its ID. Returns detailed information about a user's membership and role within a Contentful space.
| Parameter | Type | Description |
|---|---|---|
space_id * | string | The unique identifier of the Contentful space containing the membership. |
space_membership_id * | string | The unique identifier of the space membership to retrieve. |
update_space_membership Update Space Membership
Update a space membership to modify user roles and permissions within a specific space. This operation allows you to change access levels and membership details for a user in the space.
| Parameter | Type | Description |
|---|---|---|
space_id * | string | The unique identifier of the space containing the membership to update. |
space_membership_id * | string | The unique identifier of the space membership record to update. |
remove_space_member Remove Space Member
Remove a member from a space by deleting their space membership. This revokes their access to the specified space.
| Parameter | Type | Description |
|---|---|---|
space_id * | string | The unique identifier of the space from which the member will be removed. |
space_membership_id * | string | The unique identifier of the space membership record to delete. |
list_teams List Teams
Retrieve all teams associated with a specific space. Teams are organizational units within a space that can be assigned permissions and manage content collaboratively.
| Parameter | Type | Description |
|---|---|---|
space_id * | string | The unique identifier of the space for which to retrieve teams. |
get_delivery_api_key Get Delivery API Key
Retrieve a specific Delivery API key for a space. Use this to view details of an existing API key used for content delivery.
| Parameter | Type | Description |
|---|---|---|
api_key_id * | string | The unique identifier of the Delivery API key to retrieve. |
space_id * | string | The unique identifier of the space containing the API key. |
update_delivery_api_key Update Delivery API Key
Update the configuration of a Delivery API key within a space. This allows you to modify settings for an existing API key used for content delivery.
| Parameter | Type | Description |
|---|---|---|
api_key_id * | string | The unique identifier of the Delivery API key to update. |
space_id * | string | The unique identifier of the space containing the API key to update. |
delete_delivery_api_key Delete Delivery API Key
Permanently delete a Delivery API key from a space. This action cannot be undone and will immediately revoke access for any applications using this key.
| Parameter | Type | Description |
|---|---|---|
api_key_id * | string | The unique identifier of the Delivery API key to delete. |
space_id * | string | The unique identifier of the space containing the API key to delete. |
list_delivery_api_keys List Delivery API Keys
Retrieve all Delivery API keys configured for a specific space. These keys are used to access published content through the Contentful Delivery API.
| Parameter | Type | Description |
|---|---|---|
space_id * | string | The unique identifier of the space containing the API keys to retrieve. |
create_delivery_api_key Create Delivery API Key
Create a new Delivery API key for a Contentful space to enable read-only access to published content via the Delivery API.
| Parameter | Type | Description |
|---|---|---|
space_id * | string | The unique identifier of the Contentful space where the API key will be created. |
list_preview_api_keys List Preview API Keys
Retrieve all Preview API keys for a specific space. Preview API keys are used to access published content in a read-only manner.
| Parameter | Type | Description |
|---|---|---|
space_id * | string | The unique identifier of the space containing the Preview API keys to retrieve. |
get_preview_api_key Get Preview API Key
Retrieve a single Preview API key for a specific space. Preview API keys are used to access published content in a read-only manner.
| Parameter | Type | Description |
|---|---|---|
preview_api_key_id * | string | The unique identifier of the Preview API key to retrieve. |
space_id * | string | The unique identifier of the space containing the Preview API key. |
list_access_tokens List Access Tokens
Retrieve all personal access tokens for the authenticated user. This allows you to view and manage your API credentials used for programmatic access to Contentful.
get_access_token Get Access Token
Retrieve a specific personal access token by its ID. This allows you to view details about an individual access token associated with your account.
| Parameter | Type | Description |
|---|---|---|
token_id * | string | The unique identifier of the personal access token to retrieve. |
revoke_access_token Revoke Access Token
Revoke a personal access token to immediately invalidate it and prevent further API access using that token.
| Parameter | Type | Description |
|---|---|---|
token_id * | string | The unique identifier of the personal access token to revoke. |
get_current_user Get Current User
Retrieve the profile and details of the currently authenticated user. This operation requires valid authentication credentials.
list_entry_tasks List Entry Tasks
Retrieve all tasks associated with a specific entry within a Contentful environment. Tasks represent workflow actions or assignments related to the entry.
| Parameter | Type | Description |
|---|---|---|
entry_id * | string | The unique identifier of the entry for which to retrieve associated tasks. |
environment_id * | string | The unique identifier of the environment within the space where the entry resides. |
space_id * | string | The unique identifier of the Contentful space containing the entry. |
create_entry_task Create Entry Task
Create a task for a specific entry within a Contentful space and environment. Tasks are used to track workflows and actions associated with content entries.
| Parameter | Type | Description |
|---|---|---|
entry_id * | string | The unique identifier of the entry for which the task is being created. |
environment_id * | string | The unique identifier of the environment within the space where the entry resides. |
space_id * | string | The unique identifier of the Contentful space containing the entry. |
get_task Get Task
Retrieve a specific task associated with an entry. Tasks are used to track workflows and approvals within Contentful entries.
| Parameter | Type | Description |
|---|---|---|
entry_id * | string | The unique identifier of the entry that contains the task. |
environment_id * | string | The unique identifier of the environment within the space. |
space_id * | string | The unique identifier of the space containing the task. |
task_id * | string | The unique identifier of the task to retrieve. |
update_task Update Task
Update an existing task associated with a specific entry in a Contentful environment. This allows you to modify task details such as status, assignees, or other task-related metadata.
| Parameter | Type | Description |
|---|---|---|
entry_id * | string | The unique identifier of the entry that the task is associated with. |
environment_id * | string | The unique identifier of the environment within the space where the task exists. |
space_id * | string | The unique identifier of the space containing the entry and task to update. |
task_id * | string | The unique identifier of the task to update. |
delete_task Delete Task
Permanently delete a specific task associated with an entry. This removes the task and all its related data from the entry.
| Parameter | Type | Description |
|---|---|---|
entry_id * | string | The unique identifier of the entry that contains the task to be deleted. |
environment_id * | string | The unique identifier of the environment within the space where the entry and task reside. |
space_id * | string | The unique identifier of the space containing the entry and task to be deleted. |
task_id * | string | The unique identifier of the task to be deleted. |
list_scheduled_actions List Scheduled Actions
Retrieve all scheduled actions for a specific space. Scheduled actions allow you to automate content management tasks at predetermined times.
| Parameter | Type | Description |
|---|---|---|
space_id * | string | The unique identifier of the space containing the scheduled actions you want to retrieve. |
create_scheduled_action Create Scheduled Action
Create a new scheduled action within a space. Scheduled actions allow you to automate content management tasks at specified times.
| Parameter | Type | Description |
|---|---|---|
space_id * | string | The unique identifier of the space where the scheduled action will be created. |
update_scheduled_action Update Scheduled Action
Update an existing scheduled action in a space. Modify the configuration and settings of a scheduled action that has been previously created.
| Parameter | Type | Description |
|---|---|---|
scheduled_action_id * | string | The unique identifier of the scheduled action to update. |
space_id * | string | The unique identifier of the space containing the scheduled action to update. |
cancel_scheduled_action Cancel Scheduled Action
Cancel a scheduled action in a space. This prevents the scheduled action from executing at its designated time.
| Parameter | Type | Description |
|---|---|---|
scheduled_action_id * | string | The unique identifier of the scheduled action to cancel. |
space_id * | string | The unique identifier of the space containing the scheduled action to cancel. |
list_releases List Releases
Retrieve all scheduled releases for a specific environment within a space. This allows you to query and manage content publication schedules.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment within the space from which to retrieve releases. |
space_id * | string | The unique identifier of the space containing the environment and releases. |
create_environment_release Create Environment Release
Create a new release for a specific environment within a space. Releases allow you to schedule and manage content deployments across your Contentful workspace.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment within the space where the release will be created. |
space_id * | string | The unique identifier of the space containing the environment where the release will be created. |
validate_release Validate Release
Create a validation action for a scheduled release in a specific environment. This initiates validation of the release's contents before it can be published.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment where the release will be validated. |
releases_id * | string | The unique identifier of the release to validate. |
space_id * | string | The unique identifier of the space containing the release. |
list_release_actions List Release Actions
Retrieve all scheduled actions associated with a specific release in a Contentful environment. This allows you to query and monitor the actions planned for a release.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment within the space where the release exists. |
releases_id * | string | The unique identifier of the release for which to retrieve associated actions. |
space_id * | string | The unique identifier of the Contentful space containing the release. |
get_release_action Get Release Action
Retrieve a specific scheduled action within a release. Use this to fetch details about a single release action, such as its status, timing, and associated content changes.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment within the space where the release action is defined. |
release_action_id * | string | The unique identifier of the specific release action to retrieve. |
releases_id * | string | The unique identifier of the release that contains the action. |
space_id * | string | The unique identifier of the space containing the release and action. |
publish_release Publish Release
Publish a release to make its scheduled changes live in the specified environment. This marks the release as published and applies all contained entries and assets to the target environment.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment where the release will be published. |
releases_id * | string | The unique identifier of the release to publish. |
space_id * | string | The unique identifier of the space containing the release to be published. |
unpublish_release Unpublish Release
Unpublish a scheduled release, removing it from the published state and preventing its scheduled actions from executing.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment where the release is published. |
releases_id * | string | The unique identifier of the release to unpublish. |
space_id * | string | The unique identifier of the space containing the release. |
get_release Get Release
Retrieve a single scheduled release by its ID within a specific space and environment. This operation fetches detailed information about a release, including its scheduled actions and metadata.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment within the space where the release is located. |
releases_id * | string | The unique identifier of the release to retrieve. |
space_id * | string | The unique identifier of the space containing the release. |
update_release Update Release
Update an existing release in a Contentful space environment. This operation allows you to modify release details such as scheduling, metadata, or other release properties.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment within the space where the release exists. |
releases_id * | string | The unique identifier of the release to update. |
space_id * | string | The unique identifier of the Contentful space containing the release to update. |
delete_release Delete Release
Permanently remove a scheduled release from a specific environment within a space. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment within the space where the release exists. |
releases_id * | string | The unique identifier of the release to be permanently removed. |
space_id * | string | The unique identifier of the space containing the release to be deleted. |
get_bulk_action Get Bulk Action
Retrieve details of a specific bulk action by its ID within a given space and environment. Use this to check the status and results of scheduled bulk operations.
| Parameter | Type | Description |
|---|---|---|
bulk_action_id * | string | The unique identifier of the bulk action to retrieve. |
environment_id * | string | The unique identifier of the environment within the space where the bulk action is located. |
space_id * | string | The unique identifier of the space containing the bulk action. |
publish_scheduled_actions Publish Scheduled Actions
Publish scheduled bulk actions for a specific environment, making them active and executable. This operation processes pending scheduled actions that have been queued for publication.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment within the space where the scheduled bulk actions will be published. |
space_id * | string | The unique identifier of the space containing the environment where scheduled actions will be published. |
unpublish_scheduled_actions Unpublish Scheduled Actions
Unpublish scheduled actions in bulk for a specific environment. This operation reverts previously scheduled publish actions, preventing them from being executed.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment within the space where scheduled actions will be unpublished. |
space_id * | string | The unique identifier of the space containing the environment where scheduled actions will be unpublished. |
validate_scheduled_bulk_action Validate Scheduled Bulk Action
Validate a bulk action before execution in a specific environment. This operation checks the bulk action configuration for errors and ensures it can be safely scheduled.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment where the bulk action will be executed and validated. |
space_id * | string | The unique identifier of the space containing the environment where the bulk action will be validated. |
list_app_definitions List App Definitions
Retrieve all app definitions for a specific organization. App definitions describe the configuration and capabilities of apps available within the organization.
| Parameter | Type | Description |
|---|---|---|
organization_id * | string | The unique identifier of the organization for which to retrieve app definitions. |
delete_app_definition Delete App Definition
Permanently delete an app definition from an organization. This action cannot be undone and will remove the app definition and all associated configurations.
| Parameter | Type | Description |
|---|---|---|
app_definition_id * | string | The unique identifier of the app definition to be deleted. |
organization_id * | string | The unique identifier of the organization that contains the app definition to be deleted. |
get_app_signing_secret Get App Signing Secret
Retrieve the current cryptographic signing secret for an app definition. This secret is used to verify the authenticity of requests from Contentful to your app.
| Parameter | Type | Description |
|---|---|---|
app_definition_id * | string | The unique identifier of the app definition for which to retrieve the signing secret. |
organization_id * | string | The unique identifier of the organization that owns the app definition. |
set_app_signing_secret Set App Signing Secret
Create or overwrite the signing secret for an app definition. This secret is used to verify the authenticity of requests from Contentful to your app.
| Parameter | Type | Description |
|---|---|---|
app_definition_id * | string | The unique identifier of the app definition for which to set the signing secret. |
organization_id * | string | The unique identifier of the organization that owns the app definition. |
revoke_app_signing_secret Revoke App Signing Secret
Revoke and remove the current signing secret for an app definition. This invalidates the existing secret, requiring a new one to be generated for future app authentications.
| Parameter | Type | Description |
|---|---|---|
app_definition_id * | string | The unique identifier of the app definition whose signing secret should be revoked. |
organization_id * | string | The unique identifier of the organization that owns the app definition. |
list_app_keys List App Keys
Retrieve all API keys associated with a specific app definition within an organization. This allows you to manage and view the credentials used for app authentication.
| Parameter | Type | Description |
|---|---|---|
app_definition_id * | string | The unique identifier of the app definition for which to retrieve all associated API keys. |
organization_id * | string | The unique identifier of the organization that contains the app definition. |
delete_app_key Delete App Key
Delete a specific cryptographic key associated with an app definition. This removes the key from the app definition, preventing it from being used for authentication or signing operations.
| Parameter | Type | Description |
|---|---|---|
app_definition_id * | string | The unique identifier of the app definition containing the key to be deleted. |
key_kid * | string | The unique identifier (kid) of the specific key to delete from the app definition. |
organization_id * | string | The unique identifier of the organization that owns the app definition. |
list_app_installations List App Installations
Retrieve all app installations configured for a specific environment within a space. This returns the complete list of installed applications and their configurations.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment within the space for which to retrieve app installations. |
space_id * | string | The unique identifier of the space containing the environment and app installations. |
uninstall_app Uninstall App
Remove an installed app from a specific environment within a space. This operation permanently uninstalls the app and removes its access to the environment.
| Parameter | Type | Description |
|---|---|---|
app_definition_id * | string | The unique identifier of the app definition to uninstall. |
environment_id * | string | The unique identifier of the environment from which the app will be uninstalled. |
space_id * | string | The unique identifier of the space containing the environment where the app is installed. |
issue_app_installation_access_token Issue App Installation Access Token
Generate an access token for an app installation within a specific space environment. This token enables the app to authenticate and interact with Contentful APIs on behalf of the installation.
| Parameter | Type | Description |
|---|---|---|
app_definition_id * | string | The unique identifier of the app definition for which to issue an access token. |
environment_id * | string | The unique identifier of the environment within the space where the app is installed. |
space_id * | string | The unique identifier of the space containing the app installation. |
list_organization_usage_metrics List Organization Usage Metrics
Retrieve periodic usage metrics for an organization, including API calls and resource consumption across specified time periods and metric types.
| Parameter | Type | Description |
|---|---|---|
organization_id * | string | The unique identifier of the organization for which to retrieve usage data. |
dateRange.endAt | string | End date for the usage period in ISO 8601 format (YYYY-MM-DD). Defines the end of the date range for usage data retrieval. |
dateRange.startAt | string | Start date for the usage period in ISO 8601 format (YYYY-MM-DD). Defines the beginning of the date range for usage data retrieval. |
metricin | string | Comma-separated list of metric types to include in the results, such as Content Management API (cma), Content Preview API (cpa), or GraphQL (gql) usage. |
order | string | Field to sort results by, such as usage metrics. Determines the order of returned usage records. |
list_space_periodic_usages List Space Periodic Usages
Retrieve periodic space usage metrics for an organization, allowing you to track content delivery and API consumption patterns over a specified time range.
| Parameter | Type | Description |
|---|---|---|
organization_id * | string | The unique identifier of the organization for which to retrieve space usage data. |
dateRange.endAt | string | End date for the usage period in ISO 8601 format (YYYY-MM-DD). Usage data will be retrieved up to and including this date. |
dateRange.startAt | string | Start date for the usage period in ISO 8601 format (YYYY-MM-DD). Usage data will be retrieved from this date onwards. |
metricin | string | Comma-separated list of metrics to include in the response, such as Content Management API (cma), Content Preview API (cpa), or GraphQL (gql) usage. |
order | string | Field to sort results by, such as usage metrics. Determines the order in which usage records are returned. |