To save/import data which is one of (skillsGroups, Queues, StandardResponses, Waiting Experience) by giving details with account Id and org Id.
Method | POST |
Endpoint | http://{host}/agentassist/api/public/analytics/{instanceBotId}/exportSmartAssistFunctionalities |
Content Type | application/json |
Authorization | auth: {{JWT}} See How to generate the JWT Token. |
APi Scope | SmartAssist Import and Export Feature |
Sample Request
curl --location 'https://{{host}}/agentassist/api/v1/public/analytics/st-9a5e4e7d-f540-5cb3-83ed-639cdc4dxxxx/importSmartAssistFunctionalities?accountId=6380a09712e4bb225cfxxxxx&orgId=o-c746bb05-0b76-5753-872d-f6cd4719xxxx&type=waitingExperience' \ --header 'Accept: application/json, text/plain, /' \ --header 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8' \ --header 'AccountId: 6380a09712e4bb225cf2xxxx' \ --header 'Cache-Control: no-cache' \ --header 'Connection: keep-alive' \ --header 'Content-Type: application/json;charset=UTF-8' \ --header 'Pragma: no-cache' \ --header 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36' \ --header 'X-Timezone: Asia/Calcutta' \ --header 'X-Timezone-Offset: -330' \ --header 'app-language: en' \ --header 'bot-language: en' \ --header 'sec-ch-ua-platform: "Linux"' \ --header 'smartassist: true' \ --header 'state: configured' \ --header 'auth: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwiYXBwSWQiOiJjcy03NzIyYzI5Zi0wNzk1LTVmYjYtOTY2MS0xZjgyNThmYjA3MjQifQ.7mizbO7uEu68IKBjX7u-TpL-4Inl_AjSSIhWCtDxxxx' \ --header 'accountId: 6380a09712e4bb225cf2xxxx'
Body Parameters
Parameter | Description | Type |
---|---|---|
Data | The data that is to be imported. | String, Required |
orgId | This field should have an orgId. | String, Required |
accountId | This field should have an accountId. | String, Required |
type | This field should have a type. | String, Required |
userId | This field should have a userId. | String, Required |
Sample Response
The response will be a success message.