Mqtt
Get MQTT Credentials
Access
Member of the organization with this permission:
mqtt:write
An API key with scopes also needs the permission among its scopes.
POST
Generates JWT credentials for MQTT client connections. Tokens allow publish and subscribe under tillor/{env}/{orgId}/integration/# (or a narrower topic prefix).
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
application/json- body
clientId?stringLength
1 <= length <= 128expiresInSeconds?numberRange
60 <= value <= 86400OK
application/json- response
curl -X POST 'https://api.tillor.eu/orgs//mqtt/credentials' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
null