Leadsmart
  1. Agent Configuration
Leadsmart
  • API Reference
  • Docs
    • LeadSmart API Documentation
    • Services
    • Middleware
    • Integrations
    • Database
    • Architecture
  • Authentication
    • Register
      POST
    • Update User
      PATCH
    • Login
      POST
    • Logout
      POST
    • Reset Password
      POST
    • Change Email
      POST
    • Request Password Reset
      POST
    • Request Email Change
      POST
    • Upload Profile Picture
      POST
    • Verify Email
      GET
  • Companies
    • Create Company
      POST
    • Join Company
      POST
    • Get All User Company
      GET
    • Get user Company
      GET
    • Update Company
      PATCH
    • Deactivate Company
      PATCH
    • Activate Company
      PATCH
    • Reset Invite Code
      PATCH
  • Members
    • Create a Member
    • Get All Member
    • Get Single Member
    • Update Member
    • Deactivate Member
    • Activate Member
  • Agendas
    • Create Company Agenda
    • Get All Agendas
    • Get Single Agenda
    • Get Agenda with Appoint
    • Get Available Slots
    • Update Agenda
    • Delete Agenda
    • Activate Agenda
    • Create Agenda Integration
    • Delete Agenda Integration
  • Appointments
    • Create Appointment
    • Get All Appointments
    • Get Appointment
    • Add Members
    • Delete Members
    • Update Appointment
    • Update Date
  • Plans
    • Get Single Plan
    • Get All Plans
    • Create Plan
    • Delete Plan
    • Update Plan
  • Plans Duration
    • Get Single Plan Duration
    • Create Plan Duration
    • Delete Plan Duration
    • Update Plan Duration
  • Company Roles
    • Get Single Company Role
    • Get All Company Roles
    • Create Company Role
    • Delete Company Role
    • Update Company Role
  • Clients
    • Get All Clients
    • Create Client
    • Get Client By Id
    • Update Client
    • Delete Client
  • Client Threads
    • Get Thread By Id
    • Get All By Client
    • Get All By Instance
    • Update Thread
    • Delete Client Thread
  • Admin
    • Get All Plans Duration
    • Get All Plans
    • Create Plan
    • Get All Members
    • Get All Companies
  • Chatwoot Accounts
    • Get Chatwoot Account
    • Update Chatwoot Account
    • Delete Chatwoot Account
    • Create Chatwoot Account
  • Integrations
    • Tokens
      • Fetch All Tokens
      • Fetch Token
      • Update Token
      • Remove Token
    • Google
      • Create Auth URL
      • Regenerate Auth URL
      • Renew Google Webhook
    • External Calendar
      • Create External Event
      • Update External Event
      • Delete External Event
      • Validate Calendar Id
      • Fetch External Calendars
  • AI Keys
    • Get All AI Keys
    • Get AI Keys By ID
    • Create AI Key
    • Update AI Key
    • Delete AI Key
  • Agent Prompts
    • Get All Agent Prompts
    • Get Agent Prompt By ID
    • Create Agent Prompt
    • Update Agent Prompt
    • Delete Agent Prompt
  • Agent Configuration
    • Get All Agent Configurations
      GET
    • Get Agent Configuration By ID
      GET
    • Create Agent Configuration
      POST
    • Update Agent Configuration
      PATCH
    • Delete Configuration Prompt
      DELETE
  • Agent Prompt Versions
    • Get Active Agent Prompt
    • Get All Agent Prompt Versions
    • Get Agent Prompt Version By ID
    • Create Agent Prompt Version
    • Update Agent Prompt Version
    • Update Agent Prompt Version Copy
    • Delete Agent Prompt Version
  • Messaging
    • Instances
      • Create Instance
      • Get All Instance
      • Get Instance
      • Update Instance
      • Connect Instance
      • Disconnect Instance
      • Activate Instance
      • Deactivate Instance
    • Message
      • Send Message
  • Notifications
    • Get All Notifications
    • Get Notification By ID
    • Create Notification
    • Delete Notification
  • Whatsapp Notification Configuration
    • Get All Whatsapp Notification Configs By Company
    • Create Notification Config
    • Get Notification Config By ID
    • Delete Config Notification
    • Update Config Notification
  • Notification Configurations
    • Get All Notification Configs By Company
    • Create Notification Config
    • Get Notification Config By ID
    • Delete Config Notification
    • Update Config Notification
  1. Agent Configuration

Create Agent Configuration

POST
/agent-configurations/{companyId}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST '/agent-configurations/{{companyId}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "aiKeyId": "1326cc69-71a8-4e06-a5a6-cd37b552ab65",
    "agentPromptId": "7db52cf9-d230-4696-a0c7-77a53d9bbce8",
    "name": "Luísa Simões",
    "description": "Enim cuppedia peccatus timidus anser tollo. Laudantium alienus charisma solvo tribuo veritatis soleo ipsum copia. Tempus astrum derelinquo demum. Studio thymbra pectus caput ullam conscendo dolore complectus. Supellex sed cicuta. Tergum nemo arbor solum turba vinco quasi compono atavus.",
    "typingDelay": 3000,
    "blockTime": 500000,
    "temperature": 0.5,
    "ignoreIds": [

    ],
    "allowedGroups": [

    ],
    "active": true
}'
Response Response Example
{}

Requisição

Parâmetros Path

Parâmetros Bodyapplication/json

Examples

Respostas

🟢200Success
application/json
Body

Modificado em 2025-08-04 18:16:54
Página anterior
Get Agent Configuration By ID
Próxima página
Update Agent Configuration
Built with