{"_id":"55fca64e4c80910d00b9bed6","parentDoc":null,"category":{"_id":"56394a6a2fc5520d001a4db5","pages":[],"project":"5553d36165e8260d0024419a","version":"55fc9b793c21291900e7e0d7","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-11-03T23:59:38.866Z","from_sync":false,"order":20,"slug":"api-workflows","title":"API: Workflows"},"project":"5553d36165e8260d0024419a","__v":4,"user":"5553d33065e8260d00244199","version":{"_id":"55fc9b793c21291900e7e0d7","__v":12,"project":"5553d36165e8260d0024419a","createdAt":"2015-09-18T23:17:13.545Z","releaseDate":"2015-09-18T23:17:13.545Z","categories":["55fc9b7a3c21291900e7e0d8","55fc9b7a3c21291900e7e0d9","55fc9b7a3c21291900e7e0da","55fc9b7a3c21291900e7e0db","55fc9b7a3c21291900e7e0dc","55fc9b7a3c21291900e7e0dd","55fc9b7a3c21291900e7e0de","55fc9b7a3c21291900e7e0df","55fc9b7a3c21291900e7e0e0","55fc9b7a3c21291900e7e0e1","55fc9b7a3c21291900e7e0e2","55fc9b7a3c21291900e7e0e3","55fc9bad4c80910d00b9bece","56394a0c3539050d00082122","56394a2f68b11f0d0048c9ff","56394a462fc5520d001a4db3","56394a4c2fc5520d001a4db4","56394a5b049e420d00476b5c","56394a6a2fc5520d001a4db5","56394f791593e4190073a44b","567b3adfb56bac0d0019d8d9","569d590e5a2b060d008741eb","569ea93dffccd10d00a05c7f"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-09-19T00:03:26.072Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"code":"{\n    \"meta\": {\n        \"name\": \"Minimal Workflow name\"\n    }\n}\n","language":"json"}]},"method":"post","results":{"codes":[{"status":200,"name":"","code":"{\n  \"access\": {\n    \"org\": false, \n    \"public\": false\n  }, \n  \"meta\": {\n    \"name\": \"Minimal Workflow name\", \n    \"created\": \"2015-09-18T23:29:42.648485Z\", \n    \"tags\": [], \n    \"last_update\": \"2015-09-18T23:29:42.648492Z\", \n    \"owner\": \"agxkZXZ-dmlhdGVzdHNyEQsSBFVzZXIYgICAgICAgAoM\", \n    \"description\": null\n  }, \n  \"id\": \"agxkZXZ-dmlhdGVzdHNyFAsSB1Rlc3RSdW4YgICAgKDLmgkM\", \n  \"workflow\": {\n    \"handle_cookies\": false, \n    \"call_ids\": [], \n    \"stop_on_failure\": true\n  }\n}","language":"json"}]},"settings":"","auth":"required","params":[],"url":"/workflows/"},"isReference":false,"order":2,"body":"Use this API to create a new Workflow in your account. The JSON schema for the input is available at ./schema.json\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"import APImetrics\\n\\napimetrics = APImetrics.APImetricsAPI(apimetrics_key=\\\"your_api_key\\\")\\nwith open('create.json') as handle:\\n  data = json.loads(handle.read())\\n  resp = apimetrics.create_workflow(data)\\n  print result['id']\",\n      \"language\": \"python\"\n    }\n  ]\n}\n[/block]","excerpt":"Use this API to create a new Workflow","slug":"workflows-1","type":"endpoint","title":"Create a new Workflow"}

postCreate a new Workflow

Use this API to create a new Workflow

Definition

{{ api_url }}{{ page_api_url }}

Examples


Result Format


Documentation

Use this API to create a new Workflow in your account. The JSON schema for the input is available at ./schema.json [block:code] { "codes": [ { "code": "import APImetrics\n\napimetrics = APImetrics.APImetricsAPI(apimetrics_key=\"your_api_key\")\nwith open('create.json') as handle:\n data = json.loads(handle.read())\n resp = apimetrics.create_workflow(data)\n print result['id']", "language": "python" } ] } [/block]

User Information

Try It Out

post
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}