Get Workflow User Authentication (Document Opening)
https://api.signinghub.com/v3/packages/{package_id}/workflow/{order}/authentication |
||
HTTP Verb |
GET |
|
Content-Type |
application/json |
|
Accept |
application/json |
|
Authorization |
Bearer {access_token} |
|
Request Body |
|
|
Status Code |
Message |
Response Body |
200 |
OK |
{ "authentication" : { "enabled" : true , "password" : { "enabled" : true }, "sms_otp" : { "enabled" : false , "otp_length" : 8, "retry_duration" : 30, "mobile_number" : "00445566778899" } }, "access_duration" : { "enabled" : true , "duration_by_date" : { "enabled" : true , "accessible" : true , "duration" : { "start_date_time" : "2015-02-13T12:10:000Z" , "end_date_time" : "2015-02-28T12:10:000Z" } }, "duration_by_days" : { "enabled" : false , "accessible" : true , "duration" : { "total_days" : 4 } } } }
|
401 |
Unauthorized |
{ "Message" : "Request authorization denied" } |
{ "Message" : "User authentication required" } |
||
403 |
Forbidden |
{ "Message" : "Document is no longer in draft state" } |
{ "Message" : "Document does not belong to user" } |
||
{ "Message" : "Account is disabled" } |
||
404 |
Not Found |
{ "Message" : "Document not found" } |
{ "Message" : "No user found at given order" } |
||
500 |
Internal Server Error |
{ "Message" : "An internal server error occurred while processing the request" } |
Item Details | |
Names |
Description |
Request Parameters |
|
access_token | The access token obtained as a result of successful authentication. If "scope" parameter was used in authentication request, then this service requires the access token to be obtained using the credentials of an Enterprise admin whose enterprise role has the application integration privileges. |
package_id |
The package ID for which workflow user authentication settings are requested. |
order | The order of the recipient for which the workflow permissions to be updated. |
Response Parameters | |
authentication > enabled | True, if authentication is enabled for the package. |
authentication > password > enabled |
True, if password authentication is enabled for the package. |
authentication > sms_otp > enabled |
True, if SMS OTP authentication is enabled for the package. |
authentication > sms_otp > length | Total number of characters of OTP number. It can be used to show the input masking on the UI. |
authentication > sms_otp > retry_duration | Total duration in seconds for which the retry/resend button should be disabled before sending a new OTP. |
authentication > sms_otp > mobile_number | Mobile number of the recipient. Mobile number is needed to send the SMS to the recipient for the authentication. |
access_duration > enabled |
True, if access duration security is enabled for the package. |
access_duration > duration_by_date > enabled |
True if access security is enabled for a duration by date and time. |
access_duration > duration_by_date > accessible |
True if accessible at the time of this API call. |
access_duration > duration_by_date > duration > start_date_time |
Date and time from where the package will be accessible to the recipient. |
access_duration > duration_by_date > duration > end_date_time |
Date and time after which the package will not be accessible to the recipient. |
access_duration > duration_by_days > enabled |
True, if access security is enabled for a duration by number of days. |
access_duration > duration_by_days > enabled |
True if accessible at the time of this API call. |
access_duration > duration_by_days > duration > total_days |
Total number of days for which the package will be accessible to the recipient after receiving the package. |
Message | The service specific error message returned by the API. This message provides useful information about why the service has returned an error response. |