Set the workspace language for agent defaults
Set the workspace language for agent defaults with the Mailly email API for AI agents: PUT /agents/preferences. Parameters, request body, responses and code samples.
PUT
Agents without a custom summary prompt use the default prompt for this language. Custom prompts are not changed.
bearerAuthheader
AuthorizationBearer <token>Mailly API key(Authorization: Bearer )
application/json- body
locale?stringValue in
"zh-CN""en-US"[key: string]?unknownSaved
application/json- response
success*booleansummary_locale*string[key: string]?unknowncurl -X PUT 'https://api.mailly.site/agents/preferences' \ -H 'Content-Type: application/json' \ -d '{ "property1": null, "property2": null}'{ "success": true, "summary_locale": "string", "property1": null, "property2": null}Run details (with draft and trace) GET
Run details (with draft and trace) with the Mailly email API for AI agents: GET /agents/runs/{id}. Parameters, request body, responses and code samples.
Update an agent profile PATCH
Update an agent profile with the Mailly email API for AI agents: PATCH /agents/{id}. Parameters, request body, responses and code samples.