Skip to main content
POST
Call a service on an entity

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Organization-Id
string

ID da organização para contexto (opcional). Quando presente, filtra recursos da org.

Path Parameters

domain
string
required

Domínio da entidade (ex: light, switch, cover)

service
string
required

Serviço a executar (ex: turn_on, turn_off, set_value)

Body

application/json
entity_id
string
required

entity_id da entidade alvo

data
object

Dados adicionais do serviço (ex: brightness, color)

Response

Service executed

The response is of type object.