curl --request POST \
--url https://apix.us.amity.co/api/v3/user-event/room \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"signature": "<string>",
"nonceStr": "<string>",
"timestamp": "2021-03-10T03:07:16.127Z",
"rooms": [
{
"roomId": "<string>",
"startTime": "2021-03-10T03:07:16.127Z",
"endTime": "2021-03-10T03:07:16.127Z",
"watchSeconds": 120,
"sessionId": "<string>"
}
]
}
'{
"ok": true
}curl --request POST \
--url https://apix.us.amity.co/api/v3/user-event/room \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"signature": "<string>",
"nonceStr": "<string>",
"timestamp": "2021-03-10T03:07:16.127Z",
"rooms": [
{
"roomId": "<string>",
"startTime": "2021-03-10T03:07:16.127Z",
"endTime": "2021-03-10T03:07:16.127Z",
"watchSeconds": 120,
"sessionId": "<string>"
}
]
}
'{
"ok": true
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
A group of user activity on startTime, endTime and watchSeconds.
RSA-SHA256 signature for request validation. Generated by:
nonceStr={nonceStr}×tamp={timestamp}&data={dataStr}==Example data string: endTime=2021-03-10T03:08:16.127Z&roomId=room123&sessionId=session1&startTime=2021-03-10T03:07:16.127Z&watchSeconds=60
unique string for each request, max length 50
timestamp string in UTC format
"2021-03-10T03:07:16.127Z"
Show child attributes
event is processed successfully
true