Submitting User Events

Object representing user interactions with the content.

Endpoint - POST /$source/users/$userID/interactions/$type/content/$contentID

Header Value Description
x-api-key Your API key String representing the value of the API key we sent you when you joined Rumo.

Example request:

curl -X POST \{{$source}}/users/{{$userID}}/interactions/{{$type}}/content/{{$contentID}} \
  -H 'x-api-key: Your_Rumo_API_Key' \

JSON response

    "key": {
        "source": "RumoAPI",
        "userId": "1"
    "type": "Watch",
    "contentId": "1",
    "timestamp": "2019-08-17T22:12:29.073Z"
Returns Level Description
key 1 String map with the identification of the source and the userId.
source 2 String identifying your business content database.
userId 2 String identifying the user.
type 1 String identifying the $interactionType, which must be one of Click, Play, Watch, Bookmark, Preview, Purchase, RateLike, or RateDislike.
contentId 1 String used to identify the content piece.
timestamp 1 String identifying the timestamp.