Back to Skills

api-client

Универсальный REST API клиент для MikoPBX с автоматической аутентификацией и выполнением запросов внутри Docker контейнеров. Использовать когда нужно тестировать API эндпоинты, выполнять CRUD операции (GET, POST, PATCH, DELETE) или отлаживать API ответы с конкретными параметрами.

513stars75forksUpdated 2/17/2026

Security Assessment

Low Risk(70/100)

Detected risks:

Secret Exposure([README.md] PASSWORD=, [SKILL.md] PASSWORD=)
Security Score70/100

About api-client

The 'api-client' skill is a versatile tool designed for interacting with the MikoPBX REST API. It simplifies the process of testing API endpoints by automating authentication and eliminating the need for manual token management or constructing curl commands. This skill works seamlessly inside Docker containers, detecting and utilizing running MikoPBX containers for network-isolated testing, ensuring that requests can be made securely and efficiently. It enables users to easily perform CRUD operations, troubleshoot API responses, and verify data integrity in a controlled environment.

FAQ

How does the skill handle authentication?

The skill automatically obtains JWT tokens through the auth-token-manager skill, eliminating the need for manual authentication.

Can the skill execute API requests inside Docker containers?

Yes, the skill detects and uses running MikoPBX containers (mikopbx-php83 and mikopbx_php74) to execute API requests within the container for network isolation.

What HTTP methods does the skill support?

The skill supports all major HTTP methods: GET, POST, PATCH, DELETE, and PUT for performing a wide range of API operations.

Can I limit the number of lines in the API response?

Yes, the skill allows users to limit the output to a specified number of lines, or show the full output without any limits.

Are there any limitations on the types of data that can be sent?

The skill supports query strings, form data, and JSON payloads for sending data in requests.

All Files

2 files
README.md5.0 KB
View
SKILL.md15.8 KB
View

Install api-client

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill

Repository

mikopbx/Core