Events
Unlock full event access
Atomically unlock base event access and visitor access, charging only for missing access layers: 2,000 credits for base event access and 3,000 credits for visitor access, up to 5,000 credits total.
POST
/
external
/
events
/
{id}
/
full-access
/
unlock
Unlock full event access
curl --request POST \
--url https://platform.lensmor.com/external/events/{id}/full-access/unlock \
--header 'Authorization: Bearer <token>'import requests
url = "https://platform.lensmor.com/external/events/{id}/full-access/unlock"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.lensmor.com/external/events/{id}/full-access/unlock', 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/{id}/full-access/unlock",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://platform.lensmor.com/external/events/{id}/full-access/unlock"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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/{id}/full-access/unlock")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://platform.lensmor.com/external/events/{id}/full-access/unlock")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"alreadyUnlocked": false,
"eventUnlocked": true,
"visitorUnlocked": true,
"visitorSkipped": false,
"totalCreditsUsed": 5000,
"balanceAfter": {
"subscriptionBalance": 25000,
"permanentBalance": 50,
"totalBalance": 33050,
"unlimited": false
},
"event": {
"id": "26855",
"eventId": "26855",
"name": "CES 2025"
}
}{
"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>"
}{
"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.
Headers
Available options:
api, agent Path Parameters
Required string length:
1 - 100Response
Full event access unlock result
Previous
List event exhibitorsReturn paginated exhibitors for an event with preview or full-access semantics and visible coverage counts.
Next
⌘I
Unlock full event access
curl --request POST \
--url https://platform.lensmor.com/external/events/{id}/full-access/unlock \
--header 'Authorization: Bearer <token>'import requests
url = "https://platform.lensmor.com/external/events/{id}/full-access/unlock"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.lensmor.com/external/events/{id}/full-access/unlock', 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/{id}/full-access/unlock",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://platform.lensmor.com/external/events/{id}/full-access/unlock"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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/{id}/full-access/unlock")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://platform.lensmor.com/external/events/{id}/full-access/unlock")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"alreadyUnlocked": false,
"eventUnlocked": true,
"visitorUnlocked": true,
"visitorSkipped": false,
"totalCreditsUsed": 5000,
"balanceAfter": {
"subscriptionBalance": 25000,
"permanentBalance": 50,
"totalBalance": 33050,
"unlimited": false
},
"event": {
"id": "26855",
"eventId": "26855",
"name": "CES 2025"
}
}{
"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>"
}{
"code": 123,
"message": "<string>",
"errorKey": "<string>",
"traceId": "<string>"
}{
"code": 123,
"message": "<string>",
"errorKey": "<string>",
"traceId": "<string>"
}