Public integration

Developers

Widget JS

Embed install

<script src="https://your-relay13.example/widget/embed.js"
  data-workspace="skyehands"
  async></script>

Use the workspace slug from the console. Allowed domains protect the widget from unauthorized installs.

Server API

POST /api/v1/conversations
Authorization: Bearer r13_live_...

{
  "workspace_id": "ws_...",
  "customer_email": "lead@example.com",
  "message": "I need an integration."
}
scope

conversations:create

Create customer-facing threads from apps, forms, and automations.

scope

messages:write

Append customer, system, and operator messages through scoped API keys.

scope

widget:read

Resolve workspace widget config without exposing admin routes.