Todos os endpoints

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

Requer uma chave de API.

Corpo da requisição application/json

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

Respostas

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)

Experimente

Criar uma chave

Enviada do seu navegador direto para a API, para nenhum outro lugar. Com “Lembrar”, fica até você fechar esta aba. Uma chave somente leitura permite explorar sem alterar nada.

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

Cole uma chave de API para enviar as requisições que precisam de uma.

Requisições com chave contam para as requisições de API diárias do seu plano.