Jump to content

API Call Is Returning An Error


damien113

Recommended Posts

I am using the WHMCS External API and can no get it to work. I have the IP whitelisted and tokens created. I have tried both links 

https://orders.websitename.com/api.php?action=GetClientsProducts&identifier=identifier_key&secret=secret_key

https://orders.websitename.com/api.php?action=GetClientsProducts&username=user@company.com&password=password!&accesskey=secret_key

 

they have both returned

<?xml version="1.0" encoding="utf-8"?>
<whmcsapi version="">
    <action>getclientsproducts</action>
    <result>error</result>
    <message>An admin user is required</message>
</whmcsapi>
Link to comment
Share on other sites

Just now, damien113 said:

I am using the WHMCS External API and can no get it to work. I have the IP whitelisted and tokens created. I have tried both links 

https://orders.websitename.com/api.php?action=GetClientsProducts&identifier=identifier_key&secret=secret_key

https://orders.websitename.com/api.php?action=GetClientsProducts&username=user@company.com&password=password!&accesskey=secret_key

 

they have both returned

<?xml version="1.0" encoding="utf-8"?>
<whmcsapi version="">
    <action>getclientsproducts</action>
    <result>error</result>
    <message>An admin user is required</message>
</whmcsapi>

Also yes, the account is a full admin.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated