HyperKitty comes with a small REST API allowing you to programatically retrieve emails and information.
This REST API can return the information into several formats. The default format is html to allow human readibility.
To change the format, just add ?format=<FORMAT> to the URL.
The list of available formats is:
Endpoint: /archives/api/lists/
Using this address you will be able to retrieve the information known about all the mailing lists.
Endpoint: /archives/api/list/list-address@example.com/threads/
Using this address you will be able to retrieve information about all the threads on the specified mailing list.
Endpoint: /archives/api/list/list-address@example.com/thread/THREAD-ID/emails/
Using this address you will be able to retrieve the list of emails in a mailing list thread.
Endpoint: /archives/api/list/list-address@example.com/email/MESSAGE-ID-HASH/
Using this address you will be able to retrieve the information known about a specific email on the specified mailing list.
Endpoint: /archives/api/tags/
Using this address you will be able to retrieve the list of tags.