Adobe Sign API Agreement
I am working on a project for my company using Adobe Sign API. I am programming in PHP and my system will create a pdf that requires 2 signatures. I upload that document up to Adobe using he transient document API an I am added 2 text_tags for signatures. Using the text_tag format My document is only recognizing "signer1". But doesn't create a signature field for "signer2". What could I be doing wrong?
{{Sig4_es_:signer1:signature}} (creates a ESIGN field)
{{AgentSig1_es_:signer2:signature}} (doesn't create anything)
I am uploading my PDF to version 6 of the Adobe API.
This is what my JSON code looks like on my agreement API call.
$json_fields = '{
"fileInfos": [
{
"transientDocumentId": "'.$transDocId.'"
}
],
"name": "LAW_app",
"participantSetsInfo": [
{
"order": 1,
"role": "SIGNER",
"label": "signer1",
"memberInfos": [
{
"email": "'.$email.'"
}
]
},
{
"order": 2,
"role": "SIGNER",
"label": "signer1",
"memberInfos": [
{
"email": "'.$email2.'"
}
]
}
],
"signatureType": "ESIGN",
"state": "IN_PROCESS",
"emailOption": {
"sendOptions":{
"initEmails":"NONE"
}
}
}';
