Documentation

WritSpark Developer Docs

Everything you need to integrate, extend, and get the most out of WritSpark.

Getting Started

Set up your account, connect your brand, and generate your first piece of content in under 5 minutes.

  • Create your account
  • Upload brand guidelines
  • Generate your first content
  • Invite team members

Authentication

Learn how to authenticate with the WritSpark API using API keys, OAuth 2.0, and SSO/SAML.

  • API key management
  • OAuth 2.0 flow
  • SSO with SAML
  • Scoped permissions

API Reference

Complete reference for all REST API endpoints, request/response schemas, and error codes.

  • Content generation
  • Brand voice management
  • Projects & templates
  • User management

SDKs & Libraries

Official client libraries for Python, Node.js, Go, and Ruby to integrate WritSpark into your stack.

  • Python SDK
  • Node.js SDK
  • Go SDK
  • Ruby SDK

Webhooks

Set up real-time event notifications for content generation, approvals, and publishing.

  • Webhook setup
  • Event types
  • Payload format
  • Retry policy

AI & Models

Understand how our AI works, including brand voice training, content quality scoring, and model selection.

  • Brand voice training
  • Content quality score
  • Tone adjustment
  • Model parameters

Quick Start Example

generate-content.ts
import { WritSpark } from 'writspark/sdk';

const quill = new WritSpark({
  apiKey: process.env.QUILL_API_KEY,
});

const content = await quill.generate({
  type: 'blog-post',
  topic: 'AI in Marketing: 2026 Trends',
  brandVoice: 'brand_voice_abc123',
  tone: 'professional',
  length: 'medium',
});

console.log(content.text);
// => "AI is reshaping how marketing
//     teams create, distribute..."