---
title: "Contentstack"
description: "Contentstack"
url: "https://www.contentstack.com/docs/developers/sdks/content-management-sdk/python/reference/contentstack"
product: "Contentstack"
doc_type: "guide"
audience:
  - developers
  - admins
version: "current"
last_updated: "2026-09-20"
---

# Contentstack

## 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.

```
Client Initialization
import contentstack_management
client = contentstack_management.Client()


Set the `host` to 'api.contentstack.io'
import contentstack_management
client = contentstack_management.Client(host: 'api.contentstack.io' )


Set the `headers` to { 'headerkey': 'value'}
import contentstack_management
client = contentstack_management.Client( headers: { 'headerkey': 'value'} )


Set the Early Access Headers
import contentstack_management
client = contentstack_management.Client(early_access: ['early_access_1', 'early_access_2'])
)


Set the `authtoken`
import contentstack_management
client = contentstack_management.Client( authtoken: 'value' )


Set the `authorization`
import contentstack_management
client = contentstack_management.Client( management_token: Management  token' )


Set the `timeout` to 50000ms
import contentstack_management
client = contentstack_management.Client( timeout: 50000 )
```

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.

```
import contentstack_management
client = contentstack_management.Client()
```

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.

```
import contentstack_management
client = contentstack_management.Client(region="eu")
```

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.

## Contentstack | Python Management SDK | Contentstack

Contentstack is the CMA client for creating, updating, deleting, and fetching account content, in the Python Management SDK.