Skip to main content
lukaz46930397
Participant
May 16, 2019
Question

Bad request on (POST) /agreements API integration testing

  • May 16, 2019
  • 1 reply
  • 725 views

I am testing the sending of an agreement with a PDF from a public URL and can't seem to get it right. The agreement does show up in the Adobe Sign dashboard but without the PDF and anyway the API responds with a 400.

This is the data I am trying to use;

{

"documentCreationInfo": {

"fileInfos": [{

"documentURL": {

"mimeType": "application/PDF",

"name": "sample.pdf",

"url": "http://www.africau.edu/images/default/sample.pdf"

}

}],

"name": "Document",

"signatureType": "ESIGN",

"daysUntilSigningDeadline": 1,

"recipientSetInfos": [{

"recipientSetMemberInfos": [{

"email": "user@user.net",

"securityOption": [{

"authenticationMethod": "NONE"

}]

}],

"recipientSetRole": "SIGNER",

"recipientSetName": "anze kopitar",

"signingOrder": 1,

"callbackInfo": "https://dev.brokerandmore.com/docevent",

"signatureFlow": "SENDER_SIGNATURE_NOT_REQUIRED"

}]

}

}

And response:

{ "code": "BAD_REQUEST", "message": "apiActionId=CBJCHBCAABAAsMqCjhxQyI2GMRB6eiXxCFW7D4U43L7y" }

I am using Enterprise trial edition while testing.

This topic has been closed for replies.

1 reply

Meenakshi_Negi
Legend
June 1, 2019

Hi Lukaz,

Sorry for the delay in response.

As you are using the Adobe Sign trial version, it consists of all the features except Integration.

For integration, please register for the free developer edition of the Adobe Sign here Create Developer Account, APIs for custom applications | Adobe Sign

The settings are not enabled by default to access the Integration Key in the free Developer account.

I would recommend you contact Pre-Sales team to get the settings enabled.

They will be able to provide pre-sales technical assistance to you.

You may contact them via this help of this link Adobe Sign – Plans and pricing for enterprise and individuals | Adobe Document Cloud

Let us know if you experience any issue.

Regards,

Meenakshi