4min

Rest API

REST API Host

Generate JWT Token

EndPoint

/api/token

Authorization

Basic Authentication

Method

GET

Params

APPLICATION_ID - This will be the unique ID for the application that will be streaming the data. Multiple Application IDs can be generated for the same account.

APPLICATION_SECRET - Password for the application

Result

Access_Token

Send Message

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

Example Code

JS
|



Updated 05 May 2022
Did this page help?
Yes
No