{"_id":"56a979a12bb3910d000ee941","version":{"_id":"567f0c06143cc60d00c1fdc1","__v":9,"project":"567f0c06143cc60d00c1fdbe","createdAt":"2015-12-26T21:52:06.734Z","releaseDate":"2015-12-26T21:52:06.734Z","categories":["567f0c07143cc60d00c1fdc2","56a9783109cb9c0d00f0c7d3","56a97837f834950d0037b363","56a9783b2d8fd90d0036eed6","56a979912d8fd90d0036eed8","5834b5691a80690f00d31faf","5834b5e4f775120f00c45f9d","5bf1a1473031e4005075ae14","5c64c200244bda003204b97f"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1"},"__v":12,"githubsync":"","user":"567f0baca74a1c0d003e1fba","parentDoc":null,"project":"567f0c06143cc60d00c1fdbe","category":{"_id":"56a979912d8fd90d0036eed8","pages":["56a979a12bb3910d000ee941","56a979d5f834950d0037b367","56a979dbf834950d0037b369","56abe05035138c0d005c94da","56abe0670b9e0b0d006162b7"],"version":"567f0c06143cc60d00c1fdc1","__v":5,"project":"567f0c06143cc60d00c1fdbe","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-01-28T02:14:41.926Z","from_sync":false,"order":0,"slug":"api-usage","title":"API Usage"},"metadata":{"title":"","description":"","image":[]},"updates":["5a62c2bfdf5d960030abc188"],"next":{"pages":[],"description":""},"createdAt":"2016-01-28T02:14:57.636Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":1,"body":"Authentication and identification are handled in the same step in the Tophatter Merchant API by providing one of your API `access_token` values in the query parameters or post data of every request.\n\nThe Tophatter Merchant API only accepts requests sent over SSL (HTTPS).\n\nYou can manage your API keys [here](https://tophatter.com/seller/api_keys).\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"# Using query parameters:\\ncurl -X GET \\\"https://tophatter.com/merchant_api/v1/endpoint.json?access_token=YOUR_ACCESS_TOKEN\\\"\\n\\n# Using post data:\\ncurl -X POST \\\"https://tophatter.com/merchant_api/v1/endpoint.json\\\"\\n-d \\\"access_token=YOUR_ACCESS_TOKEN\\\"\",\n      \"language\": \"curl\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"authentication","type":"basic","title":"Authentication"}
Authentication and identification are handled in the same step in the Tophatter Merchant API by providing one of your API `access_token` values in the query parameters or post data of every request. The Tophatter Merchant API only accepts requests sent over SSL (HTTPS). You can manage your API keys [here](https://tophatter.com/seller/api_keys). [block:code] { "codes": [ { "code": "# Using query parameters:\ncurl -X GET \"https://tophatter.com/merchant_api/v1/endpoint.json?access_token=YOUR_ACCESS_TOKEN\"\n\n# Using post data:\ncurl -X POST \"https://tophatter.com/merchant_api/v1/endpoint.json\"\n-d \"access_token=YOUR_ACCESS_TOKEN\"", "language": "curl" } ] } [/block]