Download PDF
Download page Adding, Updating, Removing Signers.
Adding, Updating, Removing Signers
The following segment will allow you to invite, update or remove signers from the created transaction.
Adding Signers to a Transaction
To add a signer to an existing transaction:
HTTP Request
POST /api/cs-packages/{packageId}/roles
HTTP Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer access_token
Request Payload
{ "id": "Signer5", "type": "SIGNER", "signers": [ { "email": "signer5@example.com", "firstName": "John", "lastName": "Smith", "id": "Signer5" } ], "name": "Signer5" }
For a complete description of each field, see the Request Payload Table below.
Response Payload
{ "id": "Signer5", "data": null, "specialTypes": [], "emailMessage": null, "attachmentRequirements": [], "locked": false, "reassign": false, "index": 0, "signers": [ { "group": null, "language": "en", "signature": null, "id": "Signer5", "delivery": { "provider": false, "email": false, "download": false }, "auth": { "scheme": "NONE", "challenges": [] }, "knowledgeBasedAuthentication": null, "data": null, "title": "", "company": "", "email": "signer5@example.com", "firstName": "John", "lastName": "Smith", "external": null, "updated": "2017-11-16T16:53:01Z", "phone": "", "professionalIdentityFields": [], "userCustomFields": [], "address": null, "created": "2017-11-16T16:53:01Z", "name": "", "specialTypes": [] } ], "name": "Signer5", "type": "SIGNER" }
Updating an Existing Signer
To update an existing signer role, create a payload with the updates you want to make, and then use the request examples below to make your updates. Use the roleId you assigned in the previous request. If you did not assign a roleId, a randomly generated ID will be assigned.
HTTP Request
PUT /api/cs-packages/{packageId}/roles/{roleId}
HTTP Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer access_token
Request Payload
{ "type": "SIGNER", "signers": [ { "email": "mary.doe@example.com", "firstName": "Mary", "lastName": "Doe" } ] }
Response Payload
{ "id": "Signer5", "data": null, "specialTypes": [], "emailMessage": null, "attachmentRequirements": [], "locked": false, "reassign": false, "index": 0, "signers": [ { "group": null, "language": "en", "signature": null, "id": "Signer5", "delivery": { "provider": false, "email": false, "download": false }, "auth": { "scheme": "NONE", "challenges": [] }, "knowledgeBasedAuthentication": null, "data": null, "title": "", "company": "", "email": "mary.doe@example.com", "firstName": "Mary", "lastName": "Doe", "external": null, "updated": "2017-11-16T16:53:01Z", "phone": "", "professionalIdentityFields": [], "userCustomFields": [], "address": null, "created": "2017-11-16T16:53:01Z", "name": "", "specialTypes": [] } ], "name": "Signer5", "type": "SIGNER" }
For a complete description of each field, see the Request Payload Table below.
Removing Signers From a Transaction
To remove a signer, you can make a DELETE request:
HTTP Request
DELETE /api/cs-packages/{packageId}/roles/{signerId}
HTTP Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer access_token
Request Payload Table
Property | Type | Editable | Required | Default | Sample Values |
---|---|---|---|---|---|
id | string | Yes | No | n/a | Signer5 |
reassign | boolean | Yes | No | false | true/false |
name | string | Yes | No | n/a | Signer5 |
id | string | Yes | No | n/a | Signer5 |
type | string | Yes | No | SIGNER | SIGNER/SENDER |
signers | |||||
string | Yes | No | n/a | signer5@example.com | |
firstName | string | Yes | No | n/a | John |
lastName | string | Yes | No | n/a | Smith |
id | string | Yes | No | n/a | Signer5 |