Alle endpoints

Ontwikkelaars / 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.

Vereist een API-sleutel.

Request-body application/json

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

Antwoorden

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)

Probeer het

Sleutel aanmaken

Gaat vanuit je browser rechtstreeks naar de API, nergens anders heen. Met ‘Onthouden’ blijft hij tot je dit tabblad sluit. Met een alleen-lezen-sleutel kijk je rond zonder iets te veranderen.

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

Plak een API-sleutel om verzoeken te versturen die er een nodig hebben.

Verzoeken met een sleutel tellen mee voor de dagelijkse API-verzoeken van je abonnement.