/procedures
POST {{base-api-url}}/procedures
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | This value is a secret and needs to be replaced by your API Key (Bearer). | |
Content-Type | string | This header specifies the format of the exchanges in JSON. |
RESPONSES
status: Created
{"id":"/procedures/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX","name":"My first procedure with emails","description":"Powerful! Here is the description of my first procedure with emails","createdAt":"2018-12-05T06:53:34+01:00","updatedAt":"2018-12-05T06:53:34+01:00","finishedAt":null,"expiresAt":null,"status":"active","creator":null,"creatorFirstName":null,"creatorLastName":null,"workspace":"/workspaces/XXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX","template":false,"ordered":false,"parent":null,"metadata":[],"config":{"email":{"procedure.started":[{"subject":"John, created a procedure your API have.","message":"The content of this email is totally awesome.","to":["@creator","@members"]}],"member.started":[{"subject":"Hey! You are invited to sign!","message":"Hello \u003ctag data-tag-type=\"string\" data-tag-name=\"recipient.firstname\"\u003e\u003c/tag\u003e \u003ctag data-tag-type=\"string\" data-tag-name=\"recipient.lastname\"\u003e\u003c/tag\u003e, \u003cbr\u003e\u003cbr\u003e You have ben invited to sign a document, please click on the following button to read it: \u003ctag data-tag-type=\"button\" data-tag-name=\"url\" data-tag-title=\"Access to documents\"\u003eAccess to documents\u003c/tag\u003e","to":["@member"]}]}},"members":[{"id":"/members/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX","user":null,"type":"signer","firstname":"John","lastname":"Doe","email":"john.doe@yousign.fr","phone":"+33612345678","position":1,"createdAt":"2018-12-05T06:53:34+01:00","updatedAt":"2018-12-05T06:53:34+01:00","finishedAt":null,"status":"pending","fileObjects":[{"id":"/file_objects/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX","file":{"id":"/files/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX","name":"The best name for my file.pdf","type":"signable","contentType":"application/pdf","description":null,"createdAt":"2018-12-05T06:52:54+01:00","updatedAt":"2018-12-05T06:53:34+01:00","sha256":"bb57ae2b2ca6ad0133a699350d1a6f6c8cdfde3cf872cf526585d306e4675cc2","metadata":[],"workspace":"/workspaces/XXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX","creator":null,"protected":false,"position":0,"parent":null},"page":2,"position":"230,499,464,589","fieldName":null,"mention":"Read and approved","mention2":"Signed by John Doe","createdAt":"2018-12-05T06:53:34+01:00","updatedAt":"2018-12-05T06:53:34+01:00","parent":null,"reason":"Signed by Yousign"}],"comment":null,"notificationsEmail":[],"operationLevel":"custom","operationCustomModes":["sms"],"operationModeSmsConfig":null,"parent":null}],"subscribers":[],"files":[{"id":"/files/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX","name":"The best name for my file.pdf","type":"signable","contentType":"application/pdf","description":null,"createdAt":"2018-12-05T06:52:54+01:00","updatedAt":"2018-12-05T06:53:34+01:00","sha256":"bb57ae2b2ca6ad0133a699350d1a6f6c8cdfde3cf872cf526585d306e4675cc2","metadata":[],"workspace":"/workspaces/XXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX","creator":null,"protected":false,"position":0,"parent":null}],"relatedFilesEnable":false,"archive":false,"archiveMetadata":[],"fields":[],"permissions":[]}