tencent cloud

ApplyEmbedInterval
Last updated: 2025-11-13 21:02:43
ApplyEmbedInterval
Last updated: 2025-11-13 21:02:43

1. API Description

Domain name for API request: bi.intl.tencentcloudapi.com.

This API is used to extend the available time of a token with strong authentication.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: ApplyEmbedInterval.
Version Yes String Common Params. The value used for this API: 2022-01-05.
Region No String Common Params. This parameter is not required.
ProjectId No Integer Shares the project ID. Required.
PageId No Integer Shares the page ID. This field is empty (0) for embedding a dashboard and is not passed for embedding ChatBI.
BIToken No String Token requiring extension.
ExtraParam No String Alternate field.
Intention No String embed: page/dashboard embedding.
chatBIEmbed: ChatBI embedding.
Scope No String panel: dashboard; page: page.
project, during ChatBI embedding.

3. Output Parameters

Parameter Name Type Description
ErrorInfo ErrorInfo Custom error information object.
Note: This field may return null, indicating that no valid values can be obtained.
Extra String Additional parameters.
Note: This field may return null, indicating that no valid values can be obtained.
Data ApplyEmbedTokenInfo Result data.
Note: This field may return null, indicating that no valid values can be obtained.
Msg String Result description.
Note: This field may return null, indicating that no valid values can be obtained.
RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

4. Example

Example1 Requesting Token Extension

Input Example

POST / HTTP/1.1
Host: bi.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ApplyEmbedInterval
<Common request parameters>

{
    "Intention": "embed",
    "Scope": "page",
    "BIToken": "246cbf0d-aa6c-445d-895d-b368f59159e8",
    "ExtraParam": "",
    "PageId": "1",
    "ProjectId": "2"
}

Output Example

{
    "Response": {
        "Msg": "success",
        "RequestId": "e60a2172-715b-4305-beb2-40792ae53856",
        "Extra": "",
        "Data": {
            "Result": true
        }
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Error Code Description
AuthFailure CAM signature/authentication error.
FailedOperation Operation failed.
InternalError Internal error.
InternalError.Internal Internal error.
InvalidParameter Parameter error.
InvalidParameter.Embed Report embedding error.
InvalidParameterValue Parameter value error.
MissingParameter Parameters are missing.
MissingParameter.MissingParam The required parameter is missing.
OperationDenied Operation denied.
RequestLimitExceeded Too many and frequent requests.
UnauthorizedOperation Unauthorized operation.
UnauthorizedOperation.Authorize Permission error.
UnknownParameter Unknown parameter error.
UnsupportedOperation The operation is not supported.
UnsupportedOperation.BIError Default business exception.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback