Speaky API
Last updated
Last updated
You can generate custom links for Voice Pages or import feedback data for a chosen period to third-party systems.
Generate the token
Once generated, copy the token and use it in your future projects.
Please contact your representative to get access to API first.
Create a set of parameters to send via your link . The parameters are sent as key/vlaue pairs and you are creating a key.
Create a new Voice Page or open an existing one.
Assign a set of tags to a page via the Tags screen.
Method: POST
Endpoint: https://speaky.instreamatic.com/api/v1/product/$PRODUCT_ID/link
Headers:
Body:
Where,
$ACCOUNT_TOKEN is your access token
$PRODUCT_ID is an ID of a Voice Page. For example, in https://feedback.instreamatic.com/main/manage/product/343/main, 343 is the ID.
tag - one of the tags assigned to the page. You can send up to 10 different tags within one request.
value - value for a tag.
Where,
"link" is the customized Voice Page link
"url" inside the qr_code is a link to QR-Code with the same link.
Method: GET
Endpoint: https://speaky.instreamatic.com/api/v1/review?product_id=$PRODUCTID&from=$STARTDATE&to=$END_DATE
Headers:
Body:
Where,
$ACCOUNT_TOKEN is your access token
$PRODUCT_ID is an ID of a Voice Page. For example, in https://feedback.instreamatic.com/main/manage/product/343/main, 343 is the ID.
$STARTDATE - is the period's start date in YYYY-MM-DD format.
$END_DATE - is the period's end date in YYYY-MM-DD format.
In case of multiple responses, the system will return the list of responses for the chosen period.
The "anchor" defines the last retrieved speaky. If you want to get only new speakys in your next request, call the following:
Endpoint: https://speaky.instreamatic.com/api/v1/review?product_id=$PRODUCTID&anchor=$ANCHOR
where $ANCHOR is an anchor value you got from the previous response. The rest of the headers remains the same.
If you are a client, you can create a page and use its parameters and your API-Key to perform tests.
If you are not a client yet, please use the following data for the test:
API-Key: 9c0030ae31004cdbea1af75a4fbd1bba
Test tags: test_tag1 and test_tag2
Product ID: 169
Test page: (use this page to record feedback).