HappyFox provides you with RESTful APIs where you can create a ticket, add updates to a ticket, list tickets and users and much more. JSON, Form Urlencoded and Multipart Form Data are the supported formats for the APIs.
What you need, how you can use it, API version, Resource URI and all other information can be found here on this exclusive page for APIs
- How to create API auth code and key
- Tickets endpoint
- Contacts and contact groups endpoint
- Reports endpoint
- Set multiple option custom fields using API
- Asset management via API
- Export Knowledge Base
- API Rate limting
If your HappyFox account is hosted in EU, please use <account_name>.happyfox.net
Other commonly used endpoints are listed below.
API key and auth code are to be passed in Basic HTTP authentication format only.
1. List categories
API Endpoint: https://<account_name>.happyfox.com/api/1.1/json/categories/
2. List staffs/agents
3. List metadata of all ticket custom fields
4. List metadata of all contact custom fields
API Endpoint: API end points:
External articles - https://<account_name>.happyfox.com/api/1.1/json/kb/articles/
Internal articles - https://<account_name>.happyfox.com/api/1.1/json/kb/internal-articles/
The above urls returns all the external and internal articles in your Knowledge Base as JSON response.
The above url allows you to access one article a time, using the article id provided from the /articles/ endpoint in the previous step. This is applicable only for external articles.