{
	"info": {
		"_postman_id": "18440626-269f-40df-b6a4-1a1908b8130c",
		"name": "Developers Documentation",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_exporter_id": "15363049"
	},
	"item": [
		{
			"name": "Getting started",
			"item": [
				{
					"name": "Authentication",
					"item": [
						{
							"name": "Login",
							"request": {
								"auth": {
									"type": "noauth"
								},
								"method": "POST",
								"header": [],
								"body": {
									"mode": "raw",
									"raw": "{\r\n    \"name\": \"api.test@circularo.com\",\r\n    \"password\": \"secretPassword\"\r\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://app.sandbox.circularo.com/api/v1/login",
									"protocol": "https",
									"host": [
										"app",
										"sandbox",
										"circularo",
										"com"
									],
									"path": [
										"api",
										"v1",
										"login"
									]
								}
							},
							"response": []
						}
					]
				},
				{
					"name": "Create file",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "file",
									"type": "file",
									"src": "/C:/PV/Palaxo/multiple docs/file7.pdf"
								}
							]
						},
						"url": {
							"raw": "https://app.sandbox.circularo.com/api/v1/files/saveFile",
							"protocol": "https",
							"host": [
								"app",
								"sandbox",
								"circularo",
								"com"
							],
							"path": [
								"api",
								"v1",
								"files",
								"saveFile"
							]
						}
					},
					"response": []
				},
				{
					"name": "Create document",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"body\": {\r\n        \"documentType\": \"d_default\",\r\n        \"documentTitle\": \"My Document\",\r\n        \"pdfFile\": {\r\n            \"content\": \"56025kyf3sk0x1zbbbq9ydiidnm2ou0bsakec5p9a3invcdmlf60uydp63sbwhoo\"   //specify existing file hash\r\n        }\r\n    },\r\n    \"definitionType\": \"ext\",\r\n    \"workflow\": \"wf_archive\"\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "https://app.sandbox.circularo.com/api/v1/documents",
							"protocol": "https",
							"host": [
								"app",
								"sandbox",
								"circularo",
								"com"
							],
							"path": [
								"api",
								"v1",
								"documents"
							]
						}
					},
					"response": []
				},
				{
					"name": "Create folder",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"name\": \"My folder\",\r\n    \"isShared\": false   \r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "https://app.sandbox.circularo.com/api/v1/folders",
							"protocol": "https",
							"host": [
								"app",
								"sandbox",
								"circularo",
								"com"
							],
							"path": [
								"api",
								"v1",
								"folders"
							]
						}
					},
					"response": []
				},
				{
					"name": "Add attachment",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"fileHash\": \"bici6amnyz1tuv1nocdmyz0kkbsxx7xn59cvduee3ozwbzbxu1h52jt7oowmdkcc\",\r\n    \"name\": \"Document attachment\"\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "https://app.sandbox.circularo.com/api/v1/attachments/bb16fa5e-a011-48cb-b16b-d20b73a94f10",
							"protocol": "https",
							"host": [
								"app",
								"sandbox",
								"circularo",
								"com"
							],
							"path": [
								"api",
								"v1",
								"attachments",
								"bb16fa5e-a011-48cb-b16b-d20b73a94f10"
							]
						}
					},
					"response": []
				},
				{
					"name": "Retrieve document",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "https://app.sandbox.circularo.com/api/v1/documents/bb16fa5e-a011-48cb-b16b-d20b73a94f10",
							"protocol": "https",
							"host": [
								"app",
								"sandbox",
								"circularo",
								"com"
							],
							"path": [
								"api",
								"v1",
								"documents",
								"bb16fa5e-a011-48cb-b16b-d20b73a94f10"
							]
						}
					},
					"response": []
				},
				{
					"name": "Seal document",
					"request": {
						"method": "PUT",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"id\": \"bb16fa5e-a011-48cb-b16b-d20b73a94f10\"\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "https://app.sandbox.circularo.com/api/v1/documents/seal/6",
							"protocol": "https",
							"host": [
								"app",
								"sandbox",
								"circularo",
								"com"
							],
							"path": [
								"api",
								"v1",
								"documents",
								"seal",
								"6"
							]
						}
					},
					"response": []
				},
				{
					"name": "Sign document",
					"request": {
						"method": "PUT",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n\t\"signatures\": [{\r\n\t\t\"pages\": [1], //specify on which page should the signature be placed\r\n\t\t\"position\": { //position and size of the signature in the document page\r\n\t\t\t\"percentX\": 0.5336425978217023,\r\n\t\t\t\"percentY\": 0.2360980475986889,\r\n\t\t\t\"percentWidth\": 0.3910665378654381,\r\n\t\t\t\"percentHeight\": 0.1\r\n\t\t},\r\n\t\t\"blob\": \"zg6547mm9tkuareuo8ritatxsh2o96j1i3xbmcdjfait9s3hg1rpnalxh8ldh36u\", // signature image\r\n\t\t\"decorationType\": \"empty\",\r\n\t\t\"type\": \"signature\", // other possible types: initials, stamp, wacom, annotation, and image\r\n\t\t\"timestamp\": false //if true places timestamp under the signature\r\n\t}],\r\n\t\"id\": \"68fa0b0d-76ee-4ca0-a143-6fc551110a78\" //id of the document you want to sign\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "https://app.sandbox.circularo.com/api/v1/documents/sign/6",
							"protocol": "https",
							"host": [
								"app",
								"sandbox",
								"circularo",
								"com"
							],
							"path": [
								"api",
								"v1",
								"documents",
								"sign",
								"6"
							]
						}
					},
					"response": []
				},
				{
					"name": "Request signature",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"objectType\": \"document\",\r\n    \"type\": \"d_default\",\r\n    \"id\": \"b0717fa6-a826-4226-802b-58a8f1554480\", //document id\r\n    \"data\": [ //specify at least one participant\r\n        {\r\n            \"sharePurpose\": \"sign\",\r\n            \"shareTo\": \"bill.taylor789@gmail.com\",  //external user\r\n            \"message\": \"Sign me\",  //optional private message\r\n            \"validUntil\": \"2024-02-11T19:10:10.100Z\"   //optional expiration date in ISO 8601 format\r\n\r\n        }, {\r\n            \"sharePurpose\": \"sign\",\r\n            \"shareTo\": \"kim.black@circularo.com\",  //internal username\r\n            \"message\": \"Sign me, please\", //optional private message\r\n            \"validUntil\": \"2024-02-12T19:10:10.100Z\" //optional expiration date in ISO 8601 format\r\n        }\r\n    ],\r\n    \"signatureFields\": [\r\n        {\r\n            \"user\": [\"bill.taylor789@gmail.com\"],\r\n            \"timestamp\": false,\r\n            \"required\": true,\r\n            \"tooltip\": \"Signature tooltip text\",\r\n            \"type\": \"signature\",    //sign type\r\n            \"pages\": [3],  //document page with signature\r\n            \"position\": {   //position and size of the signature in the document page\r\n                \"percentX\": 0.5,\r\n                \"percentY\": 0.1,\r\n                \"percentWidth\": 0.2,\r\n                \"percentHeight\": 0.05\r\n            }\r\n        }, {\r\n            \"user\": [\"kim.black@circularo.com\"],\r\n            \"timestamp\": true,\r\n            \"required\": true,\r\n            \"tooltip\": \"Stamp tooltip text\",\r\n            \"type\": \"stamp\",    //sign type is stamp\r\n            \"pages\": [4],\r\n            \"position\": { //position and size of the signature in the document page\r\n                \"percentX\": 0.3,\r\n                \"percentY\": 0.65,\r\n                \"percentWidth\": 0.15,\r\n                \"percentHeight\": 0.15\r\n            }\r\n        }\r\n    ],\r\n    \"sequential\": true  //recipients are required to sign one-by-one\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "https://app.sandbox.circularo.com/api/v1/share",
							"protocol": "https",
							"host": [
								"app",
								"sandbox",
								"circularo",
								"com"
							],
							"path": [
								"api",
								"v1",
								"share"
							]
						}
					},
					"response": []
				},
				{
					"name": "Share document",
					"request": {
						"method": "POST",
						"header": [],
						"url": {
							"raw": "https://app.sandbox.circularo.com/api/v1/share",
							"protocol": "https",
							"host": [
								"app",
								"sandbox",
								"circularo",
								"com"
							],
							"path": [
								"api",
								"v1",
								"share"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Scenarios",
			"item": [
				{
					"name": "User management",
					"item": [
						{
							"name": "Create and edit user account",
							"item": [
								{
									"name": "Retrieve Organization ID",
									"event": [
										{
											"listen": "test",
											"script": {
												"exec": [
													"var jsonData = pm.response.json();\r",
													"pm.collectionVariables.set(\"orgId\", jsonData.team);\r",
													""
												],
												"type": "text/javascript"
											}
										}
									],
									"request": {
										"method": "GET",
										"header": [],
										"url": {
											"raw": "https://app.sandbox.circularo.com/api/v1/users/api.test@circularo.com",
											"protocol": "https",
											"host": [
												"app",
												"sandbox",
												"circularo",
												"com"
											],
											"path": [
												"api",
												"v1",
												"users",
												"api.test@circularo.com"
											]
										}
									},
									"response": []
								},
								{
									"name": "Obtain Group ID",
									"event": [
										{
											"listen": "test",
											"script": {
												"exec": [
													"var jsonData = pm.response.json();\r",
													"pm.collectionVariables.set(\"userGroupId\", jsonData.teamGroups.user);\r",
													""
												],
												"type": "text/javascript"
											}
										}
									],
									"request": {
										"method": "GET",
										"header": [],
										"url": {
											"raw": "https://app.sandbox.circularo.com/api/v1/groups/{{orgId}}",
											"protocol": "https",
											"host": [
												"app",
												"sandbox",
												"circularo",
												"com"
											],
											"path": [
												"api",
												"v1",
												"groups",
												"{{orgId}}"
											]
										}
									},
									"response": []
								},
								{
									"name": "User Invitation",
									"request": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\r\n  \"sendMail\": true, //false not to send invitation email\r\n  \"users\": [\r\n    {\r\n      \"fullname\": \"Derek Edward Trotter\",\r\n      \"mail\": \"derek.trotter@circularo.com\",\r\n      \"name\": \"derek.trotter@circularo.com\",\r\n      \"group\": [ //group ids retrieved before\r\n          \"{{userGroupId}}\" //regular user group \r\n      ],\r\n      \"status\": \"newly_created\" \r\n    }\r\n  ]\r\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "https://app.sandbox.circularo.com/api/v1/users/",
											"protocol": "https",
											"host": [
												"app",
												"sandbox",
												"circularo",
												"com"
											],
											"path": [
												"api",
												"v1",
												"users",
												""
											]
										}
									},
									"response": []
								},
								{
									"name": "Create an active user",
									"request": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\r\n  \"sendMail\": false, //user will not be noticed\r\n  \"users\": [\r\n    {\r\n      \"fullname\": \"Derek Edward Trotter\",\r\n      \"mail\": \"derek.trotter@circularo.com\",\r\n      \"name\": \"derek.trotter@circularo.com\",\r\n      \"password\": \"pswd12345!?\", //set a password\r\n      \"group\": [ //group ids retrieved before\r\n          \"{{userGroupId}}\" //regular user group \r\n      ],\r\n      \"status\": \"active\" //set to active\r\n    }\r\n  ]\r\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "https://app.sandbox.circularo.com/api/v1/users/",
											"protocol": "https",
											"host": [
												"app",
												"sandbox",
												"circularo",
												"com"
											],
											"path": [
												"api",
												"v1",
												"users",
												""
											]
										}
									},
									"response": []
								},
								{
									"name": "Group Removal",
									"request": {
										"method": "POST",
										"header": [],
										"url": {
											"raw": "https://app.sandbox.circularo.com/api/v1/users/derek.trotter@circularo.com/removeFromGroup?groupname={{userGroupId}}",
											"protocol": "https",
											"host": [
												"app",
												"sandbox",
												"circularo",
												"com"
											],
											"path": [
												"api",
												"v1",
												"users",
												"derek.trotter@circularo.com",
												"removeFromGroup"
											],
											"query": [
												{
													"key": "groupname",
													"value": "{{userGroupId}}"
												}
											]
										}
									},
									"response": []
								},
								{
									"name": "Add user to group",
									"request": {
										"method": "POST",
										"header": [],
										"url": {
											"raw": "https://app.sandbox.circularo.com/api/v1/users/derek.trotter@circularo.com/addToGroup?groupname={{userGroupId}}",
											"protocol": "https",
											"host": [
												"app",
												"sandbox",
												"circularo",
												"com"
											],
											"path": [
												"api",
												"v1",
												"users",
												"derek.trotter@circularo.com",
												"addToGroup"
											],
											"query": [
												{
													"key": "groupname",
													"value": "{{userGroupId}}"
												}
											]
										}
									},
									"response": []
								},
								{
									"name": "Edit user info",
									"request": {
										"method": "PUT",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\r\n\t\"phone\": \"+420777888999\"\r\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "https://app.sandbox.circularo.com/api/v1/users/derek.trotter@circularo.com/",
											"protocol": "https",
											"host": [
												"app",
												"sandbox",
												"circularo",
												"com"
											],
											"path": [
												"api",
												"v1",
												"users",
												"derek.trotter@circularo.com",
												""
											]
										}
									},
									"response": []
								}
							]
						},
						{
							"name": "Retrieve user info",
							"item": [
								{
									"name": "Get single user",
									"request": {
										"method": "GET",
										"header": [],
										"url": {
											"raw": "sandbox.circularo.com/api/v1/users/adam.smith@circularo.com",
											"host": [
												"sandbox",
												"circularo",
												"com"
											],
											"path": [
												"api",
												"v1",
												"users",
												"adam.smith@circularo.com"
											]
										}
									},
									"response": []
								},
								{
									"name": "Search users within organization",
									"request": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\r\n    \"format\":\"full\",\r\n    \"userQuery\":{\r\n        \"size\": 100\r\n    }\r\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "sandbox.circularo.com/api/v1/users/search",
											"host": [
												"sandbox",
												"circularo",
												"com"
											],
											"path": [
												"api",
												"v1",
												"users",
												"search"
											]
										}
									},
									"response": []
								},
								{
									"name": "Filter results based on user group",
									"request": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\r\n    \"userQuery\": {\r\n        \"query\": {\r\n            \"filter\": [\r\n                {\r\n                    \"type\": \"terms\",\r\n                    \"field\": \"group\",\r\n                    \"value\": [\r\n                        \"317bec0f-c9c0-470b-9f8f-d22bf52fb72c\" // replace with your group ID\r\n                    ]\r\n                }\r\n            ]\r\n        }\r\n    }\r\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "app.sandbox.circularo.com/api/v1/users/search",
											"host": [
												"app",
												"sandbox",
												"circularo",
												"com"
											],
											"path": [
												"api",
												"v1",
												"users",
												"search"
											]
										}
									},
									"response": []
								}
							]
						}
					]
				},
				{
					"name": "Document",
					"item": [
						{
							"name": "Create, seal or sign and download new PDF document",
							"item": [
								{
									"name": "Create file",
									"event": [
										{
											"listen": "test",
											"script": {
												"exec": [
													"var jsonData = pm.response.json();\r",
													"pm.collectionVariables.set(\"hash\", jsonData.file.hash);\r",
													""
												],
												"type": "text/javascript"
											}
										}
									],
									"request": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "formdata",
											"formdata": [
												{
													"key": "file",
													"type": "file",
													"src": "/C:/PV/Palaxo/multiple docs/file7.pdf"
												}
											]
										},
										"url": {
											"raw": "https://app.sandbox.circularo.com/api/v1/files/saveFile",
											"protocol": "https",
											"host": [
												"app",
												"sandbox",
												"circularo",
												"com"
											],
											"path": [
												"api",
												"v1",
												"files",
												"saveFile"
											]
										}
									},
									"response": []
								},
								{
									"name": "Create document from file",
									"event": [
										{
											"listen": "test",
											"script": {
												"exec": [
													"var jsonData = pm.response.json();\r",
													"pm.collectionVariables.set(\"documentId\", jsonData.results[0].documentId);\r",
													""
												],
												"type": "text/javascript"
											}
										}
									],
									"request": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\r\n    \"body\": {\r\n        \"documentType\": \"d_default\",\r\n        \"documentTitle\": \"My Document\",\r\n        \"pdfFile\": {\r\n            \"content\": \"{{hash}}\"   //specify existing file hash\r\n        }\r\n    },\r\n    \"definitionType\": \"ext\",\r\n    \"workflow\": \"wf_archive\"\r\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "https://app.sandbox.circularo.com/api/v1/documents",
											"protocol": "https",
											"host": [
												"app",
												"sandbox",
												"circularo",
												"com"
											],
											"path": [
												"api",
												"v1",
												"documents"
											]
										}
									},
									"response": []
								},
								{
									"name": "Retrieve document info",
									"event": [
										{
											"listen": "test",
											"script": {
												"exec": [
													"var jsonData = pm.response.json();\r",
													"pm.collectionVariables.set(\"docVersion\", jsonData.results[0]._version);\r",
													""
												],
												"type": "text/javascript"
											}
										}
									],
									"request": {
										"method": "GET",
										"header": [],
										"url": {
											"raw": "https://app.sandbox.circularo.com/api/v1/documents/{{documentId}}",
											"protocol": "https",
											"host": [
												"app",
												"sandbox",
												"circularo",
												"com"
											],
											"path": [
												"api",
												"v1",
												"documents",
												"{{documentId}}"
											]
										}
									},
									"response": []
								},
								{
									"name": "Seal document",
									"request": {
										"method": "PUT",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\r\n    \"id\": \"bb16fa5e-a011-48cb-b16b-d20b73a94f10\"\r\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "https://app.sandbox.circularo.com/api/v1/documents/seal/{{docVersion}}",
											"protocol": "https",
											"host": [
												"app",
												"sandbox",
												"circularo",
												"com"
											],
											"path": [
												"api",
												"v1",
												"documents",
												"seal",
												"{{docVersion}}"
											]
										}
									},
									"response": []
								},
								{
									"name": "Sign document",
									"request": {
										"method": "PUT",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\r\n\t\"signatures\": [{\r\n\t\t\"pages\": [1], //specify on which page should the signature be placed\r\n\t\t\"position\": { //position and size of the signature in the document page\r\n\t\t\t\"percentX\": 0.5336425978217023,\r\n\t\t\t\"percentY\": 0.2360980475986889,\r\n\t\t\t\"percentWidth\": 0.3910665378654381,\r\n\t\t\t\"percentHeight\": 0.1\r\n\t\t},\r\n\t\t\"blob\": \"zg6547mm9tkuareuo8ritatxsh2o96j1i3xbmcdjfait9s3hg1rpnalxh8ldh36u\", // signature image\r\n\t\t\"decorationType\": \"empty\",\r\n\t\t\"type\": \"signature\", // other possible types: initials, stamp, wacom, annotation, and image\r\n\t\t\"timestamp\": false //if true places timestamp under the signature\r\n\t}],\r\n\t\"id\": \"68fa0b0d-76ee-4ca0-a143-6fc551110a78\" //id of the document you want to sign\r\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "https://app.sandbox.circularo.com/api/v1/documents/sign/{{docVersion}}",
											"protocol": "https",
											"host": [
												"app",
												"sandbox",
												"circularo",
												"com"
											],
											"path": [
												"api",
												"v1",
												"documents",
												"sign",
												"{{docVersion}}"
											]
										}
									},
									"response": []
								},
								{
									"name": "Download signed document",
									"request": {
										"method": "GET",
										"header": [],
										"url": {
											"raw": "https://app.sandbox.circularo.com/api/v1/files/loadFile/hash/{{hash}}",
											"protocol": "https",
											"host": [
												"app",
												"sandbox",
												"circularo",
												"com"
											],
											"path": [
												"api",
												"v1",
												"files",
												"loadFile",
												"hash",
												"{{hash}}"
											]
										}
									},
									"response": []
								}
							]
						},
						{
							"name": "Create document and add QR code",
							"item": [
								{
									"name": "Create file",
									"event": [
										{
											"listen": "test",
											"script": {
												"exec": [
													"var jsonData = pm.response.json();\r",
													"pm.collectionVariables.set(\"hash\", jsonData.file.hash);\r",
													""
												],
												"type": "text/javascript"
											}
										}
									],
									"request": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "formdata",
											"formdata": [
												{
													"key": "file",
													"type": "file",
													"src": "/C:/PV/Palaxo/multiple docs/file7.pdf"
												}
											]
										},
										"url": {
											"raw": "https://app.sandbox.circularo.com/api/v1/files/saveFile",
											"protocol": "https",
											"host": [
												"app",
												"sandbox",
												"circularo",
												"com"
											],
											"path": [
												"api",
												"v1",
												"files",
												"saveFile"
											]
										}
									},
									"response": []
								},
								{
									"name": "Create document from file",
									"event": [
										{
											"listen": "test",
											"script": {
												"exec": [
													"var jsonData = pm.response.json();\r",
													"pm.collectionVariables.set(\"documentId\", jsonData.results[0].documentId);\r",
													""
												],
												"type": "text/javascript"
											}
										}
									],
									"request": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\r\n    \"body\": {\r\n        \"documentType\": \"d_default\",\r\n        \"documentTitle\": \"My Document\",\r\n        \"pdfFile\": {\r\n            \"content\": \"{{hash}}\"   //specify existing file hash\r\n        }\r\n    },\r\n    \"definitionType\": \"ext\",\r\n    \"workflow\": \"wf_archive\"\r\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "https://app.sandbox.circularo.com/api/v1/documents",
											"protocol": "https",
											"host": [
												"app",
												"sandbox",
												"circularo",
												"com"
											],
											"path": [
												"api",
												"v1",
												"documents"
											]
										}
									},
									"response": []
								},
								{
									"name": "Retrieve document info",
									"event": [
										{
											"listen": "test",
											"script": {
												"exec": [
													"var jsonData = pm.response.json();\r",
													"pm.collectionVariables.set(\"docVersion\", jsonData.results[0]._version);\r",
													"pm.collectionVariables.set(\"barcodeHash\", jsonData.results[0].barcode);\r",
													""
												],
												"type": "text/javascript"
											}
										}
									],
									"request": {
										"method": "GET",
										"header": [],
										"url": {
											"raw": "https://app.sandbox.circularo.com/api/v1/documents/{{documentId}}",
											"protocol": "https",
											"host": [
												"app",
												"sandbox",
												"circularo",
												"com"
											],
											"path": [
												"api",
												"v1",
												"documents",
												"{{documentId}}"
											]
										}
									},
									"response": []
								},
								{
									"name": "Add QR code",
									"request": {
										"method": "PUT",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\r\n    \"id\": \"{{documentId}}\",\r\n    \"images\": [\r\n        {\r\n            \"comment\": \"\",\r\n            \"position\": {       //position of the barcode\r\n                \"percentX\": 0.1,\r\n                \"percentY\": 0.1,\r\n                \"percentWidth\": 0.1,\r\n                \"percentHeight\": 0.07071043771043767\r\n            },\r\n            \"pages\": [  //which page to add it to\r\n                1\r\n            ],\r\n            \"blob\": \"{{barcodeHash}}\",\r\n            \"subtype\": \"image_barcode\"\r\n        }\r\n    ]\r\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "https://app.sandbox.circularo.com/api/v1/documents/{{docVersion}}",
											"protocol": "https",
											"host": [
												"app",
												"sandbox",
												"circularo",
												"com"
											],
											"path": [
												"api",
												"v1",
												"documents",
												"{{docVersion}}"
											]
										}
									},
									"response": []
								}
							]
						}
					]
				},
				{
					"name": "Folders",
					"item": [
						{
							"name": "Create folder, move documents and dowload folder",
							"item": [
								{
									"name": "Create folder",
									"event": [
										{
											"listen": "test",
											"script": {
												"exec": [
													"var jsonData = pm.response.json();\r",
													"pm.collectionVariables.set(\"id\", jsonData.id);\r",
													""
												],
												"type": "text/javascript"
											}
										}
									],
									"request": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\r\n    \"name\": \"Completed Documents\",\r\n    \"isShared\": false   \r\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "https://app.sandbox.circularo.com/api/v1/folders",
											"protocol": "https",
											"host": [
												"app",
												"sandbox",
												"circularo",
												"com"
											],
											"path": [
												"api",
												"v1",
												"folders"
											]
										}
									},
									"response": []
								},
								{
									"name": "Move documents into folder",
									"request": {
										"method": "PUT",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\r\n  \"docs\": [\r\n    {\r\n      \"id\": \"7891cd95-8253-4317-b5c2-0a83b1517529\" //documentId that you want to move\r\n    }\r\n  ],\r\n  \"folderId\": \"{{id}}\", //folder that we are moving document into\r\n  \"isShared\": false, //private folder, true = shared folder\r\n  \"rightsMode\": \"add\"\r\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "https://app.sandbox.circularo.com/api/v1/folders/move",
											"protocol": "https",
											"host": [
												"app",
												"sandbox",
												"circularo",
												"com"
											],
											"path": [
												"api",
												"v1",
												"folders",
												"move"
											]
										}
									},
									"response": []
								},
								{
									"name": "Download folder",
									"request": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\r\n\t\"exporterName\": \"folder\", //we are exporting a folder \r\n\t\"options\": {\r\n\t\t\"documentIds\": [\"{{id}}\"] //array of IDs that we want to export, in this case one folder\r\n\t},\r\n\t\"query\": {}\r\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "https://app.sandbox.circularo.com/api/v1/export",
											"protocol": "https",
											"host": [
												"app",
												"sandbox",
												"circularo",
												"com"
											],
											"path": [
												"api",
												"v1",
												"export"
											]
										}
									},
									"response": []
								}
							]
						}
					]
				},
				{
					"name": "Share",
					"item": [
						{
							"name": "Sign document and request signature",
							"item": [
								{
									"name": "Create file",
									"event": [
										{
											"listen": "test",
											"script": {
												"exec": [
													"var jsonData = pm.response.json();\r",
													"pm.collectionVariables.set(\"hash1\", jsonData.file.hash);"
												],
												"type": "text/javascript"
											}
										}
									],
									"request": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "formdata",
											"formdata": [
												{
													"key": "file",
													"type": "file",
													"src": "/C:/PV/Palaxo/multiple docs/company_memorandum.pdf"
												}
											]
										},
										"url": {
											"raw": "https://app.sandbox.circularo.com/api/v1/files/saveFile",
											"protocol": "https",
											"host": [
												"app",
												"sandbox",
												"circularo",
												"com"
											],
											"path": [
												"api",
												"v1",
												"files",
												"saveFile"
											]
										}
									},
									"response": []
								},
								{
									"name": "Create document",
									"event": [
										{
											"listen": "test",
											"script": {
												"exec": [
													"var jsonData = pm.response.json();\r",
													"pm.collectionVariables.set(\"documentId1\", jsonData.results[0].documentId);\r",
													""
												],
												"type": "text/javascript"
											}
										}
									],
									"request": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\r\n    \"body\": {\r\n        \"documentType\": \"d_default\",\r\n        \"documentTitle\": \"My document\",\r\n        \"pdfFile\": {\r\n            \"content\": \"{{hash1}}\"   //specify existing file hash\r\n        }\r\n    },\r\n    \"definitionType\": \"ext\",\r\n    \"workflow\": \"wf_archive\"\r\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "https://app.sandbox.circularo.com/api/v1/documents",
											"protocol": "https",
											"host": [
												"app",
												"sandbox",
												"circularo",
												"com"
											],
											"path": [
												"api",
												"v1",
												"documents"
											]
										}
									},
									"response": []
								},
								{
									"name": "Sign and request signature",
									"request": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\r\n  \"id\": \"{{documentId1}}\",\r\n  \"type\": \"d_default\",\r\n  \"objectType\": \"document\",\r\n  \"data\": [\r\n    {\r\n      \"sharePurpose\": \"sign\",\r\n      \"shareTo\": \"adam.smith@circularo.com\"\r\n    }\r\n  ],\r\n  \"signatureFields\": [ //array with objects that are required from the user\r\n        {\r\n            \"user\": [\"adam.smith@circularo.com\"],\r\n            \"timestamp\": false,\r\n            \"required\": true,\r\n            \"type\": \"signature\",    //type is signature\r\n            \"pages\": [1],  //document page with signature\r\n            \"position\": {   //position and size of the signature in the document page\r\n                \"percentX\": 0.2,\r\n                \"percentY\": 0.6,\r\n                \"percentWidth\": 0.4,\r\n                \"percentHeight\": 0.1\r\n            }\r\n        }, {\r\n            \"user\": [\"adam.smith@circularo.com\"],\r\n            \"required\": true,\r\n            \"type\": \"annotation\",    //type is annotation\r\n            \"subtype\": \"annotation_phone\", //subtype is phone\r\n            \"pages\": [1],\r\n            \"position\": { //position and size of the annotation in the document page\r\n                \"percentX\": 0.6,\r\n                \"percentY\": 0.6,\r\n                \"percentWidth\": 0.1,\r\n                \"percentHeight\": 0.15\r\n            }\r\n        }\r\n    ],\r\n  \"signatures\": [ //array containing our signature\r\n    {\r\n      \"type\": \"signature\",\r\n      \"blob\": \"qk0d8ay0fukfg5uzp2lals1k2jlpik5g3unvw09lcsn7428efkjwgfvq9wen8qsu\",\r\n      \"pages\": [1],\r\n      \"position\": {\r\n        \"percentX\": 0.5,\r\n        \"percentY\": 0.3,\r\n        \"percentWidth\": 0.4,\r\n        \"percentHeight\": 0.1\r\n      },\r\n      \"disableDecoration\": true\r\n    }\r\n  ]\r\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "https://app.sandbox.circularo.com/api/v1/share",
											"protocol": "https",
											"host": [
												"app",
												"sandbox",
												"circularo",
												"com"
											],
											"path": [
												"api",
												"v1",
												"share"
											]
										}
									},
									"response": []
								}
							]
						},
						{
							"name": "Request signature and download document once completed",
							"item": [
								{
									"name": "Create file",
									"event": [
										{
											"listen": "test",
											"script": {
												"exec": [
													"var jsonData = pm.response.json();\r",
													"pm.collectionVariables.set(\"hash2\", jsonData.file.hash);"
												],
												"type": "text/javascript"
											}
										}
									],
									"request": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "formdata",
											"formdata": [
												{
													"key": "file",
													"type": "file",
													"src": "/C:/PV/Palaxo/multiple docs/company_memorandum.pdf"
												}
											]
										},
										"url": {
											"raw": "https://app.sandbox.circularo.com/api/v1/files/saveFile",
											"protocol": "https",
											"host": [
												"app",
												"sandbox",
												"circularo",
												"com"
											],
											"path": [
												"api",
												"v1",
												"files",
												"saveFile"
											]
										}
									},
									"response": []
								},
								{
									"name": "Create document",
									"event": [
										{
											"listen": "test",
											"script": {
												"exec": [
													"var jsonData = pm.response.json();\r",
													"pm.collectionVariables.set(\"documentId2\", jsonData.results[0].documentId);\r",
													""
												],
												"type": "text/javascript"
											}
										}
									],
									"request": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\r\n    \"body\": {\r\n        \"documentType\": \"d_default\",\r\n        \"documentTitle\": \"My document\",\r\n        \"pdfFile\": {\r\n            \"content\": \"{{hash2}}\"   //specify existing file hash\r\n        }\r\n    },\r\n    \"definitionType\": \"ext\",\r\n    \"workflow\": \"wf_archive\"\r\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "https://app.sandbox.circularo.com/api/v1/documents",
											"protocol": "https",
											"host": [
												"app",
												"sandbox",
												"circularo",
												"com"
											],
											"path": [
												"api",
												"v1",
												"documents"
											]
										}
									},
									"response": []
								},
								{
									"name": "Request signature",
									"request": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\r\n    \"objectType\": \"document\",\r\n    \"type\": \"d_default\",\r\n    \"id\": \"a1d6de11-e052-4729-934c-20a2c2417757\", //document id\r\n    \"data\": [ //specify at least one participant\r\n        {\r\n            \"sharePurpose\": \"sign\",\r\n            \"shareTo\": \"adam.smith@circularo.com\"  //external user\r\n        }, {\r\n            \"sharePurpose\": \"sign\",\r\n            \"shareTo\": \"jennifer.white@circularo.com\"  //internal username\r\n        }\r\n    ],\r\n    \"signatureFields\": [\r\n        {\r\n            \"type\": \"annotation\",\r\n            \"position\": {\r\n                \"percentX\": 0.13474484256243213,\r\n                \"percentY\": 0.2118678728457018,\r\n                \"percentWidth\": 0.1,\r\n                \"percentHeight\": 0.017619188628960617\r\n            },\r\n            \"pages\": [\r\n                1\r\n            ],\r\n            \"user\": [\"adam.smith@gmail.com\"],\r\n            \"required\": true,\r\n            \"timestamp\": false,\r\n            \"text\": \"\",\r\n            \"subtype\": \"annotation_generic\",\r\n            \"fontSize\": 10,\r\n            \"font\": \"default\",\r\n            \"color\": \"#000000\",\r\n            \"bold\": false,\r\n            \"align\": \"left\"\r\n        },\r\n        {\r\n            \"user\": [\"adam.smith@gmail.com\"],\r\n            \"timestamp\": false,\r\n            \"required\": true,\r\n            \"tooltip\": \"Signature tooltip text\",\r\n            \"type\": \"signature\",    //sign type\r\n            \"pages\": [1],  //document page with signature\r\n            \"position\": {   //position and size of the signature in the document page\r\n                \"percentX\": 0.5,\r\n                \"percentY\": 0.1,\r\n                \"percentWidth\": 0.2,\r\n                \"percentHeight\": 0.05\r\n            }\r\n        }, {\r\n            \"user\": [\"jennifer.white@circularo.com\"],\r\n            \"timestamp\": true,\r\n            \"required\": true,\r\n            \"tooltip\": \"Stamp tooltip text\",\r\n            \"type\": \"signature\",   \r\n            \"pages\": [2],\r\n            \"position\": { //position and size of the signature in the document page\r\n                \"percentX\": 0.3,\r\n                \"percentY\": 0.65,\r\n                \"percentWidth\": 0.15,\r\n                \"percentHeight\": 0.15\r\n            }\r\n        }\r\n    ],\r\n    \"sequential\": true  //recipients are required to sign one-by-one\r\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "https://app.sandbox.circularo.com/api/v1/share",
											"protocol": "https",
											"host": [
												"app",
												"sandbox",
												"circularo",
												"com"
											],
											"path": [
												"api",
												"v1",
												"share"
											]
										}
									},
									"response": []
								},
								{
									"name": "Download signed document",
									"request": {
										"method": "GET",
										"header": [],
										"url": {
											"raw": "https://app.sandbox.circularo.com/api/v1/files/loadFile/hash/{{hash2}}",
											"protocol": "https",
											"host": [
												"app",
												"sandbox",
												"circularo",
												"com"
											],
											"path": [
												"api",
												"v1",
												"files",
												"loadFile",
												"hash",
												"{{hash2}}"
											]
										}
									},
									"response": []
								}
							]
						},
						{
							"name": "Use signature template",
							"item": [
								{
									"name": "Create file",
									"event": [
										{
											"listen": "test",
											"script": {
												"exec": [
													"var jsonData = pm.response.json();\r",
													"pm.collectionVariables.set(\"template_hash\", jsonData.file.hash);\r",
													""
												],
												"type": "text/javascript"
											}
										}
									],
									"request": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "formdata",
											"formdata": [
												{
													"key": "file",
													"type": "file",
													"src": "/C:/PV/Palaxo/multiple docs/file7.pdf"
												}
											]
										},
										"url": {
											"raw": "https://app.sandbox.circularo.com/api/v1/files/saveFile",
											"protocol": "https",
											"host": [
												"app",
												"sandbox",
												"circularo",
												"com"
											],
											"path": [
												"api",
												"v1",
												"files",
												"saveFile"
											]
										}
									},
									"response": []
								},
								{
									"name": "Create template",
									"event": [
										{
											"listen": "test",
											"script": {
												"exec": [
													"var jsonData = pm.response.json();\r",
													"pm.collectionVariables.set(\"template_id\", jsonData.id);\r",
													""
												],
												"type": "text/javascript"
											}
										}
									],
									"request": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\r\n\t\"data\": {\r\n\t\t\"name\": \"My Template\",\r\n\t\t\"documentType\": \"d_default\",\r\n\t\t\"definitionType\": \"ext\",\r\n\t\t\"sequential\": false,\r\n\t\t\"category\": \"\",\r\n\t\t\"fields\": [\"GF_EXPIRATION\"],\r\n\t\t\"file\": \"{{template_hash}}\",\r\n\t\t\"signEntities\": [{\r\n\t\t\t\"type\": \"user\",\r\n\t\t\t\"quorum\": 1,\r\n\t\t\t\"userRoleId\": 0,\r\n\t\t\t\"userRoleName\": \"Recipient 1\",\r\n\t\t\t\"shareType\": \"sign\",\r\n\t\t\t\"order\": 1,\r\n\t\t\t\"users\": [{\r\n\t\t\t\t\"name\": \"\",\r\n\t\t\t\t\"mail\": \"derek.trotter@circularo.com\",\r\n\t\t\t\t\"type\": \"external\",\r\n\t\t\t\t\"contactType\": \"mail\"\r\n\t\t\t}]\r\n\t\t}],\r\n\t\t\"signFields\": [{\r\n\t\t\t\"type\": \"annotation\",\r\n\t\t\t\"subtype\": \"annotation_generic\",\r\n\t\t\t\"pages\": [1],\r\n\t\t\t\"multipage\": false,\r\n\t\t\t\"position\": {\r\n\t\t\t\t\"percentX\": 0.1127450980392157,\r\n\t\t\t\t\"percentY\": 0.8053030303030304,\r\n\t\t\t\t\"percentWidth\": 0.2588235294117647,\r\n\t\t\t\t\"percentHeight\": 0.01742424242424243\r\n\t\t\t},\r\n\t\t\t\"backgroundColor\": \"#FFFFFF00\",\r\n\t\t\t\"config\": \"{\\\"multipageType\\\":\\\"all\\\",\\\"multiPageCustom\\\":\\\"1\\\",\\\"placeholder\\\":\\\"Text\\\",\\\"group\\\":false}\",\r\n\t\t\t\"required\": false,\r\n\t\t\t\"order\": 1,\r\n\t\t\t\"tooltip\": \"\",\r\n\t\t\t\"cancelled\": false,\r\n\t\t\t\"filled\": false,\r\n\t\t\t\"user\": [\"derek.trotter@circularo.com\"],\r\n\t\t\t\"userRoleId\": 0,\r\n\t\t\t\"userRoleName\": \"Recipient 1\",\r\n\t\t\t\"text\": \"\",\r\n\t\t\t\"align\": \"left\",\r\n\t\t\t\"bold\": false,\r\n\t\t\t\"font\": \"default\",\r\n\t\t\t\"fontSize\": 10,\r\n\t\t\t\"color\": \"#000000\",\r\n\t\t\t\"numberOfLines\": -1\r\n\t\t}, {\r\n\t\t\t\"type\": \"signature\",\r\n\t\t\t\"pages\": [1],\r\n\t\t\t\"multipage\": false,\r\n\t\t\t\"position\": {\r\n\t\t\t\t\"percentX\": 0.3950980392156863,\r\n\t\t\t\t\"percentY\": 0.7492424242424244,\r\n\t\t\t\t\"percentWidth\": 0.2418301451439951,\r\n\t\t\t\t\"percentHeight\": 0.08080804998224432\r\n\t\t\t},\r\n\t\t\t\"config\": \"{\\\"multipageType\\\":\\\"all\\\",\\\"multiPageCustom\\\":\\\"1\\\",\\\"group\\\":false}\",\r\n\t\t\t\"required\": false,\r\n\t\t\t\"order\": 1,\r\n\t\t\t\"tooltip\": \"\",\r\n\t\t\t\"cancelled\": false,\r\n\t\t\t\"filled\": false,\r\n\t\t\t\"user\": [\"derek.trotter@circularo.com\"],\r\n\t\t\t\"userRoleId\": 0,\r\n\t\t\t\"userRoleName\": \"Recipient 1\",\r\n\t\t\t\"timestamp\": false\r\n\t\t}],\r\n\t\t\"type\": \"sign\",\r\n\t\t\"__shared\": false,\r\n\t\t\"__editable\": true,\r\n\t\t\"rolesAsUsers\": []\r\n\t}\r\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "https://app.sandbox.circularo.com/api/v1/templates",
											"protocol": "https",
											"host": [
												"app",
												"sandbox",
												"circularo",
												"com"
											],
											"path": [
												"api",
												"v1",
												"templates"
											]
										}
									},
									"response": []
								},
								{
									"name": "Read template data",
									"request": {
										"method": "GET",
										"header": [],
										"url": {
											"raw": "https://app.sandbox.circularo.com/api/v1/templates/{{template_id}}",
											"protocol": "https",
											"host": [
												"app",
												"sandbox",
												"circularo",
												"com"
											],
											"path": [
												"api",
												"v1",
												"templates",
												"{{template_id}}"
											]
										}
									},
									"response": []
								},
								{
									"name": "Create document",
									"request": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\r\n    \"body\": {\r\n        \"documentType\": \"d_default\",\r\n        \"documentTitle\": \"My Document\",\r\n        \"pdfFile\": {\r\n            \"content\": \"{{template_hash}}\"   //specify existing file hash\r\n        }\r\n    },\r\n    \"definitionType\": \"ext\",\r\n    \"workflow\": \"wf_archive\"\r\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "https://app.sandbox.circularo.com/api/v1/documents",
											"protocol": "https",
											"host": [
												"app",
												"sandbox",
												"circularo",
												"com"
											],
											"path": [
												"api",
												"v1",
												"documents"
											]
										}
									},
									"response": []
								},
								{
									"name": "Request signature",
									"request": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\r\n    \"objectType\": \"document\",\r\n    \"type\": \"d_default\",\r\n    \"id\": \"b0717fa6-a826-4226-802b-58a8f1554480\", //document id\r\n    \"data\": [ //specify at least one participant\r\n        {\r\n            \"sharePurpose\": \"sign\",\r\n            \"shareTo\": \"bill.taylor789@gmail.com\",  //external user\r\n            \"message\": \"Sign me\",  //optional private message\r\n            \"validUntil\": \"2024-02-11T19:10:10.100Z\"   //optional expiration date in ISO 8601 format\r\n\r\n        }, {\r\n            \"sharePurpose\": \"sign\",\r\n            \"shareTo\": \"kim.black@circularo.com\",  //internal username\r\n            \"message\": \"Sign me, please\", //optional private message\r\n            \"validUntil\": \"2024-02-12T19:10:10.100Z\" //optional expiration date in ISO 8601 format\r\n        }\r\n    ],\r\n    \"signatureFields\": [\r\n        {\r\n            \"user\": [\"bill.taylor789@gmail.com\"],\r\n            \"timestamp\": false,\r\n            \"required\": true,\r\n            \"tooltip\": \"Signature tooltip text\",\r\n            \"type\": \"signature\",    //sign type\r\n            \"pages\": [3],  //document page with signature\r\n            \"position\": {   //position and size of the signature in the document page\r\n                \"percentX\": 0.5,\r\n                \"percentY\": 0.1,\r\n                \"percentWidth\": 0.2,\r\n                \"percentHeight\": 0.05\r\n            }\r\n        }, {\r\n            \"user\": [\"kim.black@circularo.com\"],\r\n            \"timestamp\": true,\r\n            \"required\": true,\r\n            \"tooltip\": \"Stamp tooltip text\",\r\n            \"type\": \"stamp\",    //sign type is stamp\r\n            \"pages\": [4],\r\n            \"position\": { //position and size of the signature in the document page\r\n                \"percentX\": 0.3,\r\n                \"percentY\": 0.65,\r\n                \"percentWidth\": 0.15,\r\n                \"percentHeight\": 0.15\r\n            }\r\n        }\r\n    ],\r\n    \"sequential\": true  //recipients are required to sign one-by-one\r\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "https://app.sandbox.circularo.com/api/v1/share",
											"protocol": "https",
											"host": [
												"app",
												"sandbox",
												"circularo",
												"com"
											],
											"path": [
												"api",
												"v1",
												"share"
											]
										}
									},
									"response": []
								}
							]
						}
					]
				},
				{
					"name": "Other",
					"item": [
						{
							"name": "Login with MFA",
							"item": [
								{
									"name": "Login",
									"event": [
										{
											"listen": "test",
											"script": {
												"exec": [
													"var jsonData = pm.response.json();\r",
													"pm.collectionVariables.set(\"lockedToken\", jsonData.token);"
												],
												"type": "text/javascript"
											}
										}
									],
									"request": {
										"auth": {
											"type": "noauth"
										},
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\r\n    \"name\": \"api.test@circularo.com\",\r\n    \"password\": \"secretPassword!\"\r\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "https://app.sandbox.circularo.com/api/v1/login",
											"protocol": "https",
											"host": [
												"app",
												"sandbox",
												"circularo",
												"com"
											],
											"path": [
												"api",
												"v1",
												"login"
											]
										}
									},
									"response": []
								},
								{
									"name": "Unlock token",
									"request": {
										"auth": {
											"type": "noauth"
										},
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\r\n  \"factors\": [\r\n    {\r\n      \"factor\": \"email\", // MFA provider other options are \"sms\" and \"totp\" for 3rd party app\r\n      \"password\": \"699710\"\r\n    }\r\n  ]\r\n}",
											"options": {
												"raw": {
													"language": "json"
												}
											}
										},
										"url": {
											"raw": "https://app.sandbox.circularo.com/api/v1/login/unlock?token={{lockedToken}}",
											"protocol": "https",
											"host": [
												"app",
												"sandbox",
												"circularo",
												"com"
											],
											"path": [
												"api",
												"v1",
												"login",
												"unlock"
											],
											"query": [
												{
													"key": "token",
													"value": "{{lockedToken}}"
												}
											]
										}
									},
									"response": []
								}
							]
						}
					]
				}
			]
		},
		{
			"name": "Webhooks",
			"item": [
				{
					"name": "Webhook",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "https://app.sandbox.circularo.com/api/v1/webhooks",
							"protocol": "https",
							"host": [
								"app",
								"sandbox",
								"circularo",
								"com"
							],
							"path": [
								"api",
								"v1",
								"webhooks"
							]
						}
					},
					"response": []
				}
			]
		}
	],
	"auth": {
		"type": "apikey",
		"apikey": [
			{
				"key": "value",
				"value": "cbfd14f5396100223e82e177b8d15bf9deefd56f2e3b39ed6e993bbe34e2012d",
				"type": "string"
			},
			{
				"key": "in",
				"value": "query",
				"type": "string"
			},
			{
				"key": "key",
				"value": "token",
				"type": "string"
			}
		]
	},
	"event": [
		{
			"listen": "prerequest",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		},
		{
			"listen": "test",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		}
	],
	"variable": [
		{
			"key": "id",
			"value": ""
		},
		{
			"key": "orgId",
			"value": ""
		},
		{
			"key": "userGroupId",
			"value": ""
		},
		{
			"key": "hash",
			"value": ""
		},
		{
			"key": "documentId",
			"value": ""
		},
		{
			"key": "docVersion",
			"value": ""
		},
		{
			"key": "hash1",
			"value": ""
		},
		{
			"key": "documentId1",
			"value": ""
		},
		{
			"key": "hash2",
			"value": ""
		},
		{
			"key": "documentId2",
			"value": ""
		},
		{
			"key": "hash3",
			"value": ""
		},
		{
			"key": "hash4",
			"value": ""
		},
		{
			"key": "documentId4",
			"value": ""
		},
		{
			"key": "template_hash",
			"value": ""
		},
		{
			"key": "template_id",
			"value": ""
		},
		{
			"key": "template_documentId",
			"value": ""
		},
		{
			"key": "lockedToken",
			"value": ""
		},
		{
			"key": "barcodeHash",
			"value": ""
		}
	]
}