oauth2

OAuth 2.0 - Create OAuth2.0 application

This service allows creation of a new OAuth 2.0 application.

This service is part of Withings Pro Solutions. You won't be able to use it if you did not sign a contract with Withings. Uncontracted partners should use the developer dashboard to create their applications.

post https://wbsapi.withings.net/v2/oauth2

Request

  • Base URL
    https://wbsapi.withings.net
  • Auth
    none declared

Query parameters

actionstring required

Must take the string value createclient.

client_idstring required

Your Client ID.

noncestring required

A random token used to prevent replay attacks (Cf. Signature v2 - Getnonce).

signaturestring required

Hash of params (Cf. Signature hash protocol).

namestring required

Specifies the OAuth2.0 application's name

descriptionstring required

Brief summary of the application

intended_environmentstring required

Indicates intended operation environment. Allowed values are: dev, stage and prod

intended_integrationsunknown required

Specifies Withings Solutions to be used. Allowed values are: app_to_app, sdk, cellular and logistics

redirect_urisunknown required

List of redirect uris

Response

(Click to unfold)

statusinteger

Response status. See <a href='#tag/response_status'>Status</a> section for details.

Example response

{
  "body": {
    "client_id": "1130b57432f560c3a686803901e56954f46082c9825a0a598a1a827c56177ca5",
    "client_secret": "40eac75e29c642223793bbdd1faa85e9772638b542c016738b8106d64cc6c1ea",
    "name": "App Name",
    "desc": "App Description",
    "img": "\\/uploads\\/image.png",
    "organization_id": 12345
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.