Skip to main content
POST
/
external
/
events
/
rank
Rank events
curl --request POST \
  --url https://platform.lensmor.com/external/events/rank \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "event_ids": [
    "<string>"
  ]
}
'
{
  "items": [
    {
      "event_id": "<string>",
      "name": "<string>",
      "rank": 123,
      "match_score": 123,
      "reasons": [
        "<string>"
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
event_ids
string[]
required
Minimum array length: 1

Response

Ranked events

items
object[]
required