{
  "info": {
    "_postman_id": "b9ccde51-0920-406f-848f-da31bab6c59d",
    "name": "ThingsBoard Admin admin-controller device-connectivity-controller API",
    "description": "ThingsBoard Admin API \u2014 subset of the ThingsBoard REST API (open-source IoT platform). Covers: Admin, Audit Log, Event, Usage Info, Queue, Queue Stats, Mail Config Template, Qr Code Settings, Job.\n\nContact Support:\n Name: ThingsBoard team\n Email: info@thingsboard.io",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T03:12:12.000Z",
    "updatedAt": "2026-07-28T03:12:13.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-b9ccde51-0920-406f-848f-da31bab6c59d"
  },
  "item": [
    {
      "name": "api",
      "item": [
        {
          "name": "device-connectivity",
          "item": [
            {
              "name": "{protocol}",
              "item": [
                {
                  "name": "certificate",
                  "item": [
                    {
                      "name": "download",
                      "item": [
                        {
                          "name": "Download Server Certificate Using File Path Defined in Device.connectivity Properties (downloadServerCertificate)",
                          "id": "07766d03-25aa-4a7f-ae27-e52a5387353a",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/api/device-connectivity/:protocol/certificate/download",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "api",
                                "device-connectivity",
                                ":protocol",
                                "certificate",
                                "download"
                              ],
                              "variable": [
                                {
                                  "id": "6c37f039-545b-4a8f-8b8b-bb17c2e2aeb0",
                                  "key": "protocol",
                                  "value": "<string>",
                                  "description": "(Required) A string value representing the device connectivity protocol. Possible values: 'mqtt', 'mqtts', 'http', 'https', 'coap', 'coaps'"
                                }
                              ]
                            },
                            "description": "Download server certificate."
                          },
                          "response": [
                            {
                              "id": "fd7d9766-6a9c-4904-ae88-34859e8188c5",
                              "name": "OK",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/api/device-connectivity/:protocol/certificate/download",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "api",
                                    "device-connectivity",
                                    ":protocol",
                                    "certificate",
                                    "download"
                                  ],
                                  "variable": [
                                    {
                                      "key": "protocol"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "<binary>",
                              "createdAt": "2026-07-28T03:12:13.000Z",
                              "updatedAt": "2026-07-28T03:12:13.000Z",
                              "uid": "35240-fd7d9766-6a9c-4904-ae88-34859e8188c5"
                            }
                          ],
                          "createdAt": "2026-07-28T03:12:13.000Z",
                          "updatedAt": "2026-07-28T03:12:13.000Z",
                          "uid": "35240-07766d03-25aa-4a7f-ae27-e52a5387353a"
                        }
                      ],
                      "id": "5b77ee36-2b4f-409c-8f14-8847f17f3e41",
                      "createdAt": "2026-07-28T03:12:13.000Z",
                      "updatedAt": "2026-07-28T03:12:13.000Z",
                      "uid": "35240-5b77ee36-2b4f-409c-8f14-8847f17f3e41"
                    }
                  ],
                  "id": "66b608a9-2c09-4a5c-b480-e4b3ddc3a562",
                  "createdAt": "2026-07-28T03:12:13.000Z",
                  "updatedAt": "2026-07-28T03:12:13.000Z",
                  "uid": "35240-66b608a9-2c09-4a5c-b480-e4b3ddc3a562"
                }
              ],
              "id": "1b592852-0a3e-4609-8e50-e6fa3c49b1c0",
              "createdAt": "2026-07-28T03:12:13.000Z",
              "updatedAt": "2026-07-28T03:12:13.000Z",
              "uid": "35240-1b592852-0a3e-4609-8e50-e6fa3c49b1c0"
            },
            {
              "name": "{deviceId}",
              "item": [
                {
                  "name": "Get Commands to Publish Device Telemetry (getDevicePublishTelemetryCommands)",
                  "id": "488b3af4-105d-42f3-9073-378a47ced368",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/api/device-connectivity/:deviceId",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "api",
                        "device-connectivity",
                        ":deviceId"
                      ],
                      "variable": [
                        {
                          "id": "e4046637-d62a-4510-809c-b9e201d02374",
                          "key": "deviceId",
                          "value": "<string>",
                          "description": "(Required) A string value representing the device id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'"
                        }
                      ]
                    },
                    "description": "Fetch the list of commands to publish device telemetry based on device profile If the user has the authority of 'Tenant Administrator', the server checks that the device is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the device is assigned to the same customer. \n\nAvailable for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority."
                  },
                  "response": [
                    {
                      "id": "b52b5060-1fab-4647-b470-c65962cb6b95",
                      "name": "OK",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/api/device-connectivity/:deviceId",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "api",
                            "device-connectivity",
                            ":deviceId"
                          ],
                          "variable": [
                            {
                              "key": "deviceId"
                            }
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"examples\": {\n    \"http\": {\n      \"description\": \"http\",\n      \"value\": \"curl -v -X POST http://localhost:8080/api/v1/0ySs4FTOn5WU15XLmal8/telemetry --header Content-Type:application/json --data {temperature:25}\"\n    },\n    \"mqtt\": {\n      \"description\": \"mqtt\",\n      \"value\": \"mosquitto_pub -d -q 1 -h localhost -t v1/devices/me/telemetry -i myClient1 -u myUsername1 -P myPassword -m {temperature:25}\"\n    },\n    \"coap\": {\n      \"description\": \"coap\",\n      \"value\": \"coap-client -m POST coap://localhost:5683/api/v1/0ySs4FTOn5WU15XLmal8/telemetry -t json -e {temperature:25}\"\n    }\n  }\n}",
                      "createdAt": "2026-07-28T03:12:13.000Z",
                      "updatedAt": "2026-07-28T03:12:13.000Z",
                      "uid": "35240-b52b5060-1fab-4647-b470-c65962cb6b95"
                    }
                  ],
                  "createdAt": "2026-07-28T03:12:13.000Z",
                  "updatedAt": "2026-07-28T03:12:13.000Z",
                  "uid": "35240-488b3af4-105d-42f3-9073-378a47ced368"
                }
              ],
              "id": "8bfeafc7-b8e0-484a-994b-79acaa65a325",
              "createdAt": "2026-07-28T03:12:13.000Z",
              "updatedAt": "2026-07-28T03:12:13.000Z",
              "uid": "35240-8bfeafc7-b8e0-484a-994b-79acaa65a325"
            },
            {
              "name": "gateway-launch",
              "item": [
                {
                  "name": "{deviceId}",
                  "item": [
                    {
                      "name": "docker-compose",
                      "item": [
                        {
                          "name": "download",
                          "item": [
                            {
                              "name": "Download Generated Docker-compose.yml File for Gateway (downloadGatewayDockerCompose)",
                              "id": "2aedc4fb-d0db-4bc4-aa05-96fe494f5d55",
                              "protocolProfileBehavior": {
                                "disableBodyPruning": true
                              },
                              "request": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/api/device-connectivity/gateway-launch/:deviceId/docker-compose/download",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "api",
                                    "device-connectivity",
                                    "gateway-launch",
                                    ":deviceId",
                                    "docker-compose",
                                    "download"
                                  ],
                                  "variable": [
                                    {
                                      "id": "03f9de04-278b-4f5f-bd26-b720899349f3",
                                      "key": "deviceId",
                                      "value": "<string>",
                                      "description": "(Required) A string value representing the device id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'"
                                    }
                                  ]
                                },
                                "description": "Download generated docker-compose.yml for gateway."
                              },
                              "response": [
                                {
                                  "id": "ea6306c5-5972-4d4d-be92-5c005e899f27",
                                  "name": "OK",
                                  "originalRequest": {
                                    "method": "GET",
                                    "header": [
                                      {
                                        "key": "Accept",
                                        "value": "application/json"
                                      }
                                    ],
                                    "url": {
                                      "raw": "{{baseUrl}}/api/device-connectivity/gateway-launch/:deviceId/docker-compose/download",
                                      "host": [
                                        "{{baseUrl}}"
                                      ],
                                      "path": [
                                        "api",
                                        "device-connectivity",
                                        "gateway-launch",
                                        ":deviceId",
                                        "docker-compose",
                                        "download"
                                      ],
                                      "variable": [
                                        {
                                          "key": "deviceId"
                                        }
                                      ]
                                    }
                                  },
                                  "status": "OK",
                                  "code": 200,
                                  "_postman_previewlanguage": "json",
                                  "header": [
                                    {
                                      "key": "Content-Type",
                                      "value": "application/json"
                                    }
                                  ],
                                  "cookie": [],
                                  "responseTime": null,
                                  "body": "<binary>",
                                  "createdAt": "2026-07-28T03:12:13.000Z",
                                  "updatedAt": "2026-07-28T03:12:13.000Z",
                                  "uid": "35240-ea6306c5-5972-4d4d-be92-5c005e899f27"
                                }
                              ],
                              "createdAt": "2026-07-28T03:12:13.000Z",
                              "updatedAt": "2026-07-28T03:12:13.000Z",
                              "uid": "35240-2aedc4fb-d0db-4bc4-aa05-96fe494f5d55"
                            }
                          ],
                          "id": "ffa6b7d6-23d2-410e-981a-657555d379d5",
                          "createdAt": "2026-07-28T03:12:13.000Z",
                          "updatedAt": "2026-07-28T03:12:13.000Z",
                          "uid": "35240-ffa6b7d6-23d2-410e-981a-657555d379d5"
                        }
                      ],
                      "id": "c734eaf8-d669-4461-a75c-1b5067d47d0e",
                      "createdAt": "2026-07-28T03:12:13.000Z",
                      "updatedAt": "2026-07-28T03:12:13.000Z",
                      "uid": "35240-c734eaf8-d669-4461-a75c-1b5067d47d0e"
                    }
                  ],
                  "id": "7aa0362c-27e5-4d50-be52-73abdc59a662",
                  "createdAt": "2026-07-28T03:12:13.000Z",
                  "updatedAt": "2026-07-28T03:12:13.000Z",
                  "uid": "35240-7aa0362c-27e5-4d50-be52-73abdc59a662"
                }
              ],
              "id": "3a00f447-b656-44d3-9772-c6850c458d5f",
              "createdAt": "2026-07-28T03:12:13.000Z",
              "updatedAt": "2026-07-28T03:12:13.000Z",
              "uid": "35240-3a00f447-b656-44d3-9772-c6850c458d5f"
            }
          ],
          "id": "dfc8b85c-d29b-484f-915a-3b62f089ee87",
          "createdAt": "2026-07-28T03:12:13.000Z",
          "updatedAt": "2026-07-28T03:12:13.000Z",
          "uid": "35240-dfc8b85c-d29b-484f-915a-3b62f089ee87"
        }
      ],
      "id": "dee889ca-1ace-4012-965e-44960b53a8b6",
      "createdAt": "2026-07-28T03:12:13.000Z",
      "updatedAt": "2026-07-28T03:12:13.000Z",
      "uid": "35240-dee889ca-1ace-4012-965e-44960b53a8b6"
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://demo.thingsboard.io"
    }
  ]
}