Index of every page on this site: llms.txt
All skills
masheev avatar

/masheev-api

@21d3a39
by masheevmasheev/skills1 stars
Run it yourself

Use when calling the Masheev API for contacts, conversations, messages, inboxes, AI agents, knowledge base, or any server-to-server integration. Covers authentication with API keys, the @masheev/client tRPC client, REST endpoints, pagination, rate limiting, and common CRUD operations. Use this skill whenever someone asks to "call the Masheev API", "create contacts", "list conversations", "send messages", "manage inboxes", or integrate Masheev into their backend. Also use when setting up @masheev/client in Node.js, React, Next.js, or React Native.

Use this Skill: https://skilld.dev/gh/masheev/skills/masheev-api

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesconversations.md

≈519 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Conversations API

List Conversations

const result = await apiClient.conversations.list.query({
  status: "open",                    // Optional: "open" | "pending" | "snoozed" | "resolved"
  assigneeId: "agt_...",             // Optional: filter by assigned agent
  inboxId: "inb_...",               // Optional: filter by inbox
  priority: "high",                  // Optional: "low" | "medium" | "high" | "urgent"
  limit: 50,                         // Default: 50, max: 200
  cursor: undefined,                 // Cursor from previous page
});
// result: { items: Conversation[], nextCursor?: string }

Get Conversation

const conversation = await apiClient.conversations.get.query({
  id: "conv_...",
});

Update Conversation

await apiClient.conversations.update.mutate({
  id: "conv_...",
  status: "resolved",
  priority: "low",
  assigneeId: "agt_...",           // Assign to a specific agent
  labelIds: ["label_...", "label_..."],
});

Batch Update

await apiClient.conversations.batchUpdate.mutate({
  ids: ["conv_...", "conv_...", "conv_..."],
  status: "resolved",
});

Archive Conversation

await apiClient.conversations.archive.mutate({
  id: "conv_...",
});

Conversation Schema

interface Conversation {
  id: string;                      // "conv_..."
  orgId: string;
  inboxId: string;
  contactId: string;
  displayId: number;               // Human-readable #123
  subject?: string;
  status: "open" | "pending" | "snoozed" | "resolved";
  priority?: "low" | "medium" | "high" | "urgent";
  assigneeType: "ai" | "agent" | "unassigned";
  assigneeId?: string;
  channel: "voice" | "sms" | "whatsapp" | "chat" | "email" | "instagram" | "google_reviews";
  inbound: boolean;
  lastActivityAt: string;
  firstResponseAt?: string;
  resolvedAt?: string;
  labelIds: string[];
  messageCount: number;
  unreadCount: number;
  outcome?: string;
  outcomeData?: Record<string, unknown>;
  createdAt: string;
  updatedAt: string;
}

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning7mo3 checks · Risk SAFE
  • Gen Agent Trust Hub7mo

    This skill is a documentation and reference guide for the Masheev API. It provides code examples and integration patterns for managing contacts, conversations, and messages using the @masheev/client library and standard REST endpoints. The skill follows security best practices by using placeholders for sensitive credentials and referencing official vendor-owned resources.

  • Socket7mo

    No alerts

  • Snyk7mo

    Risk: MEDIUM · 2 issues

Signed by skilld at 21d3a39. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 weeks ago.

Activeupdated 7 months ago
metadata
{
  "author": "masheev",
  "version": "0.1.0"
}

README badge

README badge for masheev/skills/masheev-api