Skip to main content

REST API Overview

The Woes REST API lets server-side integrations work with workspace support data using woesk_ workspace API keys. The API is designed for backend jobs, internal tools, customer portals, ingestion pipelines, reporting jobs, and workflow systems that need to create, read, or inspect Woes workspace records without using the operator UI.

API Reference

Generated OpenAPI reference for every active REST endpoint, including request bodies, responses, auth, and examples. Open the API Reference tab for the generated endpoint pages.

Authentication

Learn how workspace API keys work, where to create them, and how to pass Bearer tokens.

MCP Server

Connect AI tools and internal assistants to Woes through the remote Model Context Protocol endpoint.

Conversations

Guide page for creating conversations and adding customer or assistant messages.

Issues

Guide page for creating, reading, filtering, and updating support issues.

Clients

Guide page for reading client account aggregates, contacts, channel mix, health, and recent support activity.

Agents

Guide page for reading named agent metadata, source counts, learning status, and public widget keys.

Sources

Create, inspect, publish, delete, and rescan API context sources from your backend.

Definitions

Read workspace tags, statuses, priorities, and custom field definitions for sync jobs and external tools.

Usage

Read current-month public API calls, live API checks, source counts, agent counts, and per-key usage.

Analytics

Export sanitized agent, survey, widget, and customer-feedback aggregates.

Current Status

Base URL

Authentication

Send your workspace API key as a Bearer token.
Create keys in Settings → Keys. Full secrets are shown once and then stored hashed.

Test Calls In The Docs

Open any page in the Endpoint Reference group to test an API request from the docs. Each endpoint page has an interactive playground with example parameters and request bodies already filled in.
  1. Create a disposable test key in Settings → Keys.
  2. Paste that woesk_ key into the Bearer token field.
  3. Review the prefilled parameters or JSON body.
  4. Click Send to run the request against https://woes.dev.
Use a disposable test key in the docs playground. If you need scoped test keys, create them through backend or administrative tooling until the Settings scope picker is available. Do not paste a production integration key. Playground requests run against https://woes.dev and may transit the docs runtime when proxying is enabled. For production keys, run curl or SDK calls from your own backend and revoke playground test keys after use.
Valid public API calls are tracked against the workspace API key that authenticated the request. Admins can review per-key usage from Settings → Billing and manage keys from Settings → Keys.

Active Resources

Use the generated Endpoint Reference for exact request and response schemas. Use these REST API guide pages for workflow notes, tenant boundaries, and safe integration patterns.

Scopes

Workspace API keys can be unrestricted or scoped. Scoped keys use resource/action pairs: Only these exact scopes can be created today. Leaving the scope list empty creates an unrestricted key.
REST API keys are server-side secrets. Do not place woesk_ keys in browser code, widget snippets, mobile apps, or customer-visible pages.

Response Conventions

Successful list responses use an object: "list" envelope and include hasMore when more matching records exist beyond the requested limit. Object responses are wrapped by resource name, such as { "conversation": { ... } } or { "issue": { ... } }. Error responses use a stable code plus a human-readable error message:
Cross-workspace ids return 404 instead of revealing that a record exists in a different workspace.

Side-Effect Boundary

The REST API mutates workspace support records only. It does not invoke the live-chat widget identity flow, run the support agent, deliver Discord or email messages, or execute channel-specific automation side effects. Use channel or widget routes for customer messaging behavior. An assistant message created through the REST API is an externally supplied message, not a Woes agent run.
Last modified on July 3, 2026