...
Please see the next sample authorization (Bearer token):
Key | Value |
---|
"Authorization" | "Bearer asdfngtmvv8pfmsuaxpzz85zux3e63dd9zttrwitx9mln6qka6tds83du3p3lroe" |
Please see the next sample authorization (api token):
Key | Value |
---|
"ApiToken" | "asdfngtmvv8pfmsuaxpzz85zux3e63dd9zttrwitx9mln6qka6tds83du3p3lroe" |
...
Code Block |
---|
|
{
"Documents": [
{
"FileId": "8a4fd938d33d43ca-1234-1234-842a1234-be1e1d472b1cb645fc4e0fb2",
"DocumentNumber": 1
}
],
"Name": "Test",
"Activities": [
{
"Action": {
"Sign": {
"RecipientConfiguration": {
"ContactInformation": {
"Email": "janedoe@samplejane.doe@sample.com",
"GivenName": "Jane",
"Surname": "Doe",
} "LanguageCode": "EN"
},
"Elements": {
"Signatures": [
{
"TaskConfiguration": {
"OrderDefinition": { }
},
"OrderIndex": 1 "Elements": {
"Signatures": [{
} "ElementId": "sample sig }click2sign",
"ElementIdRequired": "sample sig click2sign"true,
"RequiredDocumentNumber": true1,
"DocumentNumberDisplayName": "Sign 1here",
"DisplayNameAllowedSignatureTypes": {
"Sign here", "AllowedSignatureTypesClickToSign": {
"ClickToSign": {}
},
"FieldDefinition": {
"Position": {
"PageNumber": 1,
"X": 100,
"Y": 200
},
"Size": {
"Width": 100,
"Height": 70
}
}
}
]
},
"SigningGroup": "firstSigner"
}
}
},
{
"Action": {
"SendCopy": {
"RecipientConfiguration": {
"ContactInformation": {
"Email": "johndoe@samplejohn.doe@sample.com",
"GivenName": "John",
"Surname": "Doe",
"LanguageCode": "EN"
}
}
}
}
}
]
} |
Open the envelope
...