We are planning to develop a service to process Amelia data into our internal data platforms. For that we are going to use your web hooks feature. I was looking through the documentation on that topic, but couldn't find the details I need.
Do you have any detailed documentation on the requests (especially regarding the data format) that are triggered by each type and action available for web hooks?
We also have API Routes for the Amelia app, but most of them are protected depends on of the permissions that is set in WordPress Accounts. You can check those API Routes in this file ../wp-content/plugins/ameliabooking/src/Infrastructure/Routes/Routes.php
At the moment we have some JavaScript hooks that are triggered depending on the view:
JS files are modified (minimized) in the public version of the plugin (in our development environment is accessible), but unfortunately, I can not send you our source code because that is the policy of our company.
All those files that have extension .vue are compressed and minimized in JS files that is very hard and not recommended modifying. So in order to add some other features, you can extract the js and customize it.
Reverse-engineering your code does not sound like a good approach to me. What we're implementing is a backend service to process the data for those events, so I'm mainly just interested in the format of the data that is sent for each event. Is there no data schema that you could share?
I can get there by setting up the web hooks and seeing what I get on the other side, but ideally I would prefer to have the definition of the data from you guys.
In case that's not possible, do you at least have an idea of how often the format changes?
Our developers confirmed that we don't have the data format in our documentation and we don't change the format of existing fields because of our old users.
If you have a couple of minutes, you can suggest that as a "feature request" here, so our developers will know there's a demand for this kind of documentation.
Please feel free to contact us if you have any other questions.
Hi there,
We are planning to develop a service to process Amelia data into our internal data platforms. For that we are going to use your web hooks feature. I was looking through the documentation on that topic, but couldn't find the details I need.
Do you have any detailed documentation on the requests (especially regarding the data format) that are triggered by each type and action available for web hooks?
Cheers,
Pedro
Hi, Jose!
Sorry for the delayed response, we don't work on weekends.
I'm afraid, the only documentation we have at the moment is the one on our site: https://wpamelia.com/web-hooks-settings/
We also have API Routes for the Amelia app, but most of them are protected depends on of the permissions that is set in WordPress Accounts. You can check those API Routes in this file ../wp-content/plugins/ameliabooking/src/Infrastructure/Routes/Routes.php
At the moment we have some JavaScript hooks that are triggered depending on the view:
JS files are modified (minimized) in the public version of the plugin (in our development environment is accessible), but unfortunately, I can not send you our source code because that is the policy of our company.
All those files that have extension .vue are compressed and minimized in JS files that is very hard and not recommended modifying. So in order to add some other features, you can extract the js and customize it.
Hope that will help.
Best Regards.
Hi Liza,
Thanks for your reply.
Reverse-engineering your code does not sound like a good approach to me. What we're implementing is a backend service to process the data for those events, so I'm mainly just interested in the format of the data that is sent for each event. Is there no data schema that you could share?
I can get there by setting up the web hooks and seeing what I get on the other side, but ideally I would prefer to have the definition of the data from you guys.
In case that's not possible, do you at least have an idea of how often the format changes?
Thanks in advance,
Pedro
Hi again, Pedro,
Sure, I will forward your question to our developers, and let's see if we can help you with that.
PS Sorry for mixing up your name, I didn't notice the signature before.
Best Regards.
Hi, Pedro!
Our developers confirmed that we don't have the data format in our documentation and we don't change the format of existing fields because of our old users.
This is an example JSON that is sent via WebHook:
Hope that will help.
Best Regards.
Hi Liza,
That's a shame you don't have that documentation, but I'll use that example to get started.
Thank you for your help!
Pedro,
If you have a couple of minutes, you can suggest that as a "feature request" here, so our developers will know there's a demand for this kind of documentation.
Please feel free to contact us if you have any other questions.
Best Regards.