support_agent_create
Create a support agent profile for this product.
Create a support agent profile for this product. Binding a Lessly identity is optional and the value is stored verbatim — nothing resolves it or checks that the user exists. An unbound profile is a bot or the client's own backend, and it replies exactly like a human agent does
Behavior
- HTTP
POST /support/agents
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
| title | string | — | Job title shown under the name, e.g. "Support engineer" |
| avatarUrl | string | — | Absolute URL of the agent avatar image |
| displayName | string | • | Name the end user sees next to this agent replies |
| lesslyUserId | string | — | Lessly identity to bind this profile to, stored verbatim as an opaque string. It is never resolved, validated against the platform or enriched. Omit it for a bot or a backend profile. At most one agent per product may claim a given Lessly user |
Response
| Field | Type | Always | Description |
|---|---|---|---|
| id | string | • | Agent id |
| title | string | • | Job title shown under the name, or null if unset |
| isActive | boolean | • | A deactivated agent keeps its history but can no longer be put on a thread |
| avatarUrl | string | • | Avatar image URL, or null if unset |
| createdAt | string | • | ISO-8601 creation timestamp |
| updatedAt | string | • | ISO-8601 last-modification timestamp |
| displayName | string | • | Name shown next to the agent replies |
| lesslyUserId | string | • | Bound Lessly identity, stored verbatim and resolved by nobody. Null for an unbound profile — a bot or the client's own backend, which replies just like anyone else |
Try it
Create a support agent profile for this product.