login
DevelopingPOST
https://api-demo.hybridmlmsoftware.com/oauth/tokenWelcome to the Login API documentation! .The User Login endpoint allows registered users to authenticate themselves and obtain access to protected resources within the system. Upon successful authentication, the server generates an authentication token that should be included in subsequent requests to authorize access to restricted endpoints.
Request
Body Params multipart/form-data
grant_type
string
required
Example:
password
client_id
integer
required
You can generate client_id by using this url - https://training-v8.hybridmlmsoftware.com/admin/oauth/manage
Example:
14
client_secret
string
required
You can generate client_secret by using this url - https://training-v8.hybridmlmsoftware.com/admin/oauth/manage
Example:
YnO58qU11qWZvCic1Yf6Nuf7uIJtiH0w1dve5nVS
username
string
required
Username must be a valid email address
Example:
jishnu23@gmail.com
password
string
required
Example:
admin
scope
string
required
Example:
*
Request samples
Responses
Success(200)
Parameter Error(422)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
error
string
required
error_description
string
required
message
string
required
Example
{
"token_type": "Bearer",
"expires_in": 31536000,
"access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIxNCIsImp0aSI6IjY4YmNkZTIwNDY4OGIxZWVjMWVmMTVhNmU3ODgyODAzMjNjMDkzODVmMDMwYWQ4NWM1NTAzMGE5ODI2NzIxMWViOTA3Y2Q5MmFhYTAzMDNmIiwiaWF0IjoxNzE2MzU1MTI5LjA5OTIwOTA3MDIwNTY4ODQ3NjU2MjUsIm5iZiI6MTcxNjM1NTEyOS4wOTkyMTA5Nzc1NTQzMjEyODkwNjI1LCJleHAiOjE3NDc4OTExMjkuMDg3NDMxOTA3NjUzODA4NTkzNzUsInN1YiI6IjMiLCJzY29wZXMiOlsiKiJdfQ.koQgB3uGDc1yTVf03rQTdT09fjXrxbyp9Q8DuJv7TJD0O8bhMYcemE_nIlY8qNC29wap_3P1otVKOrBl6q008o6BRtxQLV4ewNNVFHXCO0QQiO3kLjA2DwrLkMoa7cSycfk7LvIVc-BVx9QpsExkY1T5ls7uc5bQPd9_V6tC1nK-uy8M5J0-o7mQVp_rMCjYJPShKa3J_lo1DyVpS2V-qmfJQFZeozwd0_2JgojZVx0gLS7JEWAWzu90psuivw_adPWGUkzACBMGxGHMY71XLxZysQF8JXuiVVUGWD4UY-WFRcAOZmNcHGGEhB9EqMGWz4i0VVQv4TUcIuAzKEbppuUCX-jZcOdeZlVMy_it0AbCKqfkChzKtU256IU71PIHKcr2sglE0qilYgB7_jWZTT90HOz1dNYa6zUjAf9K23UXMT7y8raD8Vw48x4VWU3aSqMuIjpH7uRuMv99FE4nfsWcKm02f04z0ZvMxnUNUUwNtSokQqXzQN6fHwkSMzKreRMyv-ZxkjpdSnr_xZHA2VjveQsK6oSD9VK4sbjgqq-VMKZgE2eaasFOpWol8ooI3oIqCxdsMLbN6o3ts5U_naku8XTsG_nXL8iwcXAOzaN-meQgQ91FtyR6KLYBJ1XnULfxHKj27Xig9jf-0NQtTAPtZwHcLAV9aTpqlszU2ME",
"refresh_token": "def5020099c0a1b6a240dc339b1fdcb6cc841dd2d12615b7affda945c562d445b2d1ececa5e114972ad9de452fffbbb90cdc6d9c3a587592dd66b0b82a3bc9d9f5233aa348684f465eb4de8f7bbb7fe283a321e8fd9f74af4f9f8f0f790f19162c0a44d3c3baba769ed8cca2f2d37b816645d86d26644eff5bf793857d60fac65566693a36edeb9e8eb7be71a8505438a922956e7943b8c585d6df57201a6484083a11bfc490c2f89f4277a2c51eb0358d78f9876872ac2770d45e4420eccdbc946d9e258989a70a8dc654bfc97fc7ede537f5bc6e0dfabdd0316038c43fbf3c79f9c4c1b42f8110de255730cc1992440380dc5ae05847580681d52a67e201b453032148a9397d047b39e439b8bd3612baed357bfa3291a60d2dce40547aa950af9dd4f1afcc51198ee842868fc4f1132fa75199f6b4c6832f16163d62869ee49c5d6ebc7f07eaf855e0e74c176fecdda4ae1bb94a1d849bf817f4f9c6a4245394ed7be5a5"
}
Last modified: 4 months ago