A valid request URL is required to generate request examples{
"success": true,
"data": {
"agentId": "agent_123",
"source": "custom",
"theme": {
"mode": "auto",
"accent": "#0ea5e9",
"launcher": {
"size": "standard",
"label": "Chat with us"
}
},
"copy": {
"headerTitle": "Support"
},
"behavior": {
"poweredBy": true,
"autoOpenMs": 4000
}
}
}{
"type": "about:blank",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}{
"type": "about:blank",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}{
"type": "about:blank",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}Replace widget config
Replaces an agent’s chat widget configuration with the supplied settings and returns the saved result.
A valid request URL is required to generate request examples{
"success": true,
"data": {
"agentId": "agent_123",
"source": "custom",
"theme": {
"mode": "auto",
"accent": "#0ea5e9",
"launcher": {
"size": "standard",
"label": "Chat with us"
}
},
"copy": {
"headerTitle": "Support"
},
"behavior": {
"poweredBy": true,
"autoOpenMs": 4000
}
}
}{
"type": "about:blank",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}{
"type": "about:blank",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}{
"type": "about:blank",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}Authorizations
Flowyte secret API key (Authorization: Bearer flowyte_sk_live_…). Scope-gated; is scoped to your organization — a key can never reach another tenant. The listed scopes in each operation's apiKey requirement are the scopes that key must hold. The tokenUrl is nominal: keys are minted in the dashboard.
- Token URL
- /api/v1/api-keys
Path Parameters
The agent this resource is scoped to (the UUID returned by createAgent / listAgents).
Body
Partial update; each present block replaces that whole block, an absent block is unchanged.
Appearance block. One accent drives everything; neutrals are not derived from it.
Show child attributes
Show child attributes
Text overrides; each null field falls back (title→agent name, subtitle/disclaimer→hidden, placeholder→default).
Show child attributes
Show child attributes
Runtime block.
Show child attributes
Show child attributes