Rest API
Use the instructions below to stream data to Qualetics for Analytics and/or source data for Data Machines.
Sandbox: https://mqdev.qualetics.com
Live: https://mq.qualetics.com
Data can be sent to Qualetics in the form of events to the Qualetics Message Broker. Please follow the instructions below to stream the data using a Rest API post. The API below will support JWT Token Based authentication as well as Header Based Authentication. Refer to the code examples below.
EndPoint | /api/sendmessage |
---|---|
Authorization | Bearer <Access_Token> |
Method | POST |
Params | client_id - This should be the name or the unique identifier of your client in a multi-tenant setup for whom you are sending the data. If you do not have a multi-tenant setup then this value can be skipped. Required for multi-tenant setup |
Body | This contains the main message content that should be passed to the API. The message should be formatted as a JSON structure similar to the JS SDK for each event. See example Body content below |
Result | Confirmation message |