Image
Dot. Manual
Image
Dot. Manual
Back to home

Dot.

Install Dot. AppDiagnostic Tool

Quote

Quote/0
Pairing Quote/0How to Tap
Fixed ContentLoop Content
Share with Family and FriendsHow to Charge
Update DeviceReset NetworkReset DeviceChangelogNew
Service and Repair

Rand The Pocket Prophet

Rand/0
Getting StartedWi-FiCustom Wallpaper
Features
MBTI GuideBook of AnswersFortuneCoin FlipDice RollWooden FishNumber Under TenClock
Bluetooth RemoteNewDownload Pocket NFC App
Update DeviceReset DeviceChangelogNew
Service and Repair

Content & Services

Content Studio
Join Content StudioRSS
Shortcuts
Co Create
Software
CastCardDiablo II Resurrected Terror Zone & Uber Diablo Alert ToolDot Calendar - Weather Calendar for Quote/0DotCanvasDotClientDot Crypto TickerDot Mate - Quote/0 Automation SchedulerIntelligent Poetry Weather Generation SystemDot ServiceDot Quote/0 Home Assistant Dashboard CardDot Quote/0 Home Assistant IntegrationMindReset Dot MCP (Lakphy)Quote/0 Send DemoQuote/0 + Calendar ShortcutQuote/0 Agent Skill (YangguangZhou)Quote/0 Evening SummaryQuote/0 Flash NoteQuote/0 Health ReminderQuote/0 + Holiday ShortcutQuote/0 MCP (stvlynn)Quote/0 MCP (thomaszdxsn)Quote/0 + WAY 2 Reminder ShortcutQuote/0 Yearly Progress CalendarQuote/0 API Serverless MicroserviceQuote/0 AI Usage DashboardNewQuote/0 Client Python SDKQuote/0 DeepSeek Balance DashboardNewQuote/0 Kimi / GLM Usage DashboardNewQuote/0 Claude / Codex Usage DashboardNewQuote/0 SDK & CLI (MrWillCom)Server Status
Hardware
IKEA SKÅDIS MountQuote/0 Carry Case HangerQuote/0 Desktop Charging Mini StandQuote/0 Desktop Stand (Andrrrrrrija)Quote/0 Desktop Stand (MindReset)Quote/0 Desktop Mini StandQuote/0 Monitor Mount (Kiiko)Quote/0 Excerpt Mount (GLB_wegoo777)Quote/0 Monitor Mount (TLL)Rand/0 Single Shoulder Bag Buckle 40mmNew
Developer Platform
What is an APIGet API KeyGet Device Serial NumberGet Device ListGet Device StatusGet TimezonesNewDevice SettingsNewSwitch to Next ContentList Device ContentControl Text ContentNewControl Image ContentNewControl Canvas ContentNewAI SkillNew
Roadmap

Explore More Possibilities

Request New ContentJoin Content StudioOur Repositories

Security

MSA-2025-08-001MSA-2025-09-001MSA-2025-09-002MSA-2025-10-001MSA-2025-10-002MSA-2025-10-003MSA-2026-04-001
Responsible Disclosure Policy

More

Service StatusService and RepairPrivacy PolicyUser AgreementContact UsAbout MindReset
Content & ServicesDeveloper Platform
Image

Control Text Content

RSS

Deprecated legacy endpoint

Status: Deprecated. The legacy endpoint https://dot.mindreset.tech/api/open/text currently forwards requests to the new API. This compatibility behavior may be removed in a future release. No removal date is confirmed.

To keep your integration compatible:

  • Update the request URL to the new endpoint: /api/authV2/open/device/:deviceId/text
  • Send parameters according to this document (e.g. refreshNow / taskAlias / title / message / signature / icon / link / taskKey / styles)
  • If you rely on legacy response payloads or error codes, adapt your integration to the new API responses

Quick Guide

Prerequisites

  1. Make sure you have retrieved and saved your API key in the Dot. App;
  2. Make sure you own at least one device and have obtained its device serial number;
  3. Make sure your device is connected to power;
  4. Make sure your device is connected to the network;
  5. Make sure you've added the Text API content to the device Loop task from the Content Studio in the Dot. App.

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.

About API display timing

The API's immediate display capability depends on whether the device is currently online. If the device is running on battery and asleep, the content is saved to the server first and displayed after the device wakes automatically. Read Timing to learn more.

About icon input

The icon field is optional. If you send an icon, it must be PNG Base64 data or a full online 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

The API rate limit is 10 requests per second. With the API, you can control device behavior and responses more flexibly.

Placeholders wrapped in ‘{{variable}}’ indicate values you must replace. Fill them with your actual values and remove the ‘{{}}’ braces.

Request Examples

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

Get your API key from Dot. App

Generated Code
1// Generating...

Response Example

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

Reference Usage

  1. Simple text without immediate display
curl -X POST \
	  https://dot.mindreset.tech/api/authV2/open/device/{{deviceId}}/text \
  -H 'Authorization: Bearer dot_app_UlSpzXNEXhYZIAFakHLCkMVVBLbsBIWxaRMVaJZGUOYKhDoDRZwLLvLujAIwQxbY' \
  -H 'Content-Type: application/json' \
  -d '{
    "refreshNow": false,
    "title": "evnydd0sf",
    "message": "我能吞下玻璃而不伤身体"
  }'
  1. Complex text and display immediately
curl -X POST \
	  https://dot.mindreset.tech/api/authV2/open/device/{{deviceId}}/text \
  -H 'Authorization: Bearer dot_app_UlSpzXNEXhYZIAFakHLCkMVVBLbsBIWxaRMVaJZGUOYKhDoDRZwLLvLujAIwQxbY' \
  -H 'Content-Type: application/json' \
  -d '{
    "title": "验证码小助手",
	"message": "一个来自「少数派」的验证码\n205112",
    "signature": "2025年8月4日 19:58",
    "styles": {
      "title": { "fontFamily": "ChillDuanSans", "fontSize": 30, "fontWeight": 700 },
      "message": { "fontFamily": "FusionPixel12", "fontSize": 22, "lineHeight": 1.25 },
      "signature": { "fontFamily": "ChillDuanSans", "fontSize": 16 }
    }
  }'
  1. Complex text with icon and link, display immediately
curl -X POST \
	  https://dot.mindreset.tech/api/authV2/open/device/{{deviceId}}/text \
  -H 'Authorization: Bearer dot_app_UlSpzXNEXhYZIAFakHLCkMVVBLbsBIWxaRMVaJZGUOYKhDoDRZwLLvLujAIwQxbY' \
  -H 'Content-Type: application/json' \
  -d '{
    "title": "每日健康",
    "message": "消耗卡路里:702千卡\n今日步数:4183步\n站立时间:62分钟",
    "signature": "2025年8月4日 20:16",
    "icon": "{{PNG Base64 icon data (max 1MB) or http(s) image URL}}",
    "link": "x-apple-health://"
  }'
  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" }

Troubleshooting

Endpoint

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

Method

POST

Request Schema

Prop

Type

Whether to display the content immediately (Control display timing)

Default

true

Text title (Title shown on screen)
Text content (supports \n line breaks and \t tabs)
Text signature (Signature shown on screen)
Optional. PNG Base64 icon data (bare Base64 or data:image/png;base64, prefix, decoded payload max 1MB) or full http(s) image URL (40px×40px, and remote URLs must be anonymously accessible, no longer than 2048 characters, response body max 3MB, and return image/* directly) (Icon shown at bottom-left)
http/https link or URL scheme (NFC tap redirect target)
When multiple Text API contents exist on the device, use this taskKey to specify which content to update and switch. You can retrieve it via the 'List Device Tasks' API. If omitted, the first Text API content is used.
Task alias shown in the device task list. Use it to distinguish multiple contents of the same API type. Accepts a string or number, max 100 characters. Omit it to keep the existing alias, or send an empty string/null to clear it.
Optional typography overrides. styles.title and styles.signature support fontFamily, fontSize, and fontWeight; styles.message additionally supports lineHeight.

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 response message. Both success and error responses use this field.

Status Codes

HTTP statusMeaningDescription
200SuccessText API content switched / Data updated but content not switched
400Invalid parametersInvalid icon format
403ForbiddenYou do not have permission to operate this device
404Not foundDevice not found or not registered
Text API content not added to the loop task
500Device response failureFailed to switch Text API content

Did this solve your problem?

Join our community

List Device Content

Retrieve the current content list of a device via API.

Control Image ContentNew

Next

Contents

Quick GuidePrerequisitesRequest ExamplesResponse ExampleReference UsageLine Breaks and TabsTroubleshootingEndpointMethodRequest SchemaSupported FontsResponse SchemaStatus Codes