User Themes

Create a theme from a shared theme snippet

Decodes a /t/:token share link (the "Copy share link" button on a theme) through the same settings parse createUserTheme uses, and saves it under name.

post/api/user_themes/imports

Request

  • Base URL: https://trmnl.com
  • URL: https://trmnl.com/api/user_themes/imports
  • Auth: HTTP bearer

Request body

tokenstring required

The token from a /t/:token share link, with or without the URL around it

namestring required

Unique per account

Response

Created

Example response

{
  "data": {
    "id": 1,
    "name": "Sunny Days",
    "created_at": "2023-10-01T12:00:00Z",
    "updated_at": "2023-10-01T12:00:00Z"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.