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

# Tokens

## Tokens

Contentstack provides different types of tokens to authorize API requests.

## deliveryTokens

You can use Delivery Tokens to authenticate Content Delivery API (CDA) requests and retrieve the published content of an environment.

```
import contentstack;
Contentstack contentstack = new Contentstack.Builder().build();
DeliveryToken deliveryToken = contentstack.stack();
Call<ResponseBody> response = deliveryToken.deliveryTokens("tokenUid").execute();
if (response.isSuccessful) {
    System.out.println("Response" + response);
}
```

The UID of the token that you want to retrieve.

## managementToken

To authenticate Content Management API (CMA) requests over your stack content, you can use Management Tokens.

```
import contentstack;
Contentstack contentstack = new Contentstack.Builder().build();
ManagementToken managementToken = contentstack.stack();
Call<ResponseBody> response = managementToken.managementToken("managementTokenUid").execute();
if (response.isSuccessful) {
    System.out.println("Response" + response);
}
```

The managementTokenUid.

## Tokens | Java Management SDK | Contentstack

Tokens represents the various token types Contentstack uses to authorize and authenticate Content Management API requests.