SexControl API

Simple REST API for controlling connected sex toys

Version 1.0

Overview

The SexControl API allows developers to remotely control compatible sex toys through simple HTTP requests.

Base URL: https://sex.mkzmch.ru/v1/api

Authentication required Rate limit: 60 req/min

Authentication

All requests must include an API key in the header:

Authorization: Bearer YOUR_API_KEY

Available Commands

POST /command — Send a command to a device

Request Body

Field Type Description Required
device_id string Unique identifier of the sex toy Yes
command string vibrate, pattern, or stop Yes
intensity integer 0–100 (vibration strength) No (default: 50)
duration integer Duration in seconds No (default: 30)
pattern string Predefined pattern name Only when command=pattern

Supported Patterns

Examples

Start Vibration

POST https://sex.mkzmch.ru/v1/api/command Content-Type: application/json Authorization: Bearer sk_test_123abc... { "device_id": "toy_98765", "command": "vibrate", "intensity": 75, "duration": 120 }

Trigger a Pattern

POST https://sex.mkzmch.ru/v1/api/command Content-Type: application/json Authorization: Bearer sk_test_123abc... { "device_id": "toy_98765", "command": "pattern", "pattern": "wave", "intensity": 60 }

Stop Device

POST https://sex.mkzmch.ru/v1/api/command Content-Type: application/json Authorization: Bearer sk_test_123abc... { "device_id": "toy_98765", "command": "stop" }
Simple API designed for sex toy integration