Skip to main content
POST
Updates the agent's system prompt and/or begin message via the API

Authorizations

Authorization
string
header
required

Lawtte API key or session token: Authorization: Bearer <token>.

Body

application/json
agentId
string
required

Agent ID.

generalPrompt
string

New system prompt for the agent.

beginMessage
string

New opening message the agent speaks.

Response

Success

The response is of type object.