ThingsBoard · Example Payload

Thingsboard Login Example

Example login request and response against the ThingsBoard demo server.

IoTInternet of ThingsDevice ManagementTelemetryOpen-SourceApache 2.0MQTTLwM2MCoAPRule EngineDashboardsEdgeMulti-TenantJavaSpring

Thingsboard Login Example is an example object payload from ThingsBoard, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

descriptionrequestresponsesubsequent

Example Payload

Raw ↑
{
  "description": "Example login request and response against the ThingsBoard demo server.",
  "request": {
    "method": "POST",
    "url": "https://demo.thingsboard.io/api/auth/login",
    "headers": {
      "Content-Type": "application/json"
    },
    "body": {
      "username": "tenant@thingsboard.org",
      "password": "tenant"
    }
  },
  "response": {
    "status": 200,
    "body": {
      "token": "eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZW5hbnRAdGhpbmdzYm9hcmQub3JnIiwic2NvcGVzIjpbIlRFTkFOVF9BRE1JTiJdLCJ1c2VySWQiOiI3Y2YzNmI4MC0zNjEyLTExZWMtYWFmMC0xN2QzN2Y4NjkwNTAiLCJlbmFibGVkIjp0cnVlLCJpc1B1YmxpYyI6ZmFsc2UsInRlbmFudElkIjoiMTNlZjE4MzAtMzYxMi0xMWVjLWFhZjAtMTdkMzdmODY5MDUwIiwiY3VzdG9tZXJJZCI6IjEzODE0MDAwLTFkZDItMTFiMi04MDgwLTgwODA4MDgwODA4MCIsImlzcyI6InRoaW5nc2JvYXJkLmlvIiwiaWF0IjoxNzE1MDAwMDAwLCJleHAiOjE3MTUwMDkwMDB9.example",
      "refreshToken": "eyJhbGciOiJIUzUxMiJ9.example-refresh"
    }
  },
  "subsequent": {
    "description": "Use the JWT token to list tenant devices.",
    "method": "GET",
    "url": "https://demo.thingsboard.io/api/tenant/devices?pageSize=10&page=0",
    "headers": {
      "X-Authorization": "Bearer eyJhbGciOiJIUzUxMiJ9..."
    }
  }
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/thingsboard-login-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.