Reolink Alarm API

Motion detection, audio alarms, and detection zone configuration

GitHub OpenAPI
Business capability
Home Security Cameras & Alarms AE-200.80

Operations 7

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /cgi-bin/api.cgi?cmd=GetMdAlarm&token={token} Get motion detection alarm settings · Get motion detection alarm settings #
Ask an LLM
“What sensitivity and zones are set for motion detection alarms?”
“Can I read the current motion alarm configuration?”
Tell an agent
Get the motion detection alarm settings using token {token}.
Show the current motion alarm sensitivity and zones.
POST /cgi-bin/api.cgi?cmd=SetMdAlarm&token={token} Set motion detection alarm settings · Set motion detection alarm settings #
Ask an LLM
“How do I change motion detection sensitivity and zones?”
“Can I schedule motion alarms?”
Tell an agent
Set motion detection alarm settings with token {token}.
Change the motion alarm sensitivity and zones.
POST /cgi-bin/api.cgi?cmd=GetAiAlarm&token={token} Get AI detection alarm settings · Get AI detection alarm settings #
Ask an LLM
“What person, vehicle and animal detection alarms are configured?”
“Can I read the AI alarm settings?”
Tell an agent
Get the AI detection alarm settings using token {token}.
Show the configured AI object detection alarms.
POST /cgi-bin/api.cgi?cmd=SetAiAlarm&token={token} Set AI detection alarm settings · Set AI detection alarm settings #
Ask an LLM
“How do I turn on person or vehicle detection alarms?”
“Can I configure animal detection alarms?”
Tell an agent
Set AI detection alarm settings with token {token}.
Configure person, vehicle and animal detection alarms.
POST /cgi-bin/api.cgi?cmd=GetAlarmArea&token={token} Get alarm detection area zones · Get alarm detection area #
Ask an LLM
“Which zones are set for alarm detection?”
“Can I read the alarm area configuration?”
Tell an agent
Get the alarm detection area zones using token {token}.
Show the configured alarm zones.
POST /cgi-bin/api.cgi?cmd=SetAlarmArea&token={token} Set alarm detection area zones · Set alarm detection area #
Ask an LLM
“How do I draw alarm zones on the camera view?”
“Can I change the alarm detection areas?”
Tell an agent
Set the alarm detection area zones with token {token}.
Draw or change the alarm zones.
POST /cgi-bin/api.cgi?cmd=GetAudioAlarm&token={token} Get audio detection alarm settings · Get audio alarm settings #
Ask an LLM
“What audio detection alarm is configured?”
“Can I read the sound alarm settings?”
Tell an agent
Get the audio detection alarm settings using token {token}.
Show the configured audio alarm.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/reolink:reolink-alarm-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

reolink-alarm-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Reolink Camera HTTP Alarm API
  description: The Reolink Camera HTTP API provides a RESTful interface for controlling and configuring Reolink IP cameras and NVRs.
  version: '8.0'
  contact:
    name: Reolink
    url: https://reolink.com
  license:
    name: Proprietary
    url: https://reolink.com
servers:
- url: https://{camera_ip}
  description: Reolink Camera or NVR
  variables:
    camera_ip:
      default: 192.168.1.100
      description: IP address of the Reolink camera or NVR
security:
- tokenAuth: []
tags:
- name: Alarm
  description: Motion detection, audio alarms, and detection zone configuration
paths:
  /cgi-bin/api.cgi?cmd=GetMdAlarm&token={token}:
    post:
      operationId: getMdAlarm
      summary: Get motion detection alarm settings
      description: Retrieves motion detection alarm configuration including sensitivity and zones.
      tags:
      - Alarm
      parameters:
      - $ref: '#/components/parameters/Token'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChannelRequest'
      responses:
        '200':
          description: Motion detection settings retrieved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommandResponse'
  /cgi-bin/api.cgi?cmd=SetMdAlarm&token={token}:
    post:
      operationId: setMdAlarm
      summary: Set motion detection alarm settings
      description: Configures motion detection alarm sensitivity, zones, and schedules.
      tags:
      - Alarm
      parameters:
      - $ref: '#/components/parameters/Token'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CommandRequest'
      responses:
        '200':
          description: Motion detection settings updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommandResponse'
  /cgi-bin/api.cgi?cmd=GetAiAlarm&token={token}:
    post:
      operationId: getAiAlarm
      summary: Get AI detection alarm settings
      description: Retrieves AI-powered detection alarm settings including person, vehicle, and animal detection configurations.
      tags:
      - Alarm
      parameters:
      - $ref: '#/components/parameters/Token'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChannelRequest'
      responses:
        '200':
          description: AI alarm settings retrieved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommandResponse'
  /cgi-bin/api.cgi?cmd=SetAiAlarm&token={token}:
    post:
      operationId: setAiAlarm
      summary: Set AI detection alarm settings
      description: Configures AI-powered object detection alarm parameters.
      tags:
      - Alarm
      parameters:
      - $ref: '#/components/parameters/Token'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CommandRequest'
      responses:
        '200':
          description: AI alarm settings updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommandResponse'
  /cgi-bin/api.cgi?cmd=GetAlarmArea&token={token}:
    post:
      operationId: getAlarmArea
      summary: Get alarm detection area
      description: Retrieves the configured alarm detection area zones.
      tags:
      - Alarm
      parameters:
      - $ref: '#/components/parameters/Token'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChannelRequest'
      responses:
        '200':
          description: Alarm area settings retrieved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommandResponse'
  /cgi-bin/api.cgi?cmd=SetAlarmArea&token={token}:
    post:
      operationId: setAlarmArea
      summary: Set alarm detection area
      description: Configures alarm detection area zones.
      tags:
      - Alarm
      parameters:
      - $ref: '#/components/parameters/Token'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CommandRequest'
      responses:
        '200':
          description: Alarm area settings updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommandResponse'
  /cgi-bin/api.cgi?cmd=GetAudioAlarm&token={token}:
    post:
      operationId: getAudioAlarm
      summary: Get audio alarm settings
      description: Retrieves audio detection alarm configuration.
      tags:
      - Alarm
      parameters:
      - $ref: '#/components/parameters/Token'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChannelRequest'
      responses:
        '200':
          description: Audio alarm settings retrieved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommandResponse'
components:
  schemas:
    CommandResponse:
      type: object
      properties:
        cmd:
          type: string
          description: The command that was executed
        code:
          type: integer
          description: Response code (0 for success)
        value:
          type: object
          description: Command-specific response data
        error:
          type: object
          properties:
            rspCode:
              type: integer
              description: Error response code
            detail:
              type: string
              description: Error detail message
    ChannelRequest:
      type: object
      required:
      - cmd
      - action
      - param
      properties:
        cmd:
          type: string
          description: The API command name
        action:
          type: integer
          description: Action type (0 for get)
        param:
          type: object
          required:
          - channel
          properties:
            channel:
              type: integer
              description: Camera channel number (starting from 0)
    CommandRequest:
      type: object
      required:
      - cmd
      - action
      properties:
        cmd:
          type: string
          description: The API command name
        action:
          type: integer
          description: Action type (0 for get, 1 for set)
        param:
          type: object
          description: Command-specific parameters
  parameters:
    Token:
      name: token
      in: path
      required: true
      description: Authentication token obtained from the Login command
      schema:
        type: string
  securitySchemes:
    tokenAuth:
      type: apiKey
      in: query
      name: token
      description: Authentication token obtained from the Login command. Pass as a query parameter on all requests after authentication.