# Thistinct API

Public HTTP surface for [thistinct.dev](https://thistinct.dev/). Machine-readable spec: [openapi.json](/openapi.json).

## Contact / project inquiry

`POST /api/contact`

Submits a project inquiry to the studio. Typical response time is **24 hours**. No OAuth bearer token is required for this endpoint.

```http
POST /api/contact HTTP/1.1
Host: thistinct.dev
Content-Type: application/json

{
  "firstName": "Ada",
  "lastName": "Lovelace",
  "email": "ada@example.com",
  "company": "Analytical Engines",
  "message": "We need a Rails MVP and an iOS companion app."
}
```

Required fields: `firstName`, `lastName`, `email`, `message`. Optional: `company`.

Responses: `200` accepted, `400` invalid body, `500` delivery failure.

## Health

`GET /api/health` returns `{ "status": "ok" }`.

## MCP

Streamable HTTP MCP server at `https://thistinct.dev/mcp`. Server card: `/.well-known/mcp/server-card.json`.

Tools: `get_studio_info`, `list_services`, `submit_inquiry`.

## Auth for agents

See [auth.md](/auth.md). Discovery: `/.well-known/oauth-protected-resource` and `/.well-known/oauth-authorization-server`.
