Jump to content

Integrate to external API


Recommended Posts

Hi, I'm new with WHMCS, I tried to find any example how to pass data from WHMCS to external API web service. Please give me any simple example how to trigger on any action and pass data to external API ?

Thank you in advance, hope it will help other developers to find answer for such obvious and simple question )

Link to comment
Share on other sites

Handling remote APIs can be done using the internal CurlCall function. You can use this to build your query

 

There USED to be some decent docs on this, but someone decided to just be lazy and remove all the good docs, forwarding everything to development, without actually verifying that things were transferred over properly.

 

I took a few minutes and verified that the function still works in 7.2.2, so you should have no problems using that, once you've obtained the variables you need from WHMCS using the API

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