{"_id":"553591ce63cc650d0031292f","project":"55357364e02d480d0003c6d3","category":{"_id":"553591cd63cc650d00312926","__v":1,"pages":["553591ce63cc650d00312929","553591ce63cc650d0031292a","553591ce63cc650d0031292b","553591ce63cc650d0031292c","553591ce63cc650d0031292d","553591ce63cc650d0031292e","553591ce63cc650d0031292f","553591ce63cc650d00312930"],"project":"55357364e02d480d0003c6d3","version":"553591cd63cc650d00312925","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-04-20T21:45:09.762Z","from_sync":false,"order":0,"slug":"api","title":"API"},"__v":4,"version":{"_id":"553591cd63cc650d00312925","project":"55357364e02d480d0003c6d3","__v":13,"forked_from":"55357365e02d480d0003c6d6","createdAt":"2015-04-20T23:54:53.134Z","releaseDate":"2015-04-20T23:54:53.134Z","categories":["553591cd63cc650d00312926","553591cd63cc650d00312927","5536e4d39f7f2d0d00b1cd54","5536e55c20d5ca0d0001580a","5536e6bf7fe60f0d000fd1c0","5536f5bba171250d00c00556","553a974369c2630d00a8562e","553a97c60074c80d00621c2a","553a98332af5f20d000fc32a","553a9b9869c2630d00a85642","556e0f23d02e0b190042f13d","563249b1dcc27a1700823650","5639113f049e420d00476b03","59a5dd94aaa11d003334edb4"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2"},"user":"55356ede6040a20d00454508","parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-04-20T23:46:00.826Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":2,"body":"Authentication to the API occurs via HTTP Basic Authentication.  To authenticate your request, add an Authorization header to the list of request headers where \"username:password\"  is encoded as a Base64 string.\n\nSample Basic Authorization Header:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"Authorization: Basic am9obm55cm9ja2V0QG1haWxlbmF0b3IuY29tOm15cHdk\",\n      \"language\": \"text\"\n    }\n  ]\n}\n[/block]\nSample Request Header for a GET including Authorization header:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"GET https://api.goformz.com/v2/formz HTTP/1.1\\nHost: api.goformz.com\\nConnection: keep-alive\\nAuthorization: Basic <Base64 encoded(username:password)>\\nAccept: application/json\\nAccept-Encoding: gzip, deflate, sdch\\nAccept-Language: en-US,en;q=0.8\",\n      \"language\": \"http\"\n    }\n  ]\n}\n[/block]\nAll API requests must be made over `HTTPS`. Calls made over plain `HTTP` will fail. You must authenticate for all requests.","excerpt":"","slug":"authentication","type":"basic","title":"Authentication"}
Authentication to the API occurs via HTTP Basic Authentication. To authenticate your request, add an Authorization header to the list of request headers where "username:password" is encoded as a Base64 string. Sample Basic Authorization Header: [block:code] { "codes": [ { "code": "Authorization: Basic am9obm55cm9ja2V0QG1haWxlbmF0b3IuY29tOm15cHdk", "language": "text" } ] } [/block] Sample Request Header for a GET including Authorization header: [block:code] { "codes": [ { "code": "GET https://api.goformz.com/v2/formz HTTP/1.1\nHost: api.goformz.com\nConnection: keep-alive\nAuthorization: Basic <Base64 encoded(username:password)>\nAccept: application/json\nAccept-Encoding: gzip, deflate, sdch\nAccept-Language: en-US,en;q=0.8", "language": "http" } ] } [/block] All API requests must be made over `HTTPS`. Calls made over plain `HTTP` will fail. You must authenticate for all requests.