Creates a template recipient preview
This method returns a URL for a template recipient preview in the Docusign UI that you can embed in your application. You use this method to enable the sender to preview the recipients' experience.
For more information, see Preview and Send.
Authorization
OAuth2 OAuth 2.0 access token obtained via Authorization Code Grant or JWT Grant.
In: header
Path Parameters
The external account number (int) or account ID GUID.
The ID of the template.
Request Body
application/json
This request object contains the information necessary to create a recipient preview.
A unique identifier of the authentication event executed by the client application.
A sender-generated value that indicates the date and time that the signer was authenticated.
Required. Choose a value that most closely matches the technique your application used to authenticate the recipient / signer.
Choose a value from this list:
- Biometric
- HTTPBasicAuth
- Kerberos
- KnowledgeBasedAuth
- None
- PaperDocuments
- Password
- RSASecureID
- SingleSignOn_CASiteminder
- SingleSignOn_InfoCard
- SingleSignOn_MicrosoftActiveDirectory
- SingleSignOn_Other
- SingleSignOn_Passport
- SingleSignOn_SAML
- Smartcard
- SSLMutualAuth
- X509Certificate
This information is included in the Certificate of Completion.
Only used if pingUrl is specified. This is the interval, in seconds, between pings on the pingUrl. The default is 300 seconds. Valid values are 60-1200 seconds.
The client URL that the Docusign Signing experience should ping to indicate to the client that Signing is active. An HTTP GET call is executed against the client. The response from the client is ignored. The intent is for the client to reset its session timer when the request is received.
Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.
The URL to which the user will be redirected in an exit scenario. For example, if the link has expired, the user will be redirected to the URL provided here. This value must be an absolute URL.
This property is required.
The domain in which the user authenticated.
Specifies whether a browser should be allowed to render a page in a frame or IFrame. Setting this property ensures that your content is not embedded into unauthorized pages or frames.
Valid values are:
deny: The page cannot be displayed in a frame.same_origin: The page can only be displayed in a frame on the same origin as the page itself.allow_from: The page can only be displayed in a frame on the origin specified by thexFrameOptionsAllowFromUrlproperty.
When the value of xFrameOptions is allow_from, this property specifies the origin on which the page is allowed to display in a frame. If the value of xFrameOptions is allow_from, you must include a value for this property.
Response Body
application/json
application/json
curl -X POST "https://example.com/v2.1/accounts/string/templates/string/views/recipient_preview" \ -H "Content-Type: application/json" \ -d '{}'{ "url": "string"}