The send endpoint is used when a user sends a new esign. If documentType is 'html' this endpoint should create a draft in the 3rd party system and respond with the document ID.
Endpoint POST https://yourapp.com/send
Body
Request body.data contains the information of the file and recipients
body.data.file
The file to send. Use body.data.file.id to download the file from Upsales with the API key from body.apiKey
body.data.involved
An array with the recipients of the esign.
Response
The response has to be a json object with a documentId property. The documentId will be saved on the esign object in Upsales.
Example response
{
"documentId": "myEsignId123"
}
Tip when sending
Use the senders design profile to style the webpages and emails related to the esign. You'll fetch the profile with this requestGET https://power.upsales.com/api/v2/accountProfile?token=<body.apiKey>
Comments
0 comments
Please sign in to leave a comment.