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!

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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #1 kunnusingh, Aug 11, 2017
    Last edited by a moderator: Aug 14, 2017
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,197
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice