Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

Latest commit

 

History

History
58 lines (40 loc) · 20.8 KB

deprecated-endpoints.md

File metadata and controls

58 lines (40 loc) · 20.8 KB

Deprecated Endpoints

The methods and endpoints of the Rest API and Realtime API that have been depreciated are listed below.

REST API

Endpoints to be removed

EndpointRelease deprecatedPlanned removalDescription
/users.createToken6.8.08.0.0The endpoint will be removed.
/licenses.get6.5.07.0.0The endpoint is replaced by /licenses.info
/licenses.isEnterprise6.5.07.0.0The endpoint is replaced by /licenses.info
/livechat/room.visitor5.2.07.0.0The endpoint will be removed.
/livechat/inquiries.queued5.4.17.0.0The endpoint is replaced by /livechat/inquiries.queuedForUser

Removed endpoints

The following endpoints have been removed:

Endpoint Release deprecated Release removed
/livechat/office-hours 5.0.0
/v1/info 1.0.0 1.12.0
/emoji.custom 1.0.0 1.12.0
/permissions.list 0.73.0 1.11.0
/permissions 0.66.0 0.69.0
/channels.cleanHistory 0.64.0 0.67.0
/user.roles 0.63.0 0.66.0

Renamed endpoints

The following endpoints have been replaced:

Endpoint Renamed endpoint Release
/livechat/business-hours.list /livechat/business-hours 5.0.0
/livechat/departments.available-by-unit/:unitId /livechat/units/:unitId/departments/available 5.0.0
/livechat/departments.by-unit/:unitId /livechat/units/:unitId/departments 5.0.0
/livechat/monitors.list /livechat/monitors 5.0.0
/livechat/units.getOne /livechat/monitors/:username 5.0.0
/livechat/priorities.list /livechat/priorities 5.0.0
/livechat/priority.getOne /livechat/priorities/:priorityId 5.0.0
/livechat/tags.list /livechat/tags 5.0.0
/livechat/tags.getOne /livechat/tags/:tagId 5.0.0
/livechat/units.list /livechat/units 5.0.0
/livechat/units.getOne /livechat/units/:unitId 5.0.0
/livechat/unitMonitors.list /livechat/units/:unitId/monitors 5.0.0

Changes in parameters

ParameterEndpoints affectedRelease deprecatedPlanned removalDescription
query and fields query parametersAll endpoints5.0.07.0.0The parameters are removed to avoid malicious queries. Check the endpoints for alternatives.
roleroles.getUsersInRole4.6.07.0.0The parameter will stop being interpreted as the role name as a fallback (enter the role ID instead).
roleNameroles.addUserToRole4.6.07.0.0The parameter will stop being accepted (use the roleId parameter instead).
roleNameroles.removeUserFromRole4.6.07.0.0The parameter will stop being accepted (use the roleId parameter instead).
appIdoauth-apps.get6.0.07.0.0The parameter will stop being accepted (use the clientId or _id parameters instead).

Realtime API

MethodRelease deprecatedRemoval
reportMessage6.2.07.0.0
livechat:getDepartmentForwardRestrictions5.2.07.0.0
livechat:getFirstRoomMessage5.2.07.0.0
cleanChannelHistory0.64.00.67.0
addOAuthApp6.0.06.0.0
canAccessRoom4.1.15.0.0

Replaced methods

MethodRelease deprecatedPlanned removalDescription
muteUserInRoom6.8.08.0.0Replaced by the /rooms.muteUser endpoint.
unmuteUserInRoom6.8.08.0.0Replaced by the /rooms.unmuteUser endpoint.
inserOrUpdateUser6.7.08.0.0Users upsert won't be allowed anymore (the method will be completely removed).
livechat:removeTrigger6.5.07.0.0Replaced by the /livechat/triggers/:_id (DELETE) endpoint.
livechat:discardTranscript6.4.07.0.0Replaced by the /livechat/transcript/:rid (DELETE) endpoint.
livechat:getAgentOverviewData6.4.07.0.0Replaced by the /livechat/analytics/agent-overview endpoint.
livechat:getAnalyticsOverviewData6.4.07.0.0Replaced by the /livechat/analytics/overview endpoint.
livechat:requestTranscript6.4.07.0.0Replaced by the /livechat/transcript/:rid endpoint.
livechat:saveAppearance6.4.07.0.0Replaced by the /livechat/appearance endpoint.
livechat:saveTrigger6.4.07.0.0Replaced by the /livechat/triggers endpoint.
livechat:getAgentData6.4.07.0.0Replaced by the /livechat/agent.info/:rid/:token endpoint.
livechat:resumeOnHold6.3.07.0.0Replaced by the /livechat/room.resumeOnHold endpoint.
deleteMessage6.2.07.0.0Replaced by chat.delete endpoint.
livechat:saveIntegration6.2.07.0.0Replaced by the /omnichannel/integrations (POST) endpoint.
addOauthApp6.2.07.0.0Replaced by the oauth-apps.create endpoint.
livechat:closeRoom6.0.07.0.0Replaced by the /livechat/room.close or /livechat/room.closeByUser endpoints.
listEmojiCustom5.4.37.0.0Replaced by emoji-custom.list endpoint.
getAvatarSuggestion5.4.07.0.0Replaced by the users.getAvatarSuggestion endpoint.
refreshClients5.4.07.0.0This is now triggered by assets.setAsset and assets.unsetAsset.
eraseRoom5.4.07.0.0Replaced by rooms.delete endpoint.
checkUsernameAvailability5.4.07.0.0Replaced by users.checkUsernameAvailability endpoint.
Mailer:unsubscribe5.4.07.0.0Replaced by the mailer.unsubscribe endpoint.
Mailer.sendMail5.4.07.0.0Replaced by the mailer endpoint.
sendConfirmationEmail5.4.07.0.0Replaced by users.sendConfirmationEmail endpoint.
livechat:changeLivechatStatus5.4.07.0.0Replaced by the /livechat/agent.status endpoint.
livechat:webhookTest5.4.07.0.0Replaced by the /livechat/webhook.test endpoint.
livechat:saveInfo5.3.07.0.0Replaced by the /livechat/room/save.info endpoint.
livechat:addAgent5.2.07.0.0Replaced by the /livechat/agent endpoint.
livechat:addManager5.2.07.0.0Replaced by /livechat/manager endpoint.
livechat:getCustomFields5.2.07.0.0Replaced by the /livechat/custom-fields endpoint.
livechat:getNextAgent5.2.07.0.0Replaced by the /livechat/agent.next/:token endpoint.
livechat:getTagsList5.2.07.0.0Replaced by the /livechat/tags endpoint.
livechat:loadHistory5.2.07.0.0Replaced by the /livechat/messages.history/:rid endpoint.
livechat:loginByToken5.2.07.0.0Replaced by th /livechat/visitor/:token endpoint.
livechat:pageVisited5.2.07.0.0Replaced by the /livechat/page.visited endpoint.
livechat:registerGuest5.2.07.0.0Replaced by the /livechat/visitor endpoint.
livechat:removeAgent5.2.07.0.0Replaced by the /livechat/users/agent/:_id endpoint.
livechat:removeDepartment5.2.07.0.0Replaced by the /livechat/department/:_id endpoint.
livechat:removeManager5.2.07.0.0Replaced by the /livechat/users/manager/:_id endpoint.
livechat:saveDepartmentAgents5.2.07.0.0Replaced by the /livechat/department/:_id/agents endpoint.
livechat:saveSurveyFeedback5.2.07.0.0Replaced by the /livechat/room.survey endpoint.
livechat:searchAgent5.2.07.0.0Replaced by the /livechat/users/agent/:_id endpoint.
livechat:sendOfflineMessage5.2.07.0.0Replaced by the /livechat/offline.message endpoint.
livechat:setCustomField5.2.07.0.0Replaced by the /livechat/visitor endpoint.
livechat:setDepartmentForVisitor5.2.07.0.0Replaced by the /livechat/visitor endpoint.
livechat:transfer5.2.07.0.0Replaced by the /livechat/room.forward endpoint.
roomNameExists5.1.07.0.0Replaced by rooms.nameExists endpoint.
removeWebdavAccount5.1.07.0.0Replaced by webdav.removeWebdavAccount endpoint.
getPasswordPolicy5.1.07.0.0Replaced by the pw.getPolicy endpoint.

Changes in parameters

MethodParameters affectedRelease deprecatedPlanned removalDescription
apps (POST)downloadOnly6.6.07.0.0The parameter will stop being accepted.
authorization:removeUserFromRoleroleId4.6.07.0.0The parameter will stop being interpreted as the role name as a fallback (use the role ID instead).
authorization:deleteRoleroleId4.6.07.0.0The parameter will stop being interpreted as the role name as a fallback (use the role ID instead).
authorization:addUserToRoleroleId4.6.07.0.0The parameter will stop being interpreted as the role name as a fallback (use the role ID instead).