{"wiki":"en","slug":"relays-http-api","markdown":"<tags data-tags=\"Relays;System;HTTP-API;Configuration guides\" />\n\n# HTTP API: Activating a relay\n\nIt is possible to activate the Behnke Station's relays by sending a command via the HTTP API. How this works exactly is described in this configuration guide.\n\nRequirements:\n\n- The HTTP API has to be enabled.\n- The relay to be activated has to be configured as a door opener relay.\n\n## 1. Enabling the Behnke Station's HTTP API\n\nThe API of the Behnke station is deactivated by default and must therefore be activated first. To do this, go to **\"System\"** in the menu on the left. From there, scroll down to the **\"API\"** section and select **\"Allow\"**.\n\n![\"API\" section in the \"System\" menu of the Behnke Station's web interface](uploads/1c3c65f930d1ed656c1880dcf4e5ef86/API_Relais_schalten_E_01.png)\n\n## 2. Activating the Behnke Station's relay via HTTP\n\nTo activate one of the Behnke Station's relays via HTTP, simply call up the following URL, e.g. using a browser:\n\n`http://<IP address of your Behnke Station>/?key=<Behnke Station's admin password>&api=trigger&relay=<Number of the relay>`\n\nFor example:\n\n`http://192.168.0.7/?key=admin&api=trigger&relay=1`\n\n## 3. Legal notices\n\n[Legal notices](legal notices)","lastModified":"2026-08-20T14:30:11+02:00"}