Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

email creation api

Discussion in 'cPanel Developers' started by kunnusingh, Aug 11, 2017.

Tags:
  1. kunnusingh

    kunnusingh Member

    Joined:
    Mar 23, 2010
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    Front of PC
    cPanel Access Level:
    Root Administrator
    hello,

    i am trying to integrated email api integration. according to documention password parameter is required, but not given in api url .

    please help me

    cPanel API 2 Functions - Email::addpop - Software Development Kit - cPanel Documentation



    api url -
    Code:
    https://hostname.example.com:2087/cpsess##########/json-api/cpanel?cpanel_jsonapi_user=user&cpanel_jsonapi_apiversion=2&cpanel_jsonapi_module=Email&cpanel_jsonapi_func=addpop&domain=
    any help?
     
    #1 kunnusingh, Aug 11, 2017
    Last edited by a moderator: Aug 14, 2017
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,220
    Likes Received:
    1,376
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I see the "password" parameter in the WHM API (JSON) example from the document you referenced:

    Code:
    https://hostname.example.com:2087/cpsess##########/json-api/cpanel?cpanel_jsonapi_user=user&cpanel_jsonapi_apiversion=2&cpanel_jsonapi_module=Email&cpanel_jsonapi_func=addpop&domain="example.com"&email="user"&password="12345luggage"&quota="500"
    You have to scroll all the way to the right in the example from the document to see the full entry.

    Thank you.
     
Loading...

Share This Page