Create Agent (Token Authentication)Ask AIpost https://{domainname}/ca_apis/createAgentCreate a new agent in the system.Query ParamsdetailedResponsebooleanSet this parameter to true to receive a detailed success response. Any other value will be ignored by the API.truefalseBody ParamsuserNamestringCloudAgent account usernameagentIdstringUnique ID for the agentagentNamestringFull name of the agentpasswordstringPassword for agent loginemailstringAgent's email addressautoAnswerstringAuto answer setting for the agent (e.g., All, None, Inbound, Outbound.)sipLocationstringSIP server location for the agent. Give the location name.agentDatastringAdditional data for internal use.agentGroupsstringComma-separated group names assigned to the agentscreenRecordingbooleanEnable or disable screen recordingtruefalseinboundbooleanEnable inbound calling modetruefalsemanualbooleanEnable manual calling modetruefalsepreviewbooleanEnable preview dialing modetruefalseprogressivebooleanEnable progressive dialing modetruefalsechatbooleanEnable chat modetruefalseblendedbooleanEnables blended modetruefalseblendedInboundbooleanEnable inbound calls in blended modetruefalseblendedManualbooleanEnable manual dialing in blended modetruefalseblendedPreviewbooleanEnable preview mode in blended setuptruefalseblendedProgressivebooleanEnable progressive dialing in blended setuptruefalseblendedChatbooleanEnable chat in blended modetruefalsecallControlsobjectPermissions for the agent on various call controlscallControls objectskillsarray of objectsList of skills assigned to the agent with priority levelsskillsADD objectHeadersContent-TypestringResponse 200Successful responseUpdated 20 days ago