kayako-api-function

Official

Add robust Kayako API function wrappers.

Authormyadmin-plugins
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It enables developers to safely extend a MyAdmin Kayako integration by adding a new procedural API function in src/api.php, enforcing validation-first input checks, isolated per-operation try/catch blocks, and consistent status reporting.

Core Features & Use Cases

  • Adds a new procedural API function to src/api.php following the project's validation-first, try/catch-per-operation pattern.
  • Initializes Kayako SOAP config, wraps each Kayako call in its own try/catch, returns status/status_text arrays.
  • Use when user says 'add API function', 'new ticket operation', 'create endpoint in api.php', or 'add support function'.
  • Do NOT use for modifying src/Plugin.php hook registration or for class-based API work.

Quick Start

Define the function in src/api.php with a PHPDoc block and implement the described validation, ownership checks, SOAP init, and per-operation try/catch blocks.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: kayako-api-function
Download link: https://github.com/myadmin-plugins/kayako-support/archive/main.zip#kayako-api-function

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.