Ir para o conteúdo principal

Let's Work developers — API, OpenAPI, MCP, CLI

Public programmatic access for AI agents and developers. Product name in this title is intentional: Let's Work (letswork.com.br). Base URL https://www.letswork.com.br. OpenAPI machine spec: /docs/openapi-leads.json.

Authentication

Zero-auth: GET /wp-json/lw/v1/health, GET /wp-json/lw/v1/info, POST /wp-json/lw/v1/sandbox, and POST /wp-json/lw/v1/lead require no API key. Optional bearer tokens (higher rate limits) are issued after agent identity registration — self-serve, no sales form. Human trial of the HR app: 7 days at /cadastro without a credit card.

Endpoints

  • GET /wp-json/lw/v1/health — liveness JSON.
  • GET /wp-json/lw/v1/info — brand, NAP, trial, docs links.
  • POST /wp-json/lw/v1/lead — marketing lead. JSON body: nome (required), email (required), telefone, empresa, mensagem, origem.
  • POST /wp-json/lw/v1/sandbox — same schema, nothing stored.
  • POST /wp-json/lw/v1/graphql — read-only GraphQL for health, site, docs.
  • POST /wp-json/lw/v1/agent/identity — register an agent (see auth.md).

Example request

curl -sS -X POST https://www.letswork.com.br/wp-json/lw/v1/sandbox \
  -H 'Content-Type: application/json' \
  -d '{"nome":"Agent Example","email":"agent@example.com"}'

Errors

4xx/5xx use RFC 9457 application/problem+json with machine-readable code, human detail, and hint. Catalog: /docs/errors.

Versioning

URL path /lw/v1/. Deprecation uses Deprecation and Sunset headers. Policy: /docs/api-versioning.

CLI

Official CLI (no compile step): /cli/curl -fsSL https://www.letswork.com.br/cli/letswork -o letswork && chmod +x letswork. npm package layout is documented there for when the package is published to the registry.

MCP

Model Context Protocol server card: /.well-known/mcp/server-card.json, streamable HTTP at https://www.letswork.com.br/mcp.

Como podemos ajudar?

Escolha o canal de atendimento