# Tencent Cloud Decentralized Identity API

> Tencent Cloud Decentralized Identity API on Apizie: 18 endpoints (Create Disclosed Credential, Create Presentation, Create TDid By Host, Create TDid By Pub Key, …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://zieapi.vercel.app/v1/cloud:tencent-tdid/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `cloud:tencent-tdid`
- Category: Cloud
- Status: byok
- Source: https://www.tencentcloud.com/document/api
- Page: https://zieapi.vercel.app/api/cloud/tencent-tdid
- OpenAPI: https://zieapi.vercel.app/api/cloud/tencent-tdid/openapi.json

Tencent Cloud API 3.0 for Decentralized Identity (tdid). Every call is signed with TC3-HMAC-SHA256 using your SecretId and SecretKey.

## Endpoints

### Create Disclosed Credential
`POST https://zieapi.vercel.app/v1/cloud:tencent-tdid/create-disclosed-credential` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| PolicyId | integer | no |  |
| CredentialData | string | no |  |
| PolicyJson | string | no |  |
| DAPId | integer | no |  |
| UAPId | integer | no |  |

### Create Presentation
`POST https://zieapi.vercel.app/v1/cloud:tencent-tdid/create-presentation` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| DAPId | integer | no |  |
| UAPId | integer | no |  |
| Credentials | array | no |  |
| Did | string | no |  |
| VerifyCode | string | no |  |
| PolicyJson | string | no |  |
| Unsigned | boolean | no |  |
| CredentialList | array | no |  |

### Create TDid By Host
`POST https://zieapi.vercel.app/v1/cloud:tencent-tdid/create-tdid-by-host` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| DAPId | integer | no |  |
| CustomAttribute | string | no |  |

### Create TDid By Pub Key
`POST https://zieapi.vercel.app/v1/cloud:tencent-tdid/create-tdid-by-pub-key` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| DAPId | integer | no |  |
| PublicKey | string | no |  |
| CustomAttribute | string | no |  |
| IgnoreExisted | integer | no |  |

### Deactivate TDid
`POST https://zieapi.vercel.app/v1/cloud:tencent-tdid/deactivate-tdid` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Did | string | no |  |
| OperateCredential | string | no |  |
| DAPId | integer | no |  |
| Deactivated | string | no |  |

### Get App Summary
`POST https://zieapi.vercel.app/v1/cloud:tencent-tdid/get-app-summary` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| DAPId | integer | no |  |

### Get Credential State
`POST https://zieapi.vercel.app/v1/cloud:tencent-tdid/get-credential-state` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| CredentialId | string | no |  |
| DAPId | integer | no |  |

### Get Over Summary
`POST https://zieapi.vercel.app/v1/cloud:tencent-tdid/get-over-summary` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |

### Get TDid By Object Id
`POST https://zieapi.vercel.app/v1/cloud:tencent-tdid/get-tdid-by-object-id` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| ObjectId | string | no |  |
| DAPId | integer | no |  |

### Get TDid Document
`POST https://zieapi.vercel.app/v1/cloud:tencent-tdid/get-tdid-document` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Did | string | no |  |
| DAPId | integer | no |  |

### Get TDid Pub Key
`POST https://zieapi.vercel.app/v1/cloud:tencent-tdid/get-tdid-pub-key` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Did | string | no |  |
| DAPId | integer | no |  |

### Issue Credential
`POST https://zieapi.vercel.app/v1/cloud:tencent-tdid/issue-credential` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| CRDLArg | object | no |  |
| UnSigned | boolean | no |  |
| DAPId | integer | no |  |

### Query Authority Info
`POST https://zieapi.vercel.app/v1/cloud:tencent-tdid/query-authority-info` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Did | string | no |  |
| DAPId | integer | no |  |
| Name | string | no |  |

### Query CPT
`POST https://zieapi.vercel.app/v1/cloud:tencent-tdid/query-cpt` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| DAPId | integer | no |  |
| CPTId | integer | no |  |

### Set TDid Attribute
`POST https://zieapi.vercel.app/v1/cloud:tencent-tdid/set-tdid-attribute` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Did | string | no |  |
| Attributes | array | no |  |
| DAPId | integer | no |  |
| OperateCredential | string | no |  |

### Update Credential State
`POST https://zieapi.vercel.app/v1/cloud:tencent-tdid/update-credential-state` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| DAPId | integer | no |  |
| OperateCredential | string | no |  |
| OriginCredential | string | no |  |
| CredentialStatus | object | no |  |

### Verify Credentials
`POST https://zieapi.vercel.app/v1/cloud:tencent-tdid/verify-credentials` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| VerifyType | integer | no |  |
| CredentialData | string | no |  |
| DAPId | integer | no |  |

### Verify Presentation
`POST https://zieapi.vercel.app/v1/cloud:tencent-tdid/verify-presentation` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Did | string | no |  |
| PresentationData | string | no |  |
| DAPId | integer | no |  |
| VerifyCode | string | no |  |

## Example
```
curl "https://zieapi.vercel.app/v1/cloud:tencent-tdid/create-disclosed-credential" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Tencent Cloud Decentralized Identity API?
Create a free Apizie key, then send POST https://zieapi.vercel.app/v1/cloud:tencent-tdid/create-disclosed-credential with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Tencent Cloud Decentralized Identity API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Tencent Cloud Decentralized Identity itself also needs your own key from tencentcloudapi.com.

### Can AI agents use the Tencent Cloud Decentralized Identity API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key cloud:tencent-tdid.

### What is the status of the Tencent Cloud Decentralized Identity API?
Needs your own provider key (bring your own key)
