All endpoints

Developers / StrawPoll API / Themes

Change a theme

PUT/themes/{id}

Changes the name and colors; a rename alone keeps the colors. workspaceId moves the theme into a workspace you own or administer (only to workspaces of the same owner), or with null back to its owner.

Needs an API key.

Parameters

Path

  • id string (uuid) required

Request body application/json

  • name string max. 255
  • workspaceId string (uuid) | null
  • properties ThemeProperties

Responses

The theme.

  • id string (uuid)
  • userId string (uuid) | null

    The owner; null for StrawPoll's own themes.

  • workspaceId string (uuid) | null

    Set when the theme is shared with a workspace.

  • name string | null
  • properties ThemeProperties
  • createdAt string (date-time)

Try it

Create a key

Sent from your browser straight to the API, nowhere else. With “Remember” on it stays until you close this tab. A read-only key lets you look around without changing anything.

PUT https://new.strawpoll.com/api/v4/themes/{id}

Paste an API key to send requests that need one.

Requests with a key count against your plan’s daily API requests.