API Documentation

Build powerful integrations with ShadowMe

Quick Start

1. Get Your API Key

Generate your production key in Settings → API Access

2. Install SDK

npm install @shadowme/sdk
# or
pip install shadowme-sdk

3. Make Your First Request

import { ShadowMe } from '@shadowme/sdk';

const client = new ShadowMe({
  apiKey: 'sk_test_••••••••••••••••'
});

const content = await client.content.generate({
  content_type: 'email',
  subject: 'Meeting follow-up',
  context: 'Thank the client for their time'
});

console.log(content.body);
POST
/api/v1/content/generate

Generate AI content based on tone profile

Request Body

{
  "content_type": "email",
  "subject": "string",
  "context": "string",
  "tone_profile_id": "string (optional)"
}

Response

{
  "id": "string",
  "body": "string",
  "subject": "string",
  "status": "pending | approved"
}
POST
/api/v1/voice/generate

Generate voice audio from text

Request Body

{
  "voice_profile_id": "string",
  "text_content": "string",
  "use_case": "presentation | podcast | video_narration",
  "settings": {
    "speaking_rate": 1,
    "pitch": 1,
    "emotion": "neutral"
  }
}

Response

{
  "id": "string",
  "audio_url": "string",
  "duration_seconds": "number",
  "status": "completed | failed"
}
POST
/api/v1/tasks/create

Create a new task

Request Body

{
  "title": "string",
  "description": "string",
  "priority": "low | medium | high | urgent",
  "due_date": "date",
  "task_type": "string"
}

Response

{
  "id": "string",
  "title": "string",
  "status": "pending",
  "priority_score": "number"
}
GET
/api/v1/analytics/team/{team_id}

Get team analytics

Request Body

{
  "period_start": "date",
  "period_end": "date"
}

Response

{
  "metrics": {
    "tasks_completed": "number",
    "completion_rate": "number",
    "team_velocity": "number"
  },
  "ai_insights": {
    "productivity_trend": "string",
    "recommendations": [
      "string"
    ]
  }
}
Official SDKs

JavaScript / TypeScript

npm install @shadowme/sdk

Python

pip install shadowme-sdk