The QueryTemplateList API queries custom templates. This API can be used to query details about transcoding templates using custom template IDs.

Request parameters

Parameters Type Required or not Description
Action String Yes API of the action, system required parameter. Value: QueryTemplateList
TemplateIds String Yes List of template IDs separated by commas (,).

A maximum of 10 template IDs can be entered.

Response parameters

Parameter Type Description
TemplateList AliyunTemplate[ ] List of transcoding templates.
NonExistTids String[ ] List of non-existing transcoding templates. If no data exists, this structure is not returned.


Request example<Public parameter>

Response example

    <TemplateList list="true">
                <Codec>H. 264</Codec>
        </Template >
     "TemplateList": {
            "Template": [{
                "Id": "88c6ca184c0e47098a5b665e2a126799",
                "Name": "MTS-example",
                "Container": {
                    "Format": "mp4"
                "Video": {
                    "Codec": "H. 264",
                    "Profile": "high",
                    "Bitrate": "500",
                    "Crf": "Auto",
                    "Width": "256",
                    "Height": "800",
                    "Fps": "25",
                    "Gop": "10",
                    "Preset": "lower",
                    "ScanMode": "",
                    "Bufsize": "6000",
                    "Maxrate": "500",
                "Audio": {
                    "Codec": "AAC",
                    " Samplerate": "44100",
                    "Bitrate": "Auto",
                    "Channels": "Auto"
                "State": "Normal"