DEVELOPERS
Wordsmith for developers
Build on the Wordsmith platform. API docs, SDKs, and developer resources.
Read the docsAPI OVERVIEW
A legal assistant you can call from anywhere.
Wordsmith is a legal AI assistant designed to automate repetitive tasks for lawyers — document summarization, legal document review, research and analysis, and question answering with legal context. The Public API exposes those same capabilities through a simple REST interface so you can ask questions, upload and process documents, retrieve user and account information, and integrate Wordsmith's assistant into your existing workflows.
- REST API BASE
- https://api.wordsmith.ai/api/v1
- MCP ENDPOINT
- https://mcp.wordsmith.ai
Connect any MCP-compatible client to the Wordsmith legal AI platform.
- Ask questions and get AI-powered legal insights
- Upload and process documents for review or summarization
- Retrieve user and account information
- Integrate Wordsmith's capabilities into your existing workflows
Start building.
Quickstart
Authenticate, ask your first question, and upload a document in three curl calls. Covers sync vs async execution modes and common error codes.
Authentication
Bearer-token authentication using API keys generated from your Wordsmith dashboard. Keys are prefixed with sk-ws-api1-.
API reference
Assistants, files, playbooks, templates, and user endpoints — every parameter, response shape, and status code. Fully OpenAPI-backed.
Webhooks
Register callback URLs on async questions to receive completion notifications via HTTP POST instead of polling for results.
SDKs and libraries
No official SDKs yet — the API works with any HTTP client in Python (requests, httpx), Node.js (fetch, axios), PHP, Ruby, or Java.
Full documentation
Introduction, errors reference, rate limits, and every endpoint live in the Mintlify-hosted docs site.
