Discover people in an app
US Region: https://public-api.sessionboard.com · EU Region: https://public-api-eu.sessionboard.com
Reads who the connected app holds and compares them with the organization's contacts by email: contacts from a CRM or AMS (HubSpot, Salesforce, iMIS), or the speakers of one event from an event platform (Cvent, Swoogo, Bizzabo, ON24, Goldcast; send remoteEventId), and members from iMIS. An event's attendees are counted, not returned: bring them in with POST …/crm/apps/{appId}/attendees. Each kind says as (contacts or people). Writes nothing, in Sessionboard or in the app, so read:crm is enough. Review the rows, then send the chosen ones to POST …/crm/import with source set to the app id. Requires read:crm. Refused for a key restricted to particular events. Also at POST /v1/org/{orgId}/crm/apps/{appId}/discover, and at POST /v1/crm/apps/{appId}/discover with the organization taken from the token.
Request example
curl --request POST \ --url 'https://public-api.sessionboard.com/v1/organization/{orgId}/crm/apps/{appId}/discover' \ --header 'x-access-token: <api-token>' \ --header 'Content-Type: application/json' \ --data '{ "kinds": [ "<string>" ], "remoteEventId": "<string>", "defaultType": "speaker"}'const response = await fetch('https://public-api.sessionboard.com/v1/organization/{orgId}/crm/apps/{appId}/discover', { method: 'POST', headers: { "x-access-token": "<api-token>", "Content-Type": "application/json" }, body: JSON.stringify({ "kinds": [ "<string>" ], "remoteEventId": "<string>", "defaultType": "speaker" }),});
const data = await response.json();console.log(data);import requests
response = requests.request( "POST", "https://public-api.sessionboard.com/v1/organization/{orgId}/crm/apps/{appId}/discover", headers={ "x-access-token": "<api-token>", "Content-Type": "application/json" }, json={ "kinds": [ "<string>" ], "remoteEventId": "<string>", "defaultType": "speaker" },)
print(response.json())<?php
$curl = curl_init();
curl_setopt_array($curl, [ CURLOPT_URL => "https://public-api.sessionboard.com/v1/organization/{orgId}/crm/apps/{appId}/discover", CURLOPT_RETURNTRANSFER => true, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS => '{ "kinds": [ "<string>" ], "remoteEventId": "<string>", "defaultType": "speaker"}', CURLOPT_HTTPHEADER => [ "x-access-token: <api-token>", "Content-Type: application/json", ],]);
$response = curl_exec($curl);curl_close($curl);
echo $response;package main
import ( "fmt" "io" "net/http" "strings")
func main() { req, _ := http.NewRequest("POST", "https://public-api.sessionboard.com/v1/organization/{orgId}/crm/apps/{appId}/discover", strings.NewReader(`{ "kinds": [ "<string>" ], "remoteEventId": "<string>", "defaultType": "speaker"}`)) req.Header.Add("x-access-token", "<api-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))}HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://public-api.sessionboard.com/v1/organization/{orgId}/crm/apps/{appId}/discover")) .header("x-access-token", "<api-token>") .header("Content-Type", "application/json") .method("POST", HttpRequest.BodyPublishers.ofString("{\n \"kinds\": [\n \"<string>\"\n ],\n \"remoteEventId\": \"<string>\",\n \"defaultType\": \"speaker\"\n}")) .build();
HttpResponse<String> response = HttpClient.newHttpClient() .send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());Try it
Response headers
Authorizations
x-access-tokenstringheaderOrganization API token. Generate from Organization Settings → API Tokens.
AuthorizationBearer <token>headerorOAuth 2.1 access token. Obtained via the OAuth PKCE flow at
/oauth/token.
Send one of these. See Authentication.
Path parameters
orgIdstringpathrequiredYour organization ID. Any other organization returns
404.appIdstringpathrequiredThe app ID, from
GET …/crm/apps.
Request body
kindsstring[]Which of the app's
people_kinds; all by default.remoteEventIdstringThe app's event, when the app has
needs_event.defaultTypestringThe type found people get when the app does not say.
- Allowed values
"speaker", "sme", "influencer", "exhibitor", "sponsor"
{ "kinds": [ "<string>" ], "remoteEventId": "<string>", "defaultType": "speaker"}Responses
200application/json
OK
successbooleanpayloadCrmDiscoveryShow child attributes
sourceobjectShow child attributes
app_idstringnamestring
foundintegerby_typeobjectnewintegerexistingintegerinvalidintegertruncatedbooleanThe app held more than one discovery returns.
not_availableobjectKind → why the app does not share it.
rowsobject[]Show child attributes
emailstringfirst_namestring | nulllast_namestring | nullcompanystring | nulltitlestring | nulltypesstring[]- Allowed values
"speaker", "sme", "influencer", "exhibitor", "sponsor"
statusstring- Allowed values
"new", "existing", "invalid"
contact_idstring | nullWith
existing: the contact the row matches.reasonstring | nullWith
invalid: why.source_kindstringasstringWhere brought-in rows land: contacts, or people (members, prospects, customers).
- Allowed values
"contacts", "people"
asobjectKind → where its rows land. Attendees of an event platform are only counted here; bring them in with
POST …/crm/apps/{appId}/attendees.
401
Missing, invalid or expired token.
403application/json
SCOPE_REQUIRED: the token lacksread:crm.ORG_WIDE_TOKEN_REQUIRED: the key is restricted to particular events; use a key without an event restriction.FORBIDDEN: the token's user cannot read the organization's contacts.
successbooleanerrorstring- Allowed values
"VALIDATION_ERROR", "SCOPE_REQUIRED", "ORG_WIDE_TOKEN_REQUIRED", "FORBIDDEN", "NOT_FOUND", "CONFLICT", "QUOTA_EXCEEDED"
codestringA more specific reason:
exists,read_only,platform_customer.messagestringrequiredcontactCrmContactWith
code: exists: the contact that has the email.Show child attributes
idstringfirst_namestringlast_namestring | nullnamestringemailstring<email>companystring | nulltitlestring | nullJob title.
avatar_urlstring | nulltypesstring[]- Allowed values
"speaker", "sme", "influencer", "exhibitor", "sponsor"
tagsCrmTag[]Show child attributes
idstringnamestring
events_countintegersessions_countintegerlast_activity_atstring<date-time> | nullactivebooleanAn active contact in the last 365 days.
sourcestring | nullWhere the contact came from.
created_atstring<date-time>hrefstringThe contact in Sessionboard CRM.
stageobject | nullThe contact's pipeline stage;
nullwhen not in the pipeline.Show child attributes
idstringlabelstring
404application/json
NOT_FOUND: orgId is not the token's organization, or the contact, tag or app is not in it.
successbooleanerrorstring- Allowed values
"VALIDATION_ERROR", "SCOPE_REQUIRED", "ORG_WIDE_TOKEN_REQUIRED", "FORBIDDEN", "NOT_FOUND", "CONFLICT", "QUOTA_EXCEEDED"
codestringA more specific reason:
exists,read_only,platform_customer.messagestringrequiredcontactCrmContactWith
code: exists: the contact that has the email.Show child attributes
idstringfirst_namestringlast_namestring | nullnamestringemailstring<email>companystring | nulltitlestring | nullJob title.
avatar_urlstring | nulltypesstring[]- Allowed values
"speaker", "sme", "influencer", "exhibitor", "sponsor"
tagsCrmTag[]Show child attributes
idstringnamestring
events_countintegersessions_countintegerlast_activity_atstring<date-time> | nullactivebooleanAn active contact in the last 365 days.
sourcestring | nullWhere the contact came from.
created_atstring<date-time>hrefstringThe contact in Sessionboard CRM.
stageobject | nullThe contact's pipeline stage;
nullwhen not in the pipeline.Show child attributes
idstringlabelstring
429
The token's request limit (100 requests per 15 minutes by default) or, for writes, its daily write quota. Wait Retry-After seconds.
Retry-AfterintegerheaderSeconds to wait before retrying.
Response examples
{ "success": true, "payload": { "source": { "app_id": "<string>", "name": "<string>" }, "found": 123, "by_type": { "key": 123 }, "new": 123, "existing": 123, "invalid": 123, "truncated": true, "not_available": { "key": "<string>" }, "rows": [ { "email": "<string>", "first_name": "<string>", "last_name": "<string>", "company": "<string>", "title": "<string>", "types": [ "speaker" ], "status": "new", "contact_id": "<string>", "reason": "<string>", "source_kind": "<string>", "as": "contacts" } ], "as": { "key": "contacts" } }}{ "success": false, "error": "VALIDATION_ERROR", "code": "<string>", "message": "<string>", "contact": { "id": "<string>", "first_name": "<string>", "last_name": "<string>", "name": "<string>", "email": "jane@example.com", "company": "<string>", "title": "<string>", "avatar_url": "<string>", "types": [ "speaker" ], "tags": [ { "id": "<string>", "name": "<string>" } ], "events_count": 123, "sessions_count": 123, "last_activity_at": "2026-01-15T09:30:00Z", "active": true, "source": "<string>", "created_at": "2026-01-15T09:30:00Z", "href": "<string>", "stage": { "id": "<string>", "label": "<string>" } }}{ "success": false, "error": "VALIDATION_ERROR", "code": "<string>", "message": "<string>", "contact": { "id": "<string>", "first_name": "<string>", "last_name": "<string>", "name": "<string>", "email": "jane@example.com", "company": "<string>", "title": "<string>", "avatar_url": "<string>", "types": [ "speaker" ], "tags": [ { "id": "<string>", "name": "<string>" } ], "events_count": 123, "sessions_count": 123, "last_activity_at": "2026-01-15T09:30:00Z", "active": true, "source": "<string>", "created_at": "2026-01-15T09:30:00Z", "href": "<string>", "stage": { "id": "<string>", "label": "<string>" } }}