Vinay

Update roles with auth challenges with REST API

0 votes
Hi! Is there a way to update role/roles (already created) in package with Q&A challenges? I have tried PUT on '/api/packages/:packageId/roles/:roleId' but it seems as though the auth part of my request is being ignored.
{  
   "signers":[  
      {  
         "delivery":{  
            "email":false
         },
         "email":"[email protected]",
         "firstName":"Jim",
         "lastName":"Smith",
         "title":"",
         "company":"",
         "auth":{  
            "scheme":"PROVIDER",
            "challenges":[{
                "question": "esign live",
                "maskInput": false,
                "answer": "12345"
            }]
         }
      }
   ],
   "reassign":false,
   "emailMessage":{  
      "content":""
   },
   "attachmentRequirements":[  
   ]
}
Thanks in advance, Vinay

Approved Answer

Reply to: Update roles with auth challenges with REST API

0 votes
Hey Vinay, For Q&A authentication challenge, the "scheme" object should be "CHALLENGE". For SMS authentication, "scheme" would be "SMS". You can find example json payloads for each here: https://www.esignlive.com/blog/esignlive-how-to-authenticating-signers/ Let me know if this works for you.
Haris Haidary OneSpan Technical Consultant

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off