{ "variable": [ { "id": "baseUrl", "key": "baseUrl", "type": "string", "name": "string", "value": "https:\/\/dev.uptosign.com" } ], "info": { "name": "API documentation for uptosign", "_postman_id": "56af4c53-1126-42b7-927e-5d4faa359f8f", "description": "That is API documentation for uptosign webservice", "schema": "https:\/\/schema.getpostman.com\/json\/collection\/v2.1.0\/collection.json" }, "item": [ { "name": "Documents management", "description": "\nAPIs for managing documents with human signing process (user 1 mail -> handsign -> double check\nwith sms verify code then user 2 mail -> handsign -> double check with sms verify then document is done).", "item": [ { "name": "Start a new full document signing process for a PDF file and one or more peoples with one or more sign on x page(s)", "request": { "url": { "host": "{{baseUrl}}", "path": "api\/documents", "query": [], "raw": "{{baseUrl}}\/api\/documents" }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application\/json" }, { "key": "Accept", "value": "application\/json" } ], "body": { "mode": "raw", "raw": "{\"pdf\":{\"alerts\":\"aliquid\",\"infos\":\"saepe\",\"title\":\"dolore\",\"content\":\"base64_encode(file_get_contents(\\\"contract.pdf\\\"))\",\"filename\":\"contract.pdf\\n\\nSTAMP: please choose one of the three solution below\\n\\nSINGLE STAMP on a SINGLE PAGE:\",\"posx\":10,\"posy\":13,\"signonpage\":20,\"stampnumber\":10,\"autoposition\":false,\"stampArray\":[\"quae\"]},\"from\":{\"email\":\"john@cap-rel.fr\",\"mobile\":\"ut\",\"firstname\":\"John\",\"lastname\":\"Doe\\n\\n\\nFROM SINGLE USER:\",\"signPosX\":16,\"signPosY\":2,\"signPage\":\"consequuntur\",\"autoposition\":true,\"signArray\":[\"voluptatem\"]},\"to\":{\"email\":\"jane@customer.fr\",\"mobile\":\"eaque\",\"firstname\":\"Jane\",\"lastname\":\"One\",\"signPosX\":11,\"signPosY\":14,\"signPage\":15,\"autoposition\":true,\"multiSign\":[],\"multiSign[email]\":\"jane@customer.fr\"}}" }, "description": "That is a json request with all informations : file (pdf, with content base64 encoded),\nuser1 informations, email is key, then (firstname, lastname, mobile phone with international prefix like '+336' for example, and sign posx and sign posy on document and page)\nuser2 informations, email is key, then (firstname, lastname, mobile phone with international prefix like '+336' for example, and sign posx and sign posy on document and page)\n\nBe carefull an enhancement of that process will permit to insert same user sign on multiple pages (look at \"array\" keys)\n...\/..." }, "response": [ { "header": [], "code": 200, "body": "{\"id\":\"5847dd3c-ba58-4e6f-8fac-329ffb521667\",\"action\":\"sign\",\"message\":null,\"errors\":null,\"status\":0}", "name": "Operation successful" } ] }, { "name": "Download signed document", "request": { "url": { "host": "{{baseUrl}}", "path": "api\/documents\/:uuid\/download", "query": [], "raw": "{{baseUrl}}\/api\/documents\/:uuid\/download", "variable": [ { "id": "uuid", "key": "uuid", "value": "nam", "description": "uuid of document to download" } ] }, "method": "GET", "header": [ { "key": "Content-Type", "value": "application\/json" }, { "key": "Accept", "value": "application\/json" } ], "body": null, "description": "" }, "response": [ { "header": [ { "key": "retry-after", "value": "20" }, { "key": "cache-control", "value": "no-cache, private" }, { "key": "access-control-allow-origin", "value": "*" } ], "code": 503, "body": "\n\n
\n \n \n\n