Project Login (Sync)

Reading Time: 1 minute

Project Login Webhook makes it easy to add an extra security level by getting real-time information from another system if an agent has the appropriate rights to log in to a specific project. The success is either “true” or “false”, encoded in JSON.

In the response JSON object, each project indicated with a projectID needs to be true if the access is granted to an agent, otherwise it is false. If an agent has no access right to at least one project (that is: “false” answer arrived), the system does not allow the agent to log in, and the denied projects will be shown in a pop-up window.

Note: If you set the request method to GET, Webhook parameters are sent in HTTP query parameters. In all other cases (POST or PUT), Webhook parameters are sent in an HTTP body.

Warning: If server side is not well prepared, agents’ login is rejected.

Table of Contents

Request Object

Name Type Comment
customData object Agent custom data object.
groupId integer Agent group identifier.
projectId integer Project identifier.
secondaryProjectIds array of integers Secondary project identifier(s).
userId integer Agent identifier.
username string Agent username.

Sample Request Body

{
  "projectId": 1,
  "userId": 2,
  "username": "x",
  "groupId": 2,
  "customData": [],
  "secondaryProjectIds": [2, 3, 4, 5]
}

Sample Response Body

{
  "1": true,
  "2": true,
  "3": false,
  "4": true,
  "5": true
}

There are no comments yet.
Subscribe to our newsletter
or Contact us!
Please note that by subscribing to our newsletter, you agree to receive regular email messages from VCC Live® about service related news and updates. By subscribing to our newsletter, you also agree that VCC Live® will use your data in accordance with the applicable Privacy Policy until you unsubscribe from the newsletter.

Privacy Settings Center

Necessary

Necessary cookies are essential in order to navigate around a website and use its basic features. You must accept these cookies as the website cannot function properly without them.

__cfduid,debug,PHPSESSID

Marketing

Marketing cookies are used to track visitors across websites and deliver advertisements that are more relevant and engaging to you.

__atuvc,__atuvs,_at.cww,_hjIncludedInSample,_hjRecordingEnabled,ads/user-lists/#,at-lojson-cache-#,at-rand,bt2,di2,_fbp,IDE,lidc,loc,NID,ouid,r/collect,rc::a,rc::b,s,test_cookie,uid,uvc,vc,xtc

Statistics

Statistic cookies collect data to help us understand how visitors use our websites and are used to improve the user experience. These cookies don’t collect personal information and cannot identify visitors.

_ceg.s,_ceg.u,_ga,_gat,_gid,_gat_UA-1696494-11

Other

Other cookies are those cookies that do not fall into the categories above. These cookies are in the process of being classified.

loglevel,socketCluster.authToken,u,webchatClientId,webchatOpen