### TRMNL API: Partners - Device Provisioning Source: https://context7_llms Stub a device and associate it with a discount code using the Partners API. This is crucial for partners managing device distribution and customer onboarding. ```APIDOC Endpoint: /partners/devices/provision Method: POST Description: Provisions a new device and assigns a discount code. Request Body: - device_serial: (string) The serial number of the device. - discount_code: (string) The discount code to associate. - customer_id: (string, optional) Identifier for the customer. Returns: - status: (string) Provisioning status. - message: (string) Details about the provisioning. ``` -------------------------------- ### TRMNL API: Screen Creation Source: https://context7_llms Leverage RESTful endpoints to generate custom screens on your TRMNL device. This API allows for dynamic content generation and display customization. ```APIDOC Endpoint: /screens/create Method: POST Description: Generates and displays a custom screen on a TRMNL device. Request Body: - screen_markup: (string) The markup defining the screen layout and content. - device_id: (string, optional) The specific device to target. Returns: - status: (string) Success or failure message. - screen_id: (string) Unique identifier for the generated screen. ``` -------------------------------- ### TRMNL API: Account Management Source: https://context7_llms Control various aspects of your usetrmnl.com account programmatically. This API provides endpoints for managing user account settings and information. ```APIDOC Endpoint: /account/profile Method: GET Description: Retrieves the user's account profile information. Returns: - user_profile: (JSON) Details of the user's account. Endpoint: /account/settings Method: PUT Description: Updates user account settings. Request Body: - settings: (JSON) New settings to apply. Returns: - status: (string) Confirmation of settings update. ``` -------------------------------- ### TRMNL API: Fetch Plugin Content Source: https://context7_llms Retrieve parsed plugin JSON data for use in your own custom templates. This allows for integration of plugin information into external interfaces. ```APIDOC Endpoint: /plugins/{plugin_id}/content Method: GET Description: Fetches parsed JSON data for a specific plugin. Parameters: - plugin_id: (string) The unique identifier of the plugin. Returns: - plugin_data: (JSON) The parsed JSON content of the plugin. ``` -------------------------------- ### TRMNL API: Fetch Screen Content Source: https://context7_llms Retrieve TRMNL image data directly from the API, enabling device-free content access and integration into external applications. ```APIDOC Endpoint: /screens/{screen_id}/content Method: GET Description: Fetches the image data for a specific screen. Parameters: - screen_id: (string) The unique identifier of the screen. Returns: - image_data: (binary) The raw image data for the screen. ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.