We don't have documentation for it, but you can inspect request/response HTTP headers.
You can check these routes:
For fetching entities: /wp-admin/admin-ajax.php?action=wpamelia_api&call=/entities&types[]=locations&types[]=employees&types[]=categories&types[]=custom_fields
For fetching time slots: /wp-admin/admin-ajax.php?action=wpamelia_api&call=/slots&locationId=[LOCATION_ID]&serviceId=[SERVICE_ID]&providerIds[]=[PROVIDER_ID]&group=1&persons=1
For booking: /wp-admin/admin-ajax.php?action=wpamelia_api&call=/bookings
For notification after successfull booking: /wp-admin/admin-ajax.php?action=wpamelia_api&call=/bookings/success/[BOOKING_ID]e.g.
Hi
Where's the doc for Amelia API REST ?
Thank you
Hi
Please i need the doc for Amelia API REST ?
how can i add or cancel appointment with api
Thank you
Hello zeineb
We don't have documentation for it, but you can inspect request/response HTTP headers.
You can check these routes:
For fetching entities: /wp-admin/admin-ajax.php?action=wpamelia_api&call=/entities&types[]=locations&types[]=employees&types[]=categories&types[]=custom_fields
For fetching time slots: /wp-admin/admin-ajax.php?action=wpamelia_api&call=/slots&locationId=[LOCATION_ID]&serviceId=[SERVICE_ID]&providerIds[]=[PROVIDER_ID]&group=1&persons=1
For booking: /wp-admin/admin-ajax.php?action=wpamelia_api&call=/bookings
For notification after successfull booking: /wp-admin/admin-ajax.php?action=wpamelia_api&call=/bookings/success/[BOOKING_ID]e.g.
Booking made with ajax request:
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi, it would be great if you can document how to use the API for integrations.
In todays world, its really important to be able to integrate all the tools.
Thank you for your feedback, Daniel
Our developers will work on this documentation at some point in the near future, for sure.
If you need some further assistance, please feel free to reach out to us.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Aleksandar,
How can I Cancel an appointment through the API?
Thanks!
Hello Daniel
The appointment can be canceled through the URL which you can find in the webhook CancelBooking.
So, that endpoint is being used, and the URL needs to contain the cancelation token.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Alexandar,
can You please provide a more detailed example of how to provide the data required for this call? Thanks!
Hey Daniel
This is a JSON example for "add booking":
You can also use "curl".
Please note that our support only refers to advice, so we won't be able to help you out with this in more detail.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Aleksandar,
I was able to schedule bookings via API.
But seems like there is an error because it's no triggering the webhooks.
How can I get the corresponding webhook triggered?
Thanks
Daniel
Hey Daniel
I can't actually say how the webhook is triggered, so I'll reach out to our developers, and get back to you as soon as I hear from them.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi again Daniel.
For all post-booking actions use url:
/wp-admin/admin-ajax.php?action=wpamelia_api&call=/bookings/success/[BOOKING_ID]
Let me know if that helps.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables