Legacy Dev Forum Posts

 View Only

Sign Up

  • 1.  PureCloud Webservice Help

    Posted 06-05-2025 18:43

    Ali1 | 2021-10-03 11:34:37 UTC | #1

    Dear All I am trying to integrate the crm web service with purecloud, However, the authentication of the CRM required two steps to get the session id in order to use it every GET, POST request. is that do able by PureCloud or required middle service ?

    for example

    //////1. GET Token

    GET /webservice.php?operation=getchallenge&username=<USERNAME>

    Challenge Response

    { success: true, result: { token: TOKENSTRING, // Challenge token to be used for login. serverTime: TIMESTAMP, // Current Server time expireTime: TIMESTAMP // Time when token expires } }

    /////2. Login

    POST /webservice.php HTTP/1.1

    operation=login username=<USERNAME> accessKey=md5(TOKENSTRING + ACCESSKEY)

    Challenge Response

    success: true, result: { sessionId: String// Unique Identifier for the session


    Jason_Mathison | 2021-10-03 18:31:44 UTC | #2

    HI Ali1,

    Data Actions don't have the ability to do a multi-stage login, nor can they do an md5 hash, so out of the box data actions are not going to be able to handle the login. You could wrap up the multiple login steps into your own web service and have an auth action that calls that web service (although I can't vouch for that from a security perspective.)

    If this is a commercial CRM product can you let us know what it is? Knowing what our customers are using helps us figure out which products to create integrations for in the future.

    --Jason


    Ali1 | 2021-10-04 06:24:23 UTC | #3

    Its vtiger

    https://community.vtiger.com/help/vtigercrm/developers/third-party-app-integration.html

    as well purecloud has only (encoding.base64) which is not supported by md5


    Jason_Mathison | 2021-10-04 14:26:32 UTC | #4

    Thanks, I passed this along to our Product Manager so he is aware of the requirements of this CRM. You are welcome to post support for this CRM to the https://genesyscloud.ideas.aha.io/ideas site.

    --Jason


    system | 2021-11-04 14:27:07 UTC | #5

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 12236