Skip to Content
Image
Dot. Manual
Image
Dot. Manual
Back to home

Dot.

Install Dot. AppDiagnostic Tool

Quote

Quote/0New
Pairing Quote/0How to TapShare with Family and FriendsHow to Charge
Content Mode
Loop ContentFixed Content
TimingNewApp Clip and Tap-to-InteractNew
Screen States and Troubleshooting
Update DeviceReset NetworkReset DeviceChangelogNew
Service and RepairCustomize Quote/0

Rand

Rand/0New
Getting StartedNew
FeaturesNew
Book of AnswersFortuneMBTI GuideWooden FishCoin FlipBluetooth RemoteNewPomodoroNewClockTimerNewDice RollNumber Under TenDisplay ModeNewNFC Cards
Wi-FiCustom WallpaperSettingsHow to Charge
Update DeviceReset DeviceChangelogNew
Service and RepairCustomize Rand/0

Read

Read PicoNew
Getting StartedNew
CrossMuxkiikoreadRickyOSWhiteOSCrossLink PixelJust ReadPico PageAuraReaderPageRestif-ink OSThingsOSTake EasyVanOSCPYOSYanReaderFolio BookXH View OS For PicoFolioGlintNewCrossLink 2.0NewTreaderOSNewLumiNewEDC BookNew
Demo SystemDIY Your SystemSubmit Your System

Clock

ClockNew
Getting StartedDIY Your System

Content & Services

Roadmap
Content Studio
Join Content StudioRSS
Shortcuts
Co CreateNew
SoftwareNew
QuoteNew
Rand
ReadNew
ClockNew
HardwareNew
Quote
Rand
ReadNew
Open PlatformNew
Dot AssistantNewRequest rate limitsNew
PersonalNew
Get API KeyCreate an OAuth Client
Manage devicesNew
Get Device Serial NumberGet Device ListGet Device StatusGet TimezonesDevice Settings
ContentNew
Content StudioNew
List Content Studio recommendationsNewSearch Content StudioNewBrowse Content Studio by CategoryNewList Collection ContentsNewRead content detailsNewUpload a content imageNew
List device contentNewAdd device contentNew
Update contentNew
Control Text ContentControl Image ContentControl Canvas Content
Change a fixed scheduleNewReorder loop contentNewRemove device contentNewDisplay a specific itemNewSwitch to Next Content
OrganizationsNew
Create and manage an organizationNewSet Up Organization API AccessNew
Device softwareNew
Manage device software IDsNewUpload a versionNewPublish a versionNewReview and resubmissionNewQuery versions from a deviceNewVersion list and detailsNewQuery published versions from a serverNewDownload and updateNew

Explore More Possibilities

Request New ContentJoin Content StudioOur Repositories

Security

Responsible Disclosure Policy

More

Service StatusService and RepairCustomize ProductsPrivacy PolicyUser AgreementOrganization and Publisher AgreementContact UsAbout MindReset
Content & ServicesOpen PlatformNewPersonalNewManage devicesNewContentNewUpdate contentNew
Image

Control Text Content

RSSImprove this page

Quick Guide

Prerequisites

  1. In the Playground, sign in to Dot and select Authorize. In a script, use a personal API key or an OAuth access token as a Bearer token.
  2. Get the serial number for a device you can control.
  3. Make sure your device is connected to power;
  4. Make sure your device is connected to the network;
  5. Use add device content to add mindreset.text_api to the device’s loop or fixed list. You can leave the Dot API key field empty when adding the item.

What Text API is for

Text API turns reminders, notes, signatures, and small icons into a readable device card. Use it for automation messages, lightweight notifications, daily excerpts, or any short text you want to see on the device.

Choose a content list and display timing

Choose the loop list or fixed list; the loop list is used by default. A task identifier targets an item only in the selected list. Without an identifier, the first Text API item in that list is updated.

Enable immediate display for loop content to request a screen update while the device is online. A sleeping device on battery retrieves saved content after automatic wake. Fixed content follows the times configured in Dot. App: even the item currently on screen waits for the next scheduled refresh. The API preserves its time settings. Read Timing for details.

About icon input

An icon is optional. Send PNG Base64 data or a full HTTP(S) image URL. PNG Base64 may be bare Base64 or include the data:image/png;base64, prefix; the decoded payload must be no larger than 1MB. A 40px×40px icon is recommended. Remote icon URLs must be anonymously accessible, require no authentication or special Referer, be no longer than 2048 characters, return a response body no larger than 3MB, and return image/* content directly.

Test icon URLs for debugging

The following URLs are currently anonymously accessible and return image content that can be used for the Text API icon field:

  • https://placehold.co/40x40/png
  • https://httpbin.org/image/png

If you want to verify your own icon URL first, run:

curl -I 'https://your-icon-url'

In most cases, you should confirm at least:

  • The HTTP status code is 200
  • The Content-Type is image/*, such as image/png or image/jpeg

Each device accepts one immediate refresh request every 2 seconds. If you receive a 429, wait the number of seconds in Retry-After. See API rate limits.

Request Examples

POST
/api/authV2/open/device/:deviceId/text

Authorize with your Dot account or enter an API key or OAuth access token.

Generated Code

Before running an example, replace placeholders such as {{VARIABLE}} with actual values and remove the surrounding double braces.

1// Generating...

Update content in the fixed list

In the List device content Playground, select the device and its fixed list. Find the item with contentId set to mindreset.text_api and copy its taskKey.

In the Playground on this page, select the same device and the fixed list (taskType: "fixed"). Enter the taskKey and the new content. The device shows the saved content at the next scheduled refresh. refreshNow applies only to the loop list.

Response Example

This is an example response for immediate display of loop content.

{
	"message": "Device ABCD1234ABCD text API content switched."
}

Troubleshooting

Endpoint

/api/authV2/open/device/:deviceId/text

Method

POST

Path Parameters

Prop

Type

Device serial number.

Request Schema

Prop

Type

Choose the loop list or fixed list. If omitted, the loop list is used.

Default

loop

When enabled, requests immediate display of loop content; when disabled, only saves the content. Fixed content always waits for the next scheduled refresh, including the item currently on screen.

Default

true

Heading shown on the screen.
Main text, preserving line breaks and tabs.
Signature shown below the main text.
Optional icon shown at the bottom left. Accepts PNG Base64 with or without a data URI prefix (decoded size up to 1MB), or a public HTTP(S) image URL. Recommended size: 40px×40px. URLs may contain up to 2048 characters and must directly return an image of up to 3MB without authentication.
Destination opened when the device is tapped with NFC. Accepts HTTP(S) URLs or an app URL scheme.
Task identifier from the selected list. If omitted, updates the first Text API item in that list.
Name shown in the device task list, up to 100 characters. Omit to keep the current name; send an empty string to clear it. Does not change the displayed content.
Optional typography overrides. Heading and signature text support font, size, and weight; the main text also supports line spacing.

Supported Fonts

Use the exact fontFamily value in styles.*.fontFamily.

fontFamilyNotes
ChillDuanSansGeneral CJK sans
ChillKSansGeneral sans
ChillOrganicOrganic display style
ChillRoundFRounded display style
ChillRoundGothicBold rounded gothic
Cusong1616px pixel Song style
DotGothic1616px pixel gothic
FusionPixel88px pixel font
FusionPixel1010px pixel font
FusionPixel1212px pixel font
Liusong2424px pixel Song style
LogoSCUnboundedSansDisplay sans
MaokenYingBiKaiShuJ0.09Handwriting display style
PlayfairDisplayLatin serif display
Quan88px pixel font
Unifont1616px broad Unicode coverage
UnifontExMono1616px mono Unicode coverage
XiaoyaPixel1212px pixel style
ZihunzhoukesongCJK Song style
Zpix1212px CJK pixel font

Response Schema

The endpoint uses the HTTP status code to indicate the request result. The JSON response body only contains message.

Prop

Type

Human-readable result for a successful or failed request.

Status Codes

HTTP statusMeaningDescription
200SuccessText API content switched / Data updated but content not switched
400Invalid parametersInvalid content list type
Invalid icon format
403ForbiddenYou do not have permission to operate this device
404Not foundDevice not found or not registered
Matching API content is missing from the selected list, or the task identifier does not match a Text API item in that list
500Device response failureFailed to switch Text API content

Troubleshoot list selection and display timing

  • 400: use only loop or fixed for taskType.
  • 404: ensure the request uses the same taskType as the list query and a taskKey from a matching API item in that list. Omitting taskType selects the loop list.
  • Fixed content was saved but the screen did not change: check its time settings in Dot. App and wait for the next scheduled refresh. refreshNow: true does not immediately refresh fixed content.

Reference Usage

  1. Simple text without immediate display

Enter a title and message in the Playground and set refreshNow to false. The saved text appears when the device reaches it in the loop.

  1. Complex text and display immediately

Enter a title, message, and signature in the Playground, and set refreshNow to true. For the title, use ChillDuanSans at size 30 and weight 700. For the message, use FusionPixel12 at size 22 and line height 1.25. For the signature, use ChillDuanSans at size 16.

  1. Complex text with icon and link, display immediately

Set refreshNow to true in the Playground. Enter PNG Base64 data or a public image URL in icon. Enter x-apple-health:// in link to open the Health app on tap.

  1. Highly customized text or graphics

Refer to the Image API section on text-as-image usage

Line Breaks and Tabs

Text API preserves line breaks and tabs in message.

  • Use \n for a new line and \t for a tab in the JSON request body.
  • If your JSON is embedded inside another string literal, such as shell, JavaScript, Python, templates, or tool configs, you often need to write \\n and \\t in the outer string so the final JSON still contains \n and \t.
  • If you want the device to literally display the characters \n or \t, make the final JSON payload contain \\n or \\t.
{ "message": "Line 1\n\tIndented line 2" }
{ "message": "Show literal \\n and \\t" }

Did this solve your problem?

Join our community

Update contentNew

Change inputs on an existing device item, such as a title, selection, or saved third-party configuration.

Control Image Content

Next

Contents

Quick GuidePrerequisitesRequest ExamplesUpdate content in the fixed listResponse ExampleTroubleshootingEndpointMethodPath ParametersRequest SchemaSupported FontsResponse SchemaStatus CodesTroubleshoot list selection and display timingReference UsageLine Breaks and Tabs