sms authentication with API REST using templateRoles

995 Views Asked by At

I'm trying to send a document using a template with the API REST. I'm using templateRoles in my JSON and i send the name and the mail of the signer who has the rolename defined in the template.

So i have this part of request :

"templateId":"894848C-26A8-44B4-B08D-D9140B70EB1A",
"templateRoles":[
    {
        "roleName":"CUSTOMER_SIGNER",
        "name":"Test",
        "email":"[email protected]",
    }
]

Now, i want to use sms authentication for my role CUSTOMER_SIGNER. But in the doc of REST API, there no option for that.

I have try on the model of send a document without template :

"templateId":"894848C-26A8-44B4-B08D-D9140B70EB1A",
"templateRoles":[
    {
        "roleName":"CUSTOMER_SIGNER",
        "name":"Test",
        "email":"[email protected]",
        "smsAuthentication":{
            "senderProvidedNumbers":[
                "+00202156511"
            ]
        },
        "requireIdLookup":"true",
        "idCheckConfigurationName":"SMS Auth $",
        "phoneAuthentication":{
            "recipMayProvideNumber":"true"
        }           
    }
]

without success. I don't recieve anything.

Have you an idea to make this?

0

There are 0 best solutions below