Get Cognito credentials

There are 2 ways to connect via MQTT. Both use the cognito credentials for the hub. mqtt_canonical_url is used to connect from browser in the manager portal from javascript. get_cognito_credentials is used by the ios and android libraries. There is sample code mentioned for both methods

Parameter

FieldTypeDescription
idUuidHub Unique ID
Path Params
string
required
Headers
string
enum
required
Allowed:
string
enum
Defaults to Get Cognito credentials

Generated from available response content types

Allowed:
Response

Language
Credentials
Bearer
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
Get Cognito credentials
MQTT Connection Sample Code