v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
Market
Market Integration

Return provider's login URL

This function retrieves the login URL for the cPanel Market provider.

get/Market/get_login_url

Query parameters

providerstring required
Example:cPStore

The cPanel Market provider's name.

url_after_loginstring url required
Example:http://hostname.example.com/redirectionlocation.cgi?state

Where the cPanel Market provider redirects the user's browser after they log in.

Response

HTTP Request was successful.

apiversioninteger

The version of the API.

funcstring

The name of the method called.

modulestring

The name of the module called.

Example response

{
  "apiversion": 3,
  "func": "get_login_url",
  "module": "Market",
  "result": {
    "data": "https://example.com/api/?client_id=MyHearseIsAmazing&function=login&module=bogoSSL&redirect_uri=https%3A%2F%2Fqaportal.cpanel.net%2Fbogus.cgi&response_type=token",
    "metadata": {
      "transformed": 1
    },
    "status": 1
  }
}