Alle Endpunkte

Entwickler / StrawPoll API / Themes

Create a theme

POST/themes

workspaceId shares the theme with a workspace you own or administer; it then belongs to the workspace's owner. A logo and custom CSS need a plan that includes them.

Braucht einen API-Schlüssel.

Request-Body application/json

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

Antworten

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)

Ausprobieren

Schlüssel erstellen

Geht von deinem Browser direkt an die API und nirgendwo sonst hin. Mit „Merken“ bleibt er, bis du diesen Tab schließt. Mit einem Nur-Lesen-Schlüssel schaust du dich um, ohne etwas zu ändern.

POST https://new.strawpoll.com/api/v4/themes

Füge einen API-Schlüssel ein, um Anfragen zu senden, die einen brauchen.

Anfragen mit Schlüssel zählen gegen die täglichen API-Anfragen deines Tarifs.