Authenticating a Reseller

Description

Authenticates the Sub-Reseller and returns the Reseller ID, if authenticated.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
username String Required Username of the Sub-Reseller
passwd String Required Password of the Sub-Reseller

HTTP Method

GET

Example Test URL Request

https://test.httpapi.com/api/resellers/authenticate.json?auth-userid=0&api-key=key&username=username@subreseller.com&passwd=subresellerpassword

Response

Returns a hash map containing the below details, if the Sub-Reseller is authenticated successfully:

  • Reseller Id (resellerid)

  • 2-Step Verification status (twofactorauth_enabled)