---
title: "Python Management SDK API Reference"
description: "Python Management SDK API Reference"
url: "https://www.contentstack.com/docs/developers/sdks/content-management-sdk/python/reference"
product: "Contentstack"
doc_type: "guide"
audience:
  - developers
  - admins
version: "current"
last_updated: "2025-09-15"
---

# Python Management SDK API Reference

## Python Management SDK API Reference

Contentstack is a headless CMS that prioritizes an API-first approach. It empowers developers to create robust cross-platform applications in their preferred programming languages. Simply build your application frontend, and Contentstack handles the rest. This SDK utilizes the [Content Management API](/docs/developers/apis/content-management-api/) (CMA), which is designed for managing the content within your Contentstack account. It enables tasks such as creating, updating, deleting, and retrieving account content. To utilize the CMA, user authentication is necessary, achieved through a [Management Token](/docs/developers/create-tokens/about-management-tokens) or an [AuthToken](/docs/developers/create-tokens/how-is-it-different-from-authtoken).

**Additional Resource:** To know more about the Python Management SDK, refer to the [About Python Management](/docs/developers/sdks/content-management-sdk/python/about-python-management-sdk/) SDK and [Get Started with Python Management](/docs/developers/sdks/content-management-sdk/python/get-started-with-python-management-sdk/) SDK documentation.

## Contentstack

The Content Management API (CMA) is used to manage the content of your Contentstack account. This includes creating, updating, deleting, and fetching content of your account.

## Contentstack

The Content Management API (CMA) is used to manage the content of your Contentstack account. This includes creating, updating, deleting, and fetching content of your account.

API host

Additional headers

Array of header strings for early access features.

Authtoken is a user-specific read-write token used to make authorized CMA requests.

Authorization token is a read-write token used to make authorized CMA requests, but it is a user-specific token.

Number of milliseconds before the request times out.

DB region of the stack. You can choose from seven regions: AWS NA, AWS EU, AWS AU, Azure NA, Azure EU, GCP NA, and GCP EU.

## ContentstackClient

The Client serves as the central element of the SDK, providing users with an interface to access and engage with external services. It encapsulates functionality and configuration within a user-friendly API, abstracting away intricate technical aspects. This streamlines the procedure of sending requests and managing responses.

Hostname for API endpoint

A user-specific read-write token for authorization of API requests

Headers to be included in the API requests

A user-specific read-write token for authorization of API requests

DB region for Stack. You can choose from seven regions namely, AWS NA, AWS EU, AWS AU, Azure NA, Azure EU, GCP NA, and GCP EU. The default region is set to NA.

## Region

By default, the SDK uses the North American region. Configuration changes are not required for North American region users.

DB region for Stack. You can choose from seven regions namely, AWS NA, AWS EU, AWS AU, Azure NA, Azure EU, GCP NA and GCP EU. The default region is set to NA.

## User Session

User session consists of calls that will help you to sign in and sign out of your Contentstack account.

## login

The login method allows you to sign in to your Contentstack account.

The email ID of the user

The password of the user

Token generated by user’s authenticator app or received via SMS

## logout

The logout method allows you to sign out of your Contentstack account.

## User

All accounts registered with Contentstack are known as Users. A Stack can have many users with varying permissions and roles.

**Example:**

import contentstack\_management  
client = contentstack\_management.Client(authtoken="auth\_token")  
user = client.user()

## activate

The activate method enables the activation of a user account using the activation token.

The token received at the time of signup or when a user requests an account activation.

## fetch

The fetch method retrieves the information of an existing user account.

## forgot_password

The forgot\_password method sends a request for a temporary password to log in to an account in case a user has forgotten the login password.

The necessary user information for the request, usually comprising the user's email or username.

## reset_password

The reset\_password method sends a request for resetting the password of your Contentstack account.

The necessary user information for the request, usually comprising the user's email or username.

## update

The update method updates the details of an existing user account.

The data that you want to update.

## Organization

[Organization](/docs/developers/organization/about-organizations) is the top-level entity in the hierarchy of Contentstack, consisting of stacks and stack resources, and users. Organization allows easy management of projects as well as users within the Organization.

## add_users

The add\_users method adds users to the organization.

The email address of the user whom you intend to add in the organization.

## fetch

The fetch method retrieves the organization entries.

UID of the organization

## find

The find method searches the organization entries.

## logs

The log method retrieves the organization log entries.

UID of the organization

## roles

The roles method retrieves the organization roles entries.

UID of the organization

## stacks

The stacks method retrieves the organization stacks.

UID of the organization

## transfer_ownership

The transfer\_ownership method transfers the ownership of the organization to another user.

The email address of the user to whom you intend to transfer ownership.

UID of the organization

## Stack

[](/docs/developers/organization/about-organizations)A stack is a repository or a container that holds all the [content](https://www.contentstack.com/docs/content-managers/working-with-entries/about-entries)/[assets](https://www.contentstack.com/docs/content-managers/working-with-assets/about-assets) of your site. It allows multiple users to [create](https://www.contentstack.com/docs/content-managers/working-with-entries/create-an-entry), [edit](https://www.contentstack.com/docs/content-managers/working-with-entries/edit-an-entry), [approve](https://www.contentstack.com/docs/content-managers/use-workflows/send-an-entry-for-publish-or-unpublish-approval), and [publish](https://www.contentstack.com/docs/content-managers/publish-content) their content within a single space.

The stack function initializes an instance of the “Stack”.

## accept_ownership

The accept\_ownership method allows the user to take control of the stack.

UID of the user

The ownership token received via email by another user.

## assets

Assets refer to all the media files (images, videos, PDFs, audio files, and so on) uploaded in your Contentstack repository for future use. The assets method retrieves a specific asset in the stack

UID of the asset

Branch where the asset is added

## auditlog

A auditLog displays a record of all the activities performed in a stack and helps you keep a track of all published items, updates, deletes, and current status of the existing content.

UID of the item

## branch

Branch corresponds to Stack branch.

UID of the branch

## branch_alias

Branch alias corresponds to the alias of that branch.

UID of the alias

## content_types

Content type defines the structure or schema of a page or a section of your web or mobile property.

UID of the content type

## create

The create method creates a new stack.

UID of the organization

The request body.

## create_settings

The create\_settings method creates stack settings

The request body.

## delete

The delete method deletes the stack from the organization.

## environment

The environment method retrieves the details of the environment added in the stack.

Name of the environment

## fetch

The fetch method retrieves the entries from the stack.

## global_fields

Global field defines the structure or schema of a page or a section of your web or mobile property.

UID of the global field

## metadata

Metadata is a piece of information that lets you describe or classify an asset/entry. You can manage your digital entities effectively and facilitate enhanced accessibility with additional metadata.

UID of the metadata

## reset_settings

The reset\_settings method resets the stack settings.

The request body.

## roles

The roles method retrieves the details of the user roles in the stack.

UID of the user role

## settings

The settings method retrieves the settings of the stack.

## share

The share method shares the stack with the users.

The request body

## transfer_ownership

The transfer\_ownership method transfers the ownership of the stack to another user.

The request body

## unshare

The unshare method removes access to a stack from users who have specific user roles.

The request body

## update

The update method updates the stack entries.

The request body

## update_user_roles

The update\_user\_roles method updates all the user roles of the stack.

The request body

## users

The users method retrieves the details of all the users of a stack.

## webhooks

A Webhook is a mechanism that sends real-time information to any third-party app or service to keep your application in sync with your Contentstack account.

UID of the webhook

## workflows

A Workflow is a tool that allows you to streamline the process of content creation and publishing, and lets you manage the content lifecycle of your project smoothly.

UID of the workflow

## Content Types

[Content Type](/docs/developers/create-content-types/about-content-types) defines the structure or schema of a page or a section of your web or mobile property. To create content for your application, you are required to first create a content type, and then create entries using the content type.

## create

The create method creates a new content type in a particular stack.

The request body

## delete

The delete method deletes an existing content type in a particular stack

UID of the content type

## entry

The entry method retrieves the details of a particular entry in the content type.

UID of the entry

## export

The export method exports a specific content type and its schema.

UID of the content type

## fetch

The fetch method retrieves the details of a specific content type.

UID of the content type

## find

The find method retrieves the details of all content types.

## imports

The imports method imports the content type into the stack by uploading a JSON file.

UID of the content type

File path of the content type to be uploaded

## references

The references method retrieves the details of the content types in which a specific content type is referred.

## set_field_visibility_rules

The set\_field\_visibility\_rules method lets you add the field visibility rules to an existing content type.

UID of the content type

The Request body

## update

The update method updates the schema of an existing content type

UID of the content type

The Request body

## Global Fields

[Global Fields](/docs/developers/global-field/about-global-field) define the reusable content structure across different parts of your website or mobile application. To start using Global Fields, you must first create its instance in the stack.

To use [Nested Global Fields](/docs/developers/global-field/about-global-field#nested-global-fields), pass **API Version 3.2** as a parameter when calling global\_fields() function. You can specify the API version in one of the following ways:

*   Passing options directly:  
    
    import contentstack\_management
    client = contentstack\_management.Client(authtoken='auth\_token')
    response = client.stack('api\_key').global\_fields(options={"api\_version": "3.2"}).create(data)
    
*   Targeting a specific global field by UID with options:
    
    import contentstack\_management
    client = contentstack\_management.Client(authtoken='auth\_token')
    response = client.stack('api\_key').global\_fields("uid", options={"api\_version": "3.2"}).fetch()

## create

The create method creates a new global field in a particular stack.

The request body

## delete

The delete method deletes an existing global field from a particular stack.

UID of the global field

## export

The export method exports the existing global fields from a particular stack.

## fetch

The fetch method retrieves the details of a specific global field from a particular stack.

UID of the global field

## find

The find method retrieves the details of all global fields from a particular stack.

## imports

The imports method imports the global field into a particular stack.

UID of the global field

File path of the global field to be imported

## update

The update method updates the details of an existing global field.

UID of the global field

The Request body

## Entry

An entry is the actual piece of content created using one of the defined content types. Read more about [Entries](https://www.contentstack.com/docs/content-managers/author-content/about-entries).

## create

The create method creates a new entry for the selected content type in a particular stack.

The content of the new entry that you want to create.

## delete

The delete method deletes an existing entry for the selected content type in a particular stack.

UID of the entry

## export

The export method exports an existing entry in a JSON format.

UID of the entry

## fetch

The fetch method retrieves the details of an existing entry.

UID of the entry

## find

The find method retrieves the details of all existing entries.

## addParam

The addParam method adds a parameter to the request.

Query parameter key for the request

Query parameter value for the request

## addParam with Dictionary

The addParam with Dictionary method adds multiple parameters to the request.

Query parameter dictionary for the request

## addHeader

The addHeader method adds a header to the request.

Header key for the request

Header value for the request

## addHeader with Dictionary

The addHeader with Dictionary method adds multiple headers to the request.

Query parameter dictionary for the request

## import

The import method imports the entries in the JSON.

UID of the entry

The file path of the file you want to import

The language for the entry. Set to en-us by default

## language

The languages method retrieves the details of all the languages that an entry exists in.

UID of the entry

## publish

The publish method allows you to publish an entry for a specified environment either immediately or schedule it for a later date/time.

The data you want to publish

## localize

The localize method will allow you to localize an entry, i.e., the entry will cease to retrieve the data from the fallback language and possess an independent content specific to the selected locale.

Fields and values that you want to add or update for the specified locale

The language for the entry. Set to en-us by default

## references

The references method retrieves the details of all the entries referenced by a particular entry.

UID of the entry

## unlocalize

The unlocalize method will allow you to unlocalize an existing entry, i.e., the entry will retrieve the data from the fallback language.

The language for the entry. Set to en-us by default.

## unpublish

The unpublish method allows you to unpublish an entry for a specified environment either immediately or schedule it for a later date/time.

The content type UID and any additional data required for the unpublishing process

## update

The update method allows you to make changes in the contents of an existing entry.

The content type UID and any additional data required for the unpublishing process

The language for the entry. Set to en-us by default.

## version_naming

The version\_naming method allows you to assign a name to a specific version of an entry.

The information you want to send to the server

The identifier to a specific version of an entry.

## Asset

[](/docs/developers/organization/about-organizations)[Assets](https://www.contentstack.com/docs/content-managers/author-content/about-assets) refer to all the media files (images, videos, PDFs, audio files, and so on) uploaded in your Contentstack repository for future use. These files can be attached and used in multiple entries.

## create_folder

The create\_folder method creates a new asset folder and/or adds a parent folder to it in a particular stack.

The data you want to send to the server when creating a folder.

## delete_folder

The delete\_folder method removes an existing asset folder along with all the assets within that folder.

The UID of the folder you want to delete

## delete

The delete method removes an existing asset from the stack.

UID of the asset

## download

The download method lets you save the specific asset in your local storage.

UID of the asset

## fetch

The fetch method retrieves the details of a specific version of a particular asset

UID of the asset

## find

The find method retrieves the details of all assets in a stack.

## folder

The folder method retrieves the details of a specific asset folder in the stack using the folder UID.

UID of the folder

## folder_by_name

The folder\_by\_name method retrieves the details of a specific asset folder in the stack using the folder name.

The search query for the folder

## generate

The generate method allows you to generate a permanent asset URL for the specific asset.

The data to be sent in the request body

## get_subfolders

The get\_subfolders method retrieves the details of only the subfolder within a specific asset folder in the stack.

The UID of the folder

The search query for the folder

## publish

The publish method allows you to publish a specific version of the asset on the required environment either immediately or at a later time/date.

The data that you want to publish.

## references

The references method retrieves the details of the entries and content types in which a specific asset is referenced.

UID of the asset

## replace

The replace method allows you to replace an existing asset with another file in the stack.

The path to the file that you want to replace the existing asset with.

## rte

The rte method retrieves the details of all the assets uploaded through the [Rich Text Editor](https://www.contentstack.com/docs/developers/create-content-types/rich-text-editor) field.

## specific_asset_type

The specific\_asset\_type method retrieves the assets based on the query request.

The type of asset you want to retrieve

## specific_folder

The specific\_folder method retrieves the details of assets of a specific asset folder without the subfolders in the requested parent folder.

UID of the folder

## subfolder

The subfolder method retrieves the details of assets and subfolders of a specific parent folder.

UID of the folder

## unpublish

The unpublish method allows you to unpublish a specific version of an asset from a desired environment.

The data you want to send to server for the unpublish operation

## update

The update method allows you to make changes in the title and description of an existing asset in the stack.

The updated information for the asset

## update_asset_revision

The update\_asset\_revision method upgrades the specified version of the asset to the latest version.

The updated information for the asset

## update_or_move

The update\_or\_move method allows you to either update the details of a folder or set the folder as a parent folder if you want to move a folder under another folder.

UID of the folder

The request body

## upload

The upload method allows you to upload an asset file in the stack.

The path to the file you want to upload

## version

The version method retrieves the details of all versions of an asset.

UID of the asset

## version_delete

The version\_delete method allows you to remove the name of a specific version of an asset and resets it to the version number.

The version of the asset you want to delete

## version_naming

The version\_naming method allows you to assign a name to a specific version of an asset.

The information you want to update for the specified version

The version of the asset you want to delete

## Alias

An [alias](/docs/developers/branches/about-aliases) acts as a pointer to a particular branch. You can specify the alias ID in your frontend code to pull content from the target branch associated with an alias.

## assign

The assign method creates a new alias in a particular stack of the organization.

The data you want to send to the server when creating a folder.

## delete

The delete method removes an alias permanently from the stack

UID of the branch

## fetch

The fetch method retrieves the details of a particular alias.

UID of the alias

## find

The find method retrieves the details of all aliases available in the particular stack.

A limit on the number of objects to return

The number of objects to skip before return

To retrieve the count of results in response

## Audit log

[](/docs/developers/organization/about-organizations)[](https://www.contentstack.com/docs/content-managers/author-content/about-assets)Audit log displays a record of all the activities performed in a stack and helps you keep a track of all published items, updates, deletes, and current status of the existing content.

## fetch

The fetch method retrieves a specific item from the audit log of the stack

UID of the item to be retrieved

## find

The find method retrieves the complete audit log of the stack

## Branches

[Branches](/docs/developers/branches/about-branches) efficiently present independent workspaces where developers and content managers can work parallelly on content models and content. It helps sync the development activities of websites.

## create

The create method creates a new branch in a particular stack of your organization.

Data required to create a new branch

## delete

The delete method removes an existing branch from a particular stack of your organization.

UID of the branch

## fetch

The fetch method retrieves the details of a specific branch.

UID of the branch

## find

The find method retrieves the details of all the branches in a particular branch.

A limit on the number of objects to return

The number of objects to skip before return

To retrieve the count of results in response

## Bulk Operations

Perform [bulk operations](/docs/content-managers/bulk-operations-on-entries-and-assets), such as publish, unpublish, delete, or move, on entries and assets in a single action.

## delete

The Delete entries and assets in bulk request allows you to delete multiple entries and assets at the same time.

The request body

## publish

The Publish entries and assets in bulk method allows you to publish multiple entries and assets at the same time.

The request body

## unpublish

The Unpublish entries and assets in bulk method allows you to unpublish multiple entries and assets at the same time.

The request body

## update

The update method allows you to make changes in the existing entries/assets in the stack.

The request body

## add_items

The add\_items method adds multiple entries and assets to a specified release for bulk publishing and coordinated deployment.

Data required to add the entries

## update_items

The update\_items method updates all release items (entries and assets) to their latest versions before deployment, ensuring the most current content is published.

Data required to update the items

## job_status

The job\_status method retrieves the current status of a bulk job, including detailed progress and nested reference publishing metadata.

UID of the bulk operation of job

## Delivery Token

[Delivery Tokens](https://www.contentstack.com/docs/developers/create-tokens/about-delivery-tokens) are tokens that provide you with read-only access to the associated environments. It is a credential used along with the stack API key to make authorized Content Delivery API requests for retrieving the published content of an environment.

## create

The create method allows you to create a new delivery token in the stack.

Data you want to send in the request body

## delete

The delete method removes the existing delivery token from the stack.

UID of the delivery token

## fetch

The fetch method retrieves the details of a specific delivery token from the stack.

UID of the delivery token

## find

The find method retrieves the details of all the delivery tokens created in the stack.

## update

The update method allows you to make changes in the existing delivery token in the stack.

The updated information for the delivery token

## Environment

An [environment](/docs/developers/set-up-environments/about-environments) allows users to publish their content on the destination URL. After you create an entry, you will publish it in an environment. After publishing, you will see the content on your website’s URL (specified in the environment). Being not limited to a single environment, you can publish content on multiple environments too.

## create

The create method adds a new publishing environment in your stack.

Data required to create a new environment

## delete

The delete method removes an existing environment from a particular stack of your organization.

Name of the environment you want to delete

## fetch

The fetch method retrieves the details of a specific environment from the stack.

Name of the environment you want to fetch

## find

The find method retrieves the details of all the environments in a particular stack.

## update

The update method allows you to make changes in the existing environment for a stack.

The updated information for the environment

## Extensions

Extensions typically refer to additional functionalities, customizations, or integrations that developers can add to a content management system. Contentstack provides a variety of extensions to enhance your functionality such as [Dashboard Extensions](https://www.contentstack.com/docs/developers/create-dashboard-extensions/about-dashboard-extensions), [Asset Sidebar Extensions](https://www.contentstack.com/docs/developers/create-asset-sidebar-extensions/about-asset-sidebar-extensions), [Sidebar Extensions](https://www.contentstack.com/docs/developers/create-sidebar-extensions/about-sidebar-extensions), [Experience Extensions](https://www.contentstack.com/docs/developers/experience-extensions-overview/about-experience-extensions).

## create

The create method adds a new extension in a particular stack of your Contentstack account.

Data required to create a new extension

## delete

The Delete method removes an extension permanently from your stack.

UID of the extension

## fetch

The fetch method retrieves information about the specified extension.

UID of the extension

## find

The find method retrieves the data about all extensions in the stack.

## update

The update method allows you to make changes in the existing extensions in the stack.

The request body

## upload

The upload method is used to upload a new extension to your stack.

The request body

## Management Token

[Management Tokens](https://www.contentstack.com/docs/developers/create-tokens/about-management-tokens) are tokens that provide you with read-write access to the content of your stack. It is a credential used along with the stack API key to make authorized Content Management API (CMA) requests for managing content of your stack.

## create

The create method allows you to create a new management token in the stack.

Data you want to send in the request body

## delete

The delete method removes the existing management token from the stack.

UID of the management token

## fetch

The fetch method retrieves the details of a specific management token from the stack.

UID of the management token

## find

The find method retrieves the details of all the management tokens created in the stack.

UID of the management token

## update

The update method allows you to make changes in the existing management token in the stack.

The updated information for the management token

## Metadata

Metadata is a piece of information that lets you describe or classify an asset/entry.

## create

The create method allows you to create a new metadata for a specific entry or asset.

Data you want to send in the request body

## delete

The delete method removes the metadata associated with a specific entry or asset.

UID of the metadata

## fetch

The fetch method retrieves the details of the metadata attached to a specific asset or entry of a stack.

UID of the metadata

## find

The find method retrieves the details of all the metadata attached to all the entries and assets in your stack.

## publish

The publish method allows you to publish the metadata associated with a specific entry or asset.

UID of the metadata

## unpublish

The unpublish method allows you to unpublish the metadata associated with a specific entry or asset.

UID of the metadata

## update

The update method allows you to make changes in the metadata for a specific entry or asset.

The updated information for the metadata

## Publish Queue

When the Content Manager publishes an entry and/or asset, the system puts the action into a [publish queue](https://www.contentstack.com/docs/content-managers/publish-content/view-publish-status-of-entries-assets-in-publish-queue). Publish/unpublish activities in this queue are performed one at a time, almost at a high speed. This eliminates the need to wait for an entry to be published before moving on to the next item. You can keep publishing items and let the system manage the queue.

## cancel

The “Cancel Scheduled Action” method allows you to cancel any scheduled publishing or unpublishing activity of entries and/or assets and cancel the deployment of releases.

Data you want to send in the request body

## fetch

The fetch method retrieves comprehensive information on a specific publish, unpublish, or delete action performed on an entry and/or asset. You can also retrieve details of a specific release deployment.

UID of the publish queue

## find

The find method retrieves comprehensive information on activities such as publish, unpublish, and delete performed on entries and/or assets. This request also includes the details of the release deployments in the response body.

UID of the publish queue

## Release Items

Release items are the entries or assets that you intend to publish on your website and have included in a scheduled [release](https://www.contentstack.com/docs/content-managers/create-and-manage-releases/about-releases).

## create

The create method allows you to add a new item in the scheduled release.

Data you want to send in the request body

## create_multiple

The create method allows you to add multiple new items in the scheduled release.

Data you want to send in the request body

## delete

The delete method removes an item from the specific release.

The request body

UID of the release

## delete_multiple

The delete\_multiple method removes one or more items from the specific release.

The request body

UID of the release

## find

The find method retrieves the details of all the items that are a part of the specific release.

## update

The update method allows you to update the items in the specific release to their latest version before deployment.

The updated information for the Release Item

UID of the item

## move

The move method transfers entries or assets from one release to another, preserving locale and variant information.

Data required to assign the move the items

## Release

You can define a “[Release](https://www.contentstack.com/docs/content-managers/create-and-manage-releases/about-releases)” as a set of entries and assets that needs to be deployed (published or unpublished) all at once to a particular environment.

## clone

The clone method allows you to make a copy of a specific release in the stack.

Data you want to send in the request body

## create

The create method allows you to create a new release in your stack. To add entries/assets to a release, you need to provide the UIDs of the entries/assets in items in the request body.

Data you want to send in the request body

## delete

The delete method removes a specific release from your stack.

UID of the release

## deploy

The deploy method will publish/unpublish all the items of the release to the specified environment.

Data you want to send in the request body

## fetch

The fetch method retrieves the details of a specific release from the stack.

UID of the release

## find

The find method retrieves the details of all the releases in the stack.

## update

The update method allows you to update the details of a Release.

The updated information for the Release

UID of the release

## Roles

A [role](/docs/developers/invite-users-and-assign-roles/types-of-roles) is a collection of permissions that will be applicable to all the users who are assigned this role.

## create

The create method adds a new role in your stack.

Data required to create a new role

## delete

The delete method removes an existing role from a particular stack of your organization.

UID of the role

## fetch

The fetch method retrieves the details of a specific role from the stack.

UID of the role

## find

The find method retrieves the details of all the environments in a particular stack.

## update

The update method allows you to make changes in the existing role of your stack.

The updated information for the role

## Webhooks

A [webhook](/docs/developers/set-up-webhooks/about-webhooks) is a mechanism that sends real-time information to any third-party app or service to keep your application in sync with your Contentstack account. Webhooks allow you to specify a URL to which you would like Contentstack to post data when an event happens.

## create

The create method creates a new webhook in a specific stack.

Data required to create a new webhook

## delete

The delete method removes an existing webhook from the stack permanently.

UID of the webhook

## executions

The execution method retrieves the execution details of a specific webhook, which includes the execution UID.

UID of the webhook execution

## export

The export method exports an existing webhook to a downloadable JSON file.

UID of the webhook

## fetch

The fetch method retrieves the details of a specific webhook.

UID of the webhook

## find

The find method retrieves the details of all the webhooks available in the stack.

## import

The import method imports an existing webhook by uploading a JSON file.

The path of the file to be uploaded

## logs

The logs method retrieves the latest execution log of the webhooks.

UID of the execution

## retry

The retry method makes a manual attempt to execute a webhook after the automatic attempts are exhausted.

UID of the execution

## update

The update method allows you to update the details of an existing webhook in the stack.

The updated data of the webhook

## Workflows

[Workflow](/docs/developers/set-up-workflows-and-publish-rules/about-workflows) is a tool that allows you to streamline the process of content creation and publishing, and lets you manage the content lifecycle of your project smoothly.

## create

The create method creates a new workflow in a specific stack.

Data required to create a new workflow

## create_publish_rule

The create\_publish\_rule method creates a new rule for the workflow in a specific stack.

Data required to create a new publish rule for the workflow

## delete

The delete method removes an existing workflow from a specific stack.

UID of the workflow

## delete_publish_rule

The delete\_publish\_rule method removes an existing publish rule for the workflow in a specific stack.

UID of the publishing rule

## disable

The disable method allows you to disable a workflow.

UID of the workflow

## enable

The enable method allows you to enable a workflow.

UID of the workflow

## fetch

The fetch method retrieves the details of a single workflow from the stack.

UID of the workflow

## fetch_publish_rule

The fetch\_publish\_rule method retrieves the details of a specific publish rule from the stack.

UID of the publishing rule

## fetch_publish_rule_content_type

The fetch\_publish\_rule\_content\_type method retrieves the details of publish rules applied to a specific content type.

UID of the content type

## fetch_publish_rules

The fetch\_publish\_rules method retrieves the details of all publish rules from the stack.

## fetch_tasks

The fetch\_tasks method retrieves the details of all tasks assigned to you.

## find

The find method retrieves the details of all workflows in the stack.

## publish_request_approval

The publish\_request\_approval method allows you to either send a publish request or accept/reject a publish request.

UID of the content type

UID of the entry

## set_workflow_stage

The set\_workflow\_stage method allows you to either set a workflow stage of an entry or update an already existing one.

UID of the content type

UID of the entry

The data required to set the workflow stage for a specific entry

## update

The update method allows you to add a workflow stage or update the details of the existing stages of a workflow.

The data required to update the workflow stage for a specific entry

UID of the workflow

## update_publish_rule

The update\_publish\_rule method allows you to add a publish rule or update the details of an existing publish rule of a workflow.

The data required to update the workflow stage for a specific entry

UID of the rule

## Labels

Labels allow you to group a collection of content within a stack. Using labels you can group content types that need to work together. Read more about [Labels](/docs/developers/create-content-types/about-labels).

## find

The find method retrieves all the existing labels of the stack.

## fetch

The fetch method retrieves information about a particular label of a stack.

UID of the Label

## create

The Create method creates a new label.

Data required to create a new label

## update

The Update method is used to update an existing label.

The updated data of the label

UID of the label

## Delete

The Delete method is used to remove a specific label from the stack.

UID of the label

## Locale

Contentstack has a sophisticated, multilingual capability. It allows you to create and publish entries in any [language](/docs/developers/multilingual-content/about-languages). This feature allows you to set up multilingual websites and cater to a wide variety of audiences by serving content in their local language(s).

## find

The find method retrieves the list of all languages (along with the language codes) available for a stack.

## fetch

The fetch method retrieves information about a specific language available on the stack.

Code of the specific language

## create

The create method lets you add a new language to your stack. You can either add a supported language or a custom language of your choice.

Data required to create a new locale

## update

The update method lets you update the details (such as display name) and the fallback language of an existing language of your stack.

The updated data of the locale

Code of the specific language

## Delete

The delete method removes an existing language from your stack.

Code of the specific language

## Set_fallback

The Set\_fallback method allows you to assign a [fallback language](/docs/developers/multilingual-content/about-fallback-languages) for an entry in a particular language.

Data required to assign the fallback language

## Update_fallback

The Update\_fallback method allows you to update the fallback language for an existing language of your stack.

Data required to assign the fallback language

Code of the specific language

## Taxonomy

Taxonomy helps you categorize pieces of content within your stack to facilitate easy navigation, search, and retrieval of information. You can hierarchically organize your web properties based on your requirements, such as their purpose, target audience, or any other aspects of your business.

**Note:** The Taxonomy feature is currently released as part of an Early Access program and may not be available to all users. For more information, you can reach out to our [support](<mailto: support@contentstack.com>) team.

## create

The create method lets you add a new taxonomy to your stack.

The data to be sent in the request body

## delete

The delete method lets you remove an existing taxonomy from your stack.

UID of the taxonomy

## fetch

The fetch method lets you retrieve information about a specific taxonomy in your stack.

UID of the taxonomy

## find

The find method lets you retrieves the list of all the taxonomies in your stack.

## update

The update method lets you update the details of an existing taxonomy in your stack.

The request body to be sent in the call

## Terms

Terms serve as the primary classification elements within a taxonomy, allowing you to establish hierarchical structures and incorporate them into entries.

**Note:** The Terms feature is currently released as part of an Early Access program and may not be available to all users. For more information, you can reach out to our [support](<mailto: support@contentstack.com>) team.

## ancestors

The ancestors method retrieves information about a specific term in the taxonomy.

UID of the term

## create

The create method lets you create a new term to your taxonomy.

The request body to be sent in the call.

## delete

The delete method lets you remove an existing term from your taxonomy.

UID of the term

## descendants

The descendants method retrieves the information about a specific term in your taxonomy.

UID of the term

## fetch

The fetch method retrieves the information about a specific taxonomy in your stack.

UID of the term

## find

The find method retrieves the list of all terms available for a taxonomy.

UID of the term

## move

The move method lets you update the details of a specific term in the taxonomy.

UID of the term

The request body to be sent in the call.

## search

The search method retrieves the information about specified terms in the taxonomy.

The string of UIDs of the terms you want to search for.

## update

The update method updates a resource with the given data and terms UID.

UID of the term.

The data to be sent in the request body