{"__v":0,"_id":"55fc9b803c21291900e7e107","category":{"__v":1,"_id":"55fc9b7a3c21291900e7e0dc","pages":["55fc9b803c21291900e7e105","55fc9b803c21291900e7e106","55fc9b803c21291900e7e107","55fc9b803c21291900e7e108"],"project":"5553d36165e8260d0024419a","version":"55fc9b793c21291900e7e0d7","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-05-13T22:51:53.784Z","from_sync":false,"order":4,"slug":"authentication","title":"Authentication"},"parentDoc":null,"project":"5553d36165e8260d0024419a","user":"5553d33065e8260d00244199","version":{"__v":12,"_id":"55fc9b793c21291900e7e0d7","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-05-15T16:38:03.377Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":2,"body":"OAuth is a multi-step process that requires creating applications in your service and authenticating against it with your user account.\n\nAPImetrics handles all stages of this process completely within our product.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Authentication Setup\"\n}\n[/block]\nIn the authentication settings screen, select the OAuth type from the drop down list, then complete the required URIs.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Callback URI\"\n}\n[/block]\nIf a redirect or callback URI is needed, this is:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"https://client.apimetrics.io/tokens/callback/\",\n      \"language\": \"text\"\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Creating a Token\"\n}\n[/block]\nUsing the Create Token option, our service will take you out to the service to authenticate.  We then handle the token for use in API Calls","excerpt":"Authenticating using OAuth services","slug":"oauth-calls","type":"basic","title":"OAuth Calls"}

OAuth Calls

Authenticating using OAuth services

OAuth is a multi-step process that requires creating applications in your service and authenticating against it with your user account. APImetrics handles all stages of this process completely within our product. [block:api-header] { "type": "basic", "title": "Authentication Setup" } [/block] In the authentication settings screen, select the OAuth type from the drop down list, then complete the required URIs. [block:api-header] { "type": "basic", "title": "Callback URI" } [/block] If a redirect or callback URI is needed, this is: [block:code] { "codes": [ { "code": "https://client.apimetrics.io/tokens/callback/", "language": "text" } ] } [/block] [block:api-header] { "type": "basic", "title": "Creating a Token" } [/block] Using the Create Token option, our service will take you out to the service to authenticate. We then handle the token for use in API Calls