Start a timer via rest api call

Is it possible to start a timer via a rest api call? There is a service in the timer “timer.start” but I haven’t managed to call it via an api call yet.

curl \
  -H "Authorization: Bearer TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"entity_id": "timer.torsteuerung"}' \
  http://localhost:8123/api/services/domain/timer.start

This cURL command does not seem to work like this. But I can’t find a domain to this service either. Can you help me further?

curl \
  -X POST \
  -H "Authorization: Bearer TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"entity_id": "timer.torsteuerung"}' \
  http://localhost:8123/api/services/timer/start
1 Like