SnozeDevelopers
API referenceUser preferences

Replace the caller's mobile home layout

Overwrites the caller's saved mobile home layout for this workspace, and clears a stored desktop layout that was only ever a legacy mobile stand-in. Requires `workspace:read`. Send an `Idempotency-Key` header to make retries safe; a replay within the window returns the original response.

PUT
/v1/workspaces/{workspaceId}/preferences/mobile-home-layout
AuthorizationBearer <token>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

In: header

Path Parameters

workspaceId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X PUT "https://example.com/v1/workspaces/string/preferences/mobile-home-layout" \  -H "Content-Type: application/json" \  -d '{    "sections": [      {        "id": "string",        "kind": "recents"      }    ]  }'
{  "data": {    "mobileHomeLayout": {      "sections": [        {          "id": "string",          "kind": "recents",          "config": {}        }      ]    }  }}