Dokumentacja API
Sponsors
Sponsors, exhibitors, their levels and their leads.
List sponsors
GET/events/{eventId}/sponsors
Lists an event's sponsors and exhibitors by level, with their booth and website.
- Uprawnienia
- sponsors:read
- Moduł
sponsorsOdrzucane z kodem moduleOff, gdy organizator wydarzenia wyłączył ten moduł.
Parametry
ścieżka
eventIdstring (uuid)wymaganeThe event's id.
zapytanie
cursorstringWhere the page starts: nextCursor from the page before, exactly as it was returned. Leave out for the first page.
limitinteger (int32)How many on a page, up to 500.
Domyślnie:
100
Odpowiedzi
- 200 A page of sponsors. SponsorDetailList
Pola
dataSponsorDetail[]The items of this page.
Pokaż pola
sponsorIdstring (uuid)The sponsor's id.
eventIdstring (uuid)The event's id.
namestringIts name.
levelstring lub nullIts level, in the organiser's words: Platinum, Gold.
levelIdstring (uuid) lub nullIts level's id.
levelRankinteger (int32)The level's rank, highest first.
websitestring lub nullIts site.
logoUrlstring lub nullIts logo.
descriptionstring lub nullAbout it.
boothstring lub nullWhere to find it.
sortOrderinteger (int32)Its place within its level.
nextCursorstring lub nullThe cursor for the next page; null on the last page. Pass it as cursor, with the same filters.
hasMorebooleanWhether there is another page.
- 400 invalidCursor.
- 401 invalidKey, keyExpired, keyRevoked.
- 403 missingScope.
- 404 eventNotFound.
- 409 moduleOff.
- 429 rateLimited.
Odmowy
invalidKey keyExpired keyRevoked rateLimited missingScope moduleOff eventNotFound invalidCursor
Żądanie
curl "https://attendbeacon.com/api/v1/events/b3ac0000-0000-4000-8000-000000000001/sponsors?limit=2" \
-H "Authorization: Bearer $ATTENDBEACON_KEY"const response = await fetch("https://attendbeacon.com/api/v1/events/b3ac0000-0000-4000-8000-000000000001/sponsors?limit=2", {
headers: {
Authorization: `Bearer ${process.env.ATTENDBEACON_KEY}`
}
});
if (!response.ok) throw new Error((await response.json()).detail);
const data = await response.json();using System.Net.Http.Headers;
using System.Text;
using var client = new HttpClient();
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("ATTENDBEACON_KEY"));
using var request = new HttpRequestMessage(HttpMethod.Get, "https://attendbeacon.com/api/v1/events/b3ac0000-0000-4000-8000-000000000001/sponsors?limit=2");
using var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var json = await response.Content.ReadAsStringAsync();import os
import requests
response = requests.get(
"https://attendbeacon.com/api/v1/events/b3ac0000-0000-4000-8000-000000000001/sponsors", params={"limit": 2},
headers={
"Authorization": f"Bearer {os.environ['ATTENDBEACON_KEY']}"
}
)
response.raise_for_status()
data = response.json()$headers = @{
Authorization = "Bearer $env:ATTENDBEACON_KEY"
}
$data = Invoke-RestMethod -Method Get -Uri "https://attendbeacon.com/api/v1/events/b3ac0000-0000-4000-8000-000000000001/sponsors?limit=2" -Headers $headers200 Przykładowa odpowiedź
{
"data": [
{
"sponsorId": "b3ac0005-0000-4000-8000-000000000000",
"eventId": "b3ac0000-0000-4000-8000-000000000001",
"name": "Northwind Cloud",
"level": "Platinum",
"levelId": "b3ac0154-0000-4000-8000-000000000000",
"levelRank": 0,
"website": "https://northwindcloud.example",
"logoUrl": "/media/f0de0000000040008000000000000001/b3ac00fb000040008000000000000000.png",
"description": "The cloud for teams who would rather be building.",
"booth": "A1",
"sortOrder": 0
},
{
"sponsorId": "b3ac0005-0000-4000-8000-000000000001",
"eventId": "b3ac0000-0000-4000-8000-000000000001",
"name": "Contoso",
"level": "Gold",
"levelId": "b3ac0154-0000-4000-8000-000000000001",
"levelRank": 1,
"website": "https://contoso.example",
"logoUrl": "/media/f0de0000000040008000000000000001/b3ac00fb000040008000000000000001.png",
"description": "Software for the way people work now.",
"booth": "B2",
"sortOrder": 1
}
],
"nextCursor": "YzE6MDAwMDAwMTAwMDAwMDEwMDAwMXxiM2FjMDAwNTAwMDA0MDAwODAwMDAwMDAwMDAwMDAwMQ",
"hasMore": true
}400 invalidCursor.
{
"type": "https://attendbeacon.com/developers/errors#invalidCursor",
"title": "The cursor is not valid",
"status": 400,
"detail": "Pass nextCursor exactly as a list returned it, with the same filters.",
"instance": "/api/v1/events/b3ac0000-0000-4000-8000-000000000001/sponsors",
"code": "invalidCursor",
"traceId": "00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01",
"error": "Pass nextCursor exactly as a list returned it, with the same filters."
}List sponsor levels
GET/events/{eventId}/sponsor-levels
Lists an event's sponsor levels and what each includes.
- Uprawnienia
- sponsors:read
- Moduł
sponsorsOdrzucane z kodem moduleOff, gdy organizator wydarzenia wyłączył ten moduł.
Parametry
ścieżka
eventIdstring (uuid)wymaganeThe event's id.
zapytanie
cursorstringWhere the page starts: nextCursor from the page before, exactly as it was returned. Leave out for the first page.
limitinteger (int32)How many on a page, up to 500.
Domyślnie:
100
Odpowiedzi
- 200 A page of levels. SponsorLevelList
Pola
dataSponsorLevel[]The items of this page.
Pokaż pola
levelIdstring (uuid)The level's id.
eventIdstring (uuid)The event's id.
namestringIts name.
rankinteger (int32)Its rank, highest first.
colourstringIts colour.
staffAllowanceinteger (int32)Booth staff included.
freeTicketsinteger (int32)Free tickets included.
leadDownloadbooleanWhether its sponsors may download their leads.
leadExportUntilstring (date) lub nullUntil when they may.
discountCodesinteger (int32)Discount codes included.
discountPercentinteger (int32)Their percentage.
logoOnPagebooleanLogo on the event's page.
logoOnScreensbooleanLogo on the room screens.
logoOnBadgesbooleanLogo on the badges.
sponsoredSessionbooleanA sponsored session included.
nextCursorstring lub nullThe cursor for the next page; null on the last page. Pass it as cursor, with the same filters.
hasMorebooleanWhether there is another page.
- 400 invalidCursor.
- 401 invalidKey, keyExpired, keyRevoked.
- 403 missingScope.
- 404 eventNotFound.
- 409 moduleOff.
- 429 rateLimited.
Odmowy
invalidKey keyExpired keyRevoked rateLimited missingScope moduleOff eventNotFound invalidCursor
Żądanie
curl "https://attendbeacon.com/api/v1/events/b3ac0000-0000-4000-8000-000000000001/sponsor-levels?limit=2" \
-H "Authorization: Bearer $ATTENDBEACON_KEY"const response = await fetch("https://attendbeacon.com/api/v1/events/b3ac0000-0000-4000-8000-000000000001/sponsor-levels?limit=2", {
headers: {
Authorization: `Bearer ${process.env.ATTENDBEACON_KEY}`
}
});
if (!response.ok) throw new Error((await response.json()).detail);
const data = await response.json();using System.Net.Http.Headers;
using System.Text;
using var client = new HttpClient();
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("ATTENDBEACON_KEY"));
using var request = new HttpRequestMessage(HttpMethod.Get, "https://attendbeacon.com/api/v1/events/b3ac0000-0000-4000-8000-000000000001/sponsor-levels?limit=2");
using var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var json = await response.Content.ReadAsStringAsync();import os
import requests
response = requests.get(
"https://attendbeacon.com/api/v1/events/b3ac0000-0000-4000-8000-000000000001/sponsor-levels", params={"limit": 2},
headers={
"Authorization": f"Bearer {os.environ['ATTENDBEACON_KEY']}"
}
)
response.raise_for_status()
data = response.json()$headers = @{
Authorization = "Bearer $env:ATTENDBEACON_KEY"
}
$data = Invoke-RestMethod -Method Get -Uri "https://attendbeacon.com/api/v1/events/b3ac0000-0000-4000-8000-000000000001/sponsor-levels?limit=2" -Headers $headers200 Przykładowa odpowiedź
{
"data": [
{
"levelId": "b3ac0154-0000-4000-8000-000000000000",
"eventId": "b3ac0000-0000-4000-8000-000000000001",
"name": "Platinum",
"rank": 0,
"colour": "#6d28d9",
"staffAllowance": 6,
"freeTickets": 4,
"leadDownload": true,
"leadExportUntil": "2026-12-13",
"discountCodes": 10,
"discountPercent": 25,
"logoOnPage": true,
"logoOnScreens": true,
"logoOnBadges": true,
"sponsoredSession": true
},
{
"levelId": "b3ac0154-0000-4000-8000-000000000001",
"eventId": "b3ac0000-0000-4000-8000-000000000001",
"name": "Gold",
"rank": 1,
"colour": "#d97706",
"staffAllowance": 4,
"freeTickets": 2,
"leadDownload": true,
"leadExportUntil": "2026-11-27",
"discountCodes": 5,
"discountPercent": 15,
"logoOnPage": true,
"logoOnScreens": true,
"logoOnBadges": false,
"sponsoredSession": true
}
],
"nextCursor": "YzE6MDAwMDAwMTAwMDAwMDAwMDAwMXxiM2FjMDE1NDAwMDA0MDAwODAwMDAwMDAwMDAwMDAwMQ",
"hasMore": true
}400 invalidCursor.
{
"type": "https://attendbeacon.com/developers/errors#invalidCursor",
"title": "The cursor is not valid",
"status": 400,
"detail": "Pass nextCursor exactly as a list returned it, with the same filters.",
"instance": "/api/v1/events/b3ac0000-0000-4000-8000-000000000001/sponsor-levels",
"code": "invalidCursor",
"traceId": "00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01",
"error": "Pass nextCursor exactly as a list returned it, with the same filters."
}Get a sponsor results report
GET/events/{eventId}/sponsors/{sponsorId}/results
Gets one sponsor's results as its report shows them: leads, stand visits, the opening screen, the share kit link and codes, sponsored sessions and the package. Counts only, never an attendee; groups under five are folded together.
- Uprawnienia
- sponsors:read
- Moduł
sponsorsOdrzucane z kodem moduleOff, gdy organizator wydarzenia wyłączył ten moduł.
Parametry
ścieżka
eventIdstring (uuid)wymaganeThe event's id.
sponsorIdstring (uuid)wymaganeThe sponsor's id.
Odpowiedzi
- 200 The results. SponsorResults
Pola
eventobjectThe event.
Pokaż pola
eventIdstring (uuid)The event's id.
namestringIts name.
slugstringIts address.
statusstringdraft, published or closed.
firstDaystringIts first day at the venue, yyyy-MM-dd.
lastDaystringIts last day at the venue.
todaystringToday at the venue.
timeZonestringThe venue's IANA time zone.
currencystringISO 4217.
logoUrlstring lub nullIts logo.
accentstringIts accent colour, #rrggbb.
sponsorobjectThe sponsor.
Pokaż pola
sponsorIdstring (uuid)The sponsor's id.
namestringIts name.
logoUrlstring lub nullIts logo.
boothstring lub nullIts stand.
levelstring lub nullIts level.
packageobject lub nullThe sponsor's package as published in the call for sponsors; null without a level.
Pokaż pola
namestringThe level.
colourstring lub nullIts colour.
pricenumber lub nullIts price. With the currency's own decimals: 147.00 in EUR, 147 in JPY, 147.000 in KWD.
priceTextstring lub nullIts price as typed, when it is not an amount.
includesSplashbooleanWhether it includes the app's opening screen.
openingScreennumber lub nullThe opening screen bought beside it. With the currency's own decimals: 147.00 in EUR, 147 in JPY, 147.000 in KWD.
currencystringISO 4217.
overbooleanWhether the event is over; while it is not, these are the figures so far.
minimuminteger (int32)The fewest people a group shows on its own.
readUtcstring (date-time)When the figures were read, UTC.
headlineobjectThe numbers a summary sentence names; null where the part is not in the results.
Pokaż pola
splashImpressionsinteger (int32) lub nullTimes the opening screen was shown.
leadsinteger (int32) lub nullLeads.
ticketsinteger (int32) lub nullValid tickets through the sponsor's link or codes.
visitsinteger (int32) lub nullBadges scanned at the stand.
meetingsinteger (int32) lub nullMeetings booked at the stand.
attendedinteger (int32) lub nullPeople at the sponsor's sessions.
leadsobject lub nullLeads, counted; null without the leads module.
Pokaż pola
totalinteger (int32)Every lead.
sharedinteger (int32)Of which the visitor shares their details.
boothinteger (int32)Badges scanned at the stand.
requestsinteger (int32)Details left in the app.
sessionsinteger (int32)Check-ins at a sponsored session.
daysobject[]Per venue day they began.
Pokaż pola
daystringThe day, yyyy-MM-dd.
countinteger (int32)How many.
ratingsobject[]The shared ones by rating: hot, warm, cold, none or other.
Pokaż pola
keystringWhat the group is.
countinteger (int32)How many.
scannedByobject[]Booth scans by the staff member's name, former or other.
Pokaż pola
keystringWhat the group is.
countinteger (int32)How many.
standobjectThe stand.
Pokaż pola
visitsinteger (int32) lub nullBadges scanned at it; null without lead scanning.
savedinteger (int32)Attendees who saved the sponsor in the app.
meetingsobject lub nullMeetings at the stand; null when exhibitors take none.
Pokaż pola
offeredinteger (int32)Slots offered.
bookedinteger (int32)Slots booked.
splashobject lub nullThe app's opening screen; null when the sponsor has none.
Pokaż pola
impressionsinteger (int32)Times shown for a second or more.
tapsinteger (int32)Taps on its link.
daysobject[]Per venue day.
Pokaż pola
daystringThe day, yyyy-MM-dd.
impressionsinteger (int32)Times shown.
tapsinteger (int32)Taps.
shareKitobject lub nullThe share kit's personal link and code; null without the module or a link.
Pokaż pola
codestring lub nullThe sponsor's code.
visitsinteger (int32)Visits through the link.
linkOrdersinteger (int32)Orders after such a visit.
codeOrdersinteger (int32)Orders with the code.
ordersinteger (int32)Orders through either, each once.
ticketsinteger (int32)Valid tickets in them.
daysobject[]Visits per day, UTC.
Pokaż pola
daystringThe day, yyyy-MM-dd.
countinteger (int32)How many.
guestCodesobject lub nullGuest codes made in the portal; null when the package allows none and none were made.
Pokaż pola
allowedinteger (int32)How many the package allows.
madeinteger (int32)Made.
usedinteger (int32)Used by an order that holds.
ticketsinteger (int32)Valid tickets in those orders.
sessionsobject[]Sessions the sponsor sponsors.
Pokaż pola
sessionIdstring (uuid)The session's id.
titlestringIts title.
startsLocalstringWhen it starts at the venue, yyyy-MM-ddTHH:mm.
roomstring lub nullIts room.
savedinteger (int32)Saved to an agenda.
attendedinteger (int32)In the room, or joined online.
ratingobject lub nullIts rating; null without the feedback module.
Pokaż pola
responsesinteger (int32)How many rated it.
averagenumber lub nullTheir average, 1 to 5; null below five ratings.
- 401 invalidKey, keyExpired, keyRevoked.
- 403 missingScope.
- 404 eventNotFound, notFound.
- 409 moduleOff.
- 429 rateLimited.
Odmowy
invalidKey keyExpired keyRevoked rateLimited missingScope moduleOff eventNotFound notFound
Żądanie
curl "https://attendbeacon.com/api/v1/events/b3ac0000-0000-4000-8000-000000000001/sponsors/{sponsorId}/results" \
-H "Authorization: Bearer $ATTENDBEACON_KEY"const response = await fetch("https://attendbeacon.com/api/v1/events/b3ac0000-0000-4000-8000-000000000001/sponsors/{sponsorId}/results", {
headers: {
Authorization: `Bearer ${process.env.ATTENDBEACON_KEY}`
}
});
if (!response.ok) throw new Error((await response.json()).detail);
const data = await response.json();using System.Net.Http.Headers;
using System.Text;
using var client = new HttpClient();
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("ATTENDBEACON_KEY"));
using var request = new HttpRequestMessage(HttpMethod.Get, "https://attendbeacon.com/api/v1/events/b3ac0000-0000-4000-8000-000000000001/sponsors/{sponsorId}/results");
using var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var json = await response.Content.ReadAsStringAsync();import os
import requests
response = requests.get(
"https://attendbeacon.com/api/v1/events/b3ac0000-0000-4000-8000-000000000001/sponsors/{sponsorId}/results",
headers={
"Authorization": f"Bearer {os.environ['ATTENDBEACON_KEY']}"
}
)
response.raise_for_status()
data = response.json()$headers = @{
Authorization = "Bearer $env:ATTENDBEACON_KEY"
}
$data = Invoke-RestMethod -Method Get -Uri "https://attendbeacon.com/api/v1/events/b3ac0000-0000-4000-8000-000000000001/sponsors/{sponsorId}/results" -Headers $headers200 Przykładowa odpowiedź
{
"event": {
"eventId": "b3ac0000-0000-4000-8000-000000000001",
"name": "Beacon Summit",
"slug": "beacon-summit",
"status": "published",
"firstDay": "2026-11-19",
"lastDay": "2026-11-20",
"today": "2026-10-16",
"timeZone": "Europe/Amsterdam",
"currency": "EUR",
"logoUrl": null,
"accent": "#4338ca"
},
"sponsor": {
"sponsorId": "b3ac0005-0000-4000-8000-000000000000",
"name": "Northwind Cloud",
"logoUrl": "https://attendbeacon.com/media/f0de0000000040008000000000000001/b3ac00fb000040008000000000000000.png",
"booth": "A1",
"level": "Platinum"
},
"package": {
"name": "Platinum",
"colour": "#6d28d9",
"price": 12000,
"priceText": null,
"includesSplash": true,
"openingScreen": null,
"currency": "EUR"
},
"over": false,
"minimum": 5,
"readUtc": "2026-10-16T12:40:58.268Z",
"headline": {
"splashImpressions": 1412,
"leads": 24,
"tickets": 5,
"visits": 18,
"meetings": 1,
"attended": 0
},
"leads": {
"total": 24,
"shared": 22,
"booth": 18,
"requests": 6,
"sessions": 0,
"days": [
{
"day": "2026-10-10",
"count": 19
},
{
"day": "2026-10-11",
"count": 1
},
{
"day": "2026-10-12",
"count": 1
}
],
"ratings": [
{
"key": "warm",
"count": 7
},
{
"key": "cold",
"count": 5
},
{
"key": "hot",
"count": 5
},
{
"key": "none",
"count": 5
}
],
"scannedBy": [
{
"key": "Lotte Meijer",
"count": 9
},
{
"key": "Lotte de Vries",
"count": 9
}
]
},
"stand": {
"visits": 18,
"saved": 3,
"meetings": {
"offered": 8,
"booked": 1
}
},
"splash": {
"impressions": 1412,
"taps": 62,
"days": [
{
"day": "2026-10-14",
"impressions": 146,
"taps": 7
},
{
"day": "2026-10-15",
"impressions": 164,
"taps": 10
},
{
"day": "2026-10-16",
"impressions": 159,
"taps": 5
}
]
},
"shareKit": {
"code": "NORTHWIND150",
"visits": 230,
"linkOrders": 5,
"codeOrders": 0,
"orders": 5,
"tickets": 5,
"days": [
{
"day": "2026-10-14",
"count": 24
},
{
"day": "2026-10-15",
"count": 22
},
{
"day": "2026-10-16",
"count": 20
}
]
},
"guestCodes": {
"allowed": 10,
"made": 2,
"used": 0,
"tickets": 0
},
"sessions": [
{
"sessionId": "b3ac0004-0000-4000-8000-00000000000d",
"title": "From monolith to cloud, honestly",
"startsLocal": "2026-11-19T14:30",
"room": "Main Hall",
"saved": 1,
"attended": 0,
"rating": {
"responses": 0,
"average": null
}
}
]
}401 invalidKey, keyExpired, keyRevoked.
{
"type": "https://attendbeacon.com/developers/errors#invalidKey",
"title": "No working API key",
"status": 401,
"detail": "No key was sent, or it is not one this platform made. Send it as Authorization: Bearer abk_... or in X-Api-Key.",
"instance": "/api/v1/events/b3ac0000-0000-4000-8000-000000000001/sponsors/{sponsorId}/results",
"code": "invalidKey",
"traceId": "00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01",
"error": "No key was sent, or it is not one this platform made. Send it as Authorization: Bearer abk_... or in X-Api-Key."
}List recent leads
GET/events/{eventId}/leads
Lists the newest leads that sponsors captured at the event, only those the visitor agreed to share, newest first.
- Uprawnienia
- sponsors:read people:read
- Moduł
leadsOdrzucane z kodem moduleOff, gdy organizator wydarzenia wyłączył ten moduł.
Parametry
ścieżka
eventIdstring (uuid)wymaganeThe event's id.
zapytanie
limitinteger (int32)How many leads to return, up to 100.
Domyślnie:
25
Odpowiedzi
- 200 The leads. LeadList
Pola
dataLeadItem[]The leads, newest first.
Pokaż pola
sponsorSponsorA sponsor of the event.
Pokaż pola
sponsorIdstring (uuid)The sponsor's id.
namestringThe sponsor's name.
leadLeadA lead a sponsor captured, with the visitor's details only when they share them.
Pokaż pola
leadIdstring (uuid)The lead's id.
sharedbooleanWhether the visitor's details are included.
firstNamestringFirst name, when shared.
lastNamestringLast name, when shared.
companystringCompany, when shared.
jobTitlestringJob title, when shared.
emailstring (email)Email address, when the visitor shares it too.
originstringHow the lead began: booth, request or session.
ratingintegerThe booth staff's rating: 1 cold, 2 warm, 3 hot.
answersobjectAnswers to the sponsor's own questions, by question id.
notestringThe booth staff's note.
capturedBystringWho scanned the badge first.
capturedUtcstring (date-time)When, in UTC.
- 401 invalidKey, keyExpired, keyRevoked.
- 403 missingScope, peopleScope.
- 404 eventNotFound.
- 409 moduleOff.
- 429 rateLimited.
Odmowy
invalidKey keyExpired keyRevoked rateLimited missingScope peopleScope moduleOff eventNotFound
Żądanie
curl "https://attendbeacon.com/api/v1/events/b3ac0000-0000-4000-8000-000000000001/leads?limit=2" \
-H "Authorization: Bearer $ATTENDBEACON_KEY"const response = await fetch("https://attendbeacon.com/api/v1/events/b3ac0000-0000-4000-8000-000000000001/leads?limit=2", {
headers: {
Authorization: `Bearer ${process.env.ATTENDBEACON_KEY}`
}
});
if (!response.ok) throw new Error((await response.json()).detail);
const data = await response.json();using System.Net.Http.Headers;
using System.Text;
using var client = new HttpClient();
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("ATTENDBEACON_KEY"));
using var request = new HttpRequestMessage(HttpMethod.Get, "https://attendbeacon.com/api/v1/events/b3ac0000-0000-4000-8000-000000000001/leads?limit=2");
using var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var json = await response.Content.ReadAsStringAsync();import os
import requests
response = requests.get(
"https://attendbeacon.com/api/v1/events/b3ac0000-0000-4000-8000-000000000001/leads", params={"limit": 2},
headers={
"Authorization": f"Bearer {os.environ['ATTENDBEACON_KEY']}"
}
)
response.raise_for_status()
data = response.json()$headers = @{
Authorization = "Bearer $env:ATTENDBEACON_KEY"
}
$data = Invoke-RestMethod -Method Get -Uri "https://attendbeacon.com/api/v1/events/b3ac0000-0000-4000-8000-000000000001/leads?limit=2" -Headers $headers200 Przykładowa odpowiedź
{
"data": [
{
"sponsor": {
"sponsorId": "b3ac0005-0000-4000-8000-000000000000",
"name": "Northwind Cloud"
},
"lead": {
"leadId": "b3ac0018-0000-4000-8000-000000000009",
"shared": true,
"firstName": "Julia",
"lastName": "de Boer",
"company": "Litware",
"jobTitle": "Engineer",
"email": null,
"origin": "booth",
"attendedSessionId": null,
"rating": 2,
"answers": {
"interest": "platform",
"followUp": true
},
"note": "Interested in the startup credits.",
"capturedBy": "lotte.devries42@example.com",
"capturedUtc": "2026-10-08T18:03:00.000Z",
"updatedUtc": "2026-10-08T18:05:00.000Z"
}
},
{
"sponsor": {
"sponsorId": "b3ac0005-0000-4000-8000-000000000000",
"name": "Northwind Cloud"
},
"lead": {
"leadId": "b3ac0018-0000-4000-8000-000000000008",
"shared": true,
"firstName": "Liam",
"lastName": "Peters",
"company": "Fabrikam",
"jobTitle": "Product manager",
"email": "liam.peters33@example.com",
"origin": "booth",
"attendedSessionId": null,
"rating": 1,
"answers": {
"interest": "data",
"followUp": false
},
"note": null,
"capturedBy": "lotte.meijer26@example.com",
"capturedUtc": "2026-10-08T17:56:00.000Z",
"updatedUtc": "2026-10-08T17:58:00.000Z"
}
}
]
}401 invalidKey, keyExpired, keyRevoked.
{
"type": "https://attendbeacon.com/developers/errors#invalidKey",
"title": "No working API key",
"status": 401,
"detail": "No key was sent, or it is not one this platform made. Send it as Authorization: Bearer abk_... or in X-Api-Key.",
"instance": "/api/v1/events/b3ac0000-0000-4000-8000-000000000001/leads",
"code": "invalidKey",
"traceId": "00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01",
"error": "No key was sent, or it is not one this platform made. Send it as Authorization: Bearer abk_... or in X-Api-Key."
}Przewodniki i ta witryna są w twoim języku. Opisy w samej dokumentacji API są po angielsku, tak jak mówi samo API.