{
"opencollection": "1.0.0",
"info": {
"name": "Withings developer documentation answers oauth2 API",
"version": "2.0"
},
"items": [
{
"info": {
"name": "oauth2",
"type": "folder"
},
"items": [
{
"info": {
"name": "Authorization URL",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://wbsapi.withings.nethttps://account.withings.com/oauth2_user/authorize2",
"params": [
{
"name": "response_type",
"value": "",
"type": "query",
"description": "Must take the constant string value ```code```."
},
{
"name": "client_id",
"value": "",
"type": "query",
"description": "Your ```Client ID```."
},
{
"name": "state",
"value": "",
"type": "query",
"description": "A value you define. This can be used to make sure that the redirect back to your site or app wasn’t spoofed."
},
{
"name": "scope",
"value": "",
"type": "query",
"description": "A comma-separated list of permission scopes to request from the user. See the [available scopes](/developer-guide/v3/integration-guide/public-health-data-api/get-access/oauth-authorization-url/#scopes) for the full list and the actions they allow."
},
{
"name": "redirect_uri",
"value": "",
"type": "query",
"description": "The URI we should redirect the user to after choosing to authorize or not your app. This URI must be set as ```Callback Url``` in your partner application. It is possible to use multiple URLs by separating them with a comma.
Examples:
\n\t\t\t\t\t\t\t\t\t