user

Validate/Retrieve OAuth2 token

Validate if the credentials are valid and return the OAuth2 token. It supports User Credentials ( username, password ), Facebook Token ( facebook_token ), or Partner login (partner_auth) grant types. When passing facebook_token or partner_auth then username and password are no longer required.

post/user/authenticate

Request

  • Base URL
    https://api.zumba.com
  • URL
    https://api.zumba.com/user/authenticate
  • Auth
    OAuth 2
    Authorization code: https://www.zumba.com/oauth/authorize
    Token URL: https://www.zumba.com/oauth/access_token scopes: basic, user_email, create_user, membership_status, license_management, plan_management, dcd, training

Request body application/x-www-form-urlencoded

usernamestring required

The username or email associated with the User's account

passwordstring password required

User's password.

client_idstring required

Partner Client ID.

client_secretstring required

Partner Client Secret.

scopestring

List of scopes separated by space

facebook_app_idstring

Id of the facebook app to use

facebook_tokenstring

A facebook auth token of a facebook account that is linked to a zumba account

facebook_limited_tokenstring

A facebook auth token when uses FB Limited Login of a facebook account that is linked to a zumba account. For regular login use facebook_token.

google_id_tokenstring

A google id token of a google account that is linked to a zumba account

apple_id_tokenstring

A apple id_token of an apple account that is linked to a zumba account

partner_authboolean

The partner_auth parameter allows only third-party partners to login and manage user's information

Response

Access token information to use for OAuth requests

access_tokenstring

OAuth Access Token

expires_ininteger

Time in seconds that the OAuth access token expires

token_typestring

OAuth Token Type

scopestring

OAuth scope granted

refresh_tokenstring

OAuth Refresh Token

Changes

No recorded changes to this operation across all 2 revisions of this API.