Events
Score one event
Calculate a profile-dependent fit score and rationale for one event without unlocking it.
POST
/
external
/
events
/
fit-score
Score one event
curl --request POST \
--url https://platform.lensmor.com/external/events/fit-score \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"event_id": "139574"
}
'import requests
url = "https://platform.lensmor.com/external/events/fit-score"
payload = { "event_id": "139574" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({event_id: '139574'})
};
fetch('https://platform.lensmor.com/external/events/fit-score', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://platform.lensmor.com/external/events/fit-score",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'event_id' => '139574'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://platform.lensmor.com/external/events/fit-score"
payload := strings.NewReader("{\n \"event_id\": \"139574\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://platform.lensmor.com/external/events/fit-score")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"event_id\": \"139574\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://platform.lensmor.com/external/events/fit-score")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"event_id\": \"139574\"\n}"
response = http.request(request)
puts response.read_body{
"event": {
"id": "123",
"eventId": "139574",
"name": "NRF 2026",
"description": "Retail industry event",
"url": "https://example.com/events/nrf-2026",
"dateStart": "2026-01-12",
"dateEnd": "2026-01-15",
"venue": "Javits Center",
"city": "New York",
"region": "NY",
"country": "United States",
"exhibitorCount": 950,
"sponsorMatchStarred": 0,
"dataSource": "Lensmor"
},
"score": 8.1,
"recommendation": "recommended",
"breakdown": {
"profile_match": 8.1,
"matched_exhibitor_density": 1.9,
"event_scale": 9.5
}
}{
"code": 123,
"message": "<string>",
"errorKey": "<string>",
"traceId": "<string>"
}{
"code": 123,
"message": "<string>",
"errorKey": "<string>",
"traceId": "<string>"
}{
"code": 123,
"message": "<string>",
"errorKey": "<string>",
"traceId": "<string>"
}{
"code": 123,
"message": "<string>",
"errorKey": "<string>",
"traceId": "<string>"
}Authorizations
Send the full Business API key from Settings -> API Keys, for example Authorization: Bearer sk_your_api_key.
Body
application/json
Required string length:
1 - 100Response
Event fit score
Show child attributes
Show child attributes
Overall event fit score on a 0-10 scale.
Required range:
0 <= x <= 10Decision category derived from score: recommended for 7-10, consider for 4 to below 7, and not_recommended for below 4.
Available options:
recommended, consider, not_recommended Show child attributes
Show child attributes
Previous
Rank eventsRank a supplied set of event identifiers against the authenticated user's profile.
Next
⌘I
Score one event
curl --request POST \
--url https://platform.lensmor.com/external/events/fit-score \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"event_id": "139574"
}
'import requests
url = "https://platform.lensmor.com/external/events/fit-score"
payload = { "event_id": "139574" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({event_id: '139574'})
};
fetch('https://platform.lensmor.com/external/events/fit-score', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://platform.lensmor.com/external/events/fit-score",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'event_id' => '139574'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://platform.lensmor.com/external/events/fit-score"
payload := strings.NewReader("{\n \"event_id\": \"139574\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://platform.lensmor.com/external/events/fit-score")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"event_id\": \"139574\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://platform.lensmor.com/external/events/fit-score")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"event_id\": \"139574\"\n}"
response = http.request(request)
puts response.read_body{
"event": {
"id": "123",
"eventId": "139574",
"name": "NRF 2026",
"description": "Retail industry event",
"url": "https://example.com/events/nrf-2026",
"dateStart": "2026-01-12",
"dateEnd": "2026-01-15",
"venue": "Javits Center",
"city": "New York",
"region": "NY",
"country": "United States",
"exhibitorCount": 950,
"sponsorMatchStarred": 0,
"dataSource": "Lensmor"
},
"score": 8.1,
"recommendation": "recommended",
"breakdown": {
"profile_match": 8.1,
"matched_exhibitor_density": 1.9,
"event_scale": 9.5
}
}{
"code": 123,
"message": "<string>",
"errorKey": "<string>",
"traceId": "<string>"
}{
"code": 123,
"message": "<string>",
"errorKey": "<string>",
"traceId": "<string>"
}{
"code": 123,
"message": "<string>",
"errorKey": "<string>",
"traceId": "<string>"
}{
"code": 123,
"message": "<string>",
"errorKey": "<string>",
"traceId": "<string>"
}