Blues Notehub
Retrieves environment variables for a Blues Notehub device. This endpoint proxies the request to the Blues Notehub API using your organization's stored Notehub PAT credential.
Prerequisites:
Device must be a Blues Notehub device (source_type: "notehub")
Organization must have a Notehub PAT credential configured in External Credentials
API key must have "read" scope permission
How it works:
Validates your Qubitro API key and extracts your organization
Looks up the Notehub PAT credential stored in your organization's external credentials
Fetches the device to get its Notehub device UID
Proxies the request to Blues Notehub API
Returns the environment variables from Notehub
Enter your API key with the Bearer prefix, e.g. "Bearer QB_your_api_key_here"
Project ID (UUID format)
3e5c0246-c759-48e8-8345-27db13f11ff7Device ID (UUID format)
dev-abc123Environment variables retrieved successfully
Device is not a Blues Notehub device
Unauthorized - Invalid or missing API key
Device not found
Notehub PAT credential not configured for this organization
Blues Notehub API returned an error
Sets environment variables for a Blues Notehub device. This endpoint proxies the request to the Blues Notehub API using your organization's stored Notehub PAT credential.
Prerequisites:
Device must be a Blues Notehub device (source_type: "notehub")
Organization must have a Notehub PAT credential configured in External Credentials
API key must have "update" scope permission
Notehub PAT must have at least "developer" role permissions
How it works:
Validates your Qubitro API key and extracts your organization
Looks up the Notehub PAT credential stored in your organization's external credentials
Fetches the device to get its Notehub device UID
Proxies the request to Blues Notehub API to set the environment variables
Returns success if the variables were set
Note: Environment variables set via this endpoint will be synchronized to the Notecard device on its next sync with Notehub.
Enter your API key with the Bearer prefix, e.g. "Bearer QB_your_api_key_here"
Project ID (UUID format)
3e5c0246-c759-48e8-8345-27db13f11ff7Device ID (UUID format)
dev-abc123Environment variables set successfully
Invalid request body or device is not a Blues Notehub device
Unauthorized - Invalid or missing API key
Device not found
Notehub PAT credential not configured for this organization
Blues Notehub API returned an error
Last updated