Get a company
US Region: https://public-api.sessionboard.com · EU Region: https://public-api-eu.sessionboard.com
One company with its people, contracts and pipeline entries. Reads only. Requires read:crm. Refused for a key restricted to particular events. Also at GET /v1/org/{orgId}/crm/companies/{companyId}, and at GET /v1/crm/companies/{companyId} with the organization taken from the token.
Request example
curl --request GET \ --url 'https://public-api.sessionboard.com/v1/organization/{orgId}/crm/companies/{companyId}' \ --header 'x-access-token: <api-token>'const response = await fetch('https://public-api.sessionboard.com/v1/organization/{orgId}/crm/companies/{companyId}', { method: 'GET', headers: { "x-access-token": "<api-token>" },});
const data = await response.json();console.log(data);import requests
response = requests.request( "GET", "https://public-api.sessionboard.com/v1/organization/{orgId}/crm/companies/{companyId}", headers={ "x-access-token": "<api-token>" },)
print(response.json())<?php
$curl = curl_init();
curl_setopt_array($curl, [ CURLOPT_URL => "https://public-api.sessionboard.com/v1/organization/{orgId}/crm/companies/{companyId}", CURLOPT_RETURNTRANSFER => true, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_HTTPHEADER => [ "x-access-token: <api-token>", ],]);
$response = curl_exec($curl);curl_close($curl);
echo $response;package main
import ( "fmt" "io" "net/http")
func main() { req, _ := http.NewRequest("GET", "https://public-api.sessionboard.com/v1/organization/{orgId}/crm/companies/{companyId}", nil) req.Header.Add("x-access-token", "<api-token>")
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/companies/{companyId}")) .header("x-access-token", "<api-token>") .method("GET", HttpRequest.BodyPublishers.noBody()) .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.companyIdstringpathrequiredThe company ID, from
GET …/crm/companies.
Responses
200application/json
OK
successbooleanpayloadobjectShow child attributes
companyCrmCompanyShow child attributes
idstringnamestringwebsitestring | nulllogo_urlstring | nulltagsstring[]- Allowed values
"sponsor", "exhibitor"
people_countintegercontracts_countintegerpipeline_countintegercreated_atstring<date-time>
peopleCrmPerson[]Show child attributes
keystringidstring | nullThe People record id;
nullfor someone known only from a source.emailstring<email>namestring | nullfirst_namestring | nulllast_namestring | nulltitlestring | nullcompanystring | nullThe company name as text.
companiesobject[]Show child attributes
idstringnamestring
rolesstring[]The tags set on the person.
- Allowed values
"speaker", "member", "customer", "prospect", "influencer", "attendee"
derived_rolesstring[]Roles read from their activity (for example attendee from an attended event), not set as tags.
contact_idstring | nullThe linked contact, the record the pipeline and contracts use.
memberbooleanlifecyclestring | nullpipeline_stagestring | nullevents_attendedintegerwebinars_attendedintegerlast_signal_atstring<date-time> | nullactivebooleanwarmboolean
contractsCrmContract[]Show child attributes
idstringtitlestringstatusstringdelivered: the signer opened the signing page.completed: everyone signed.- Allowed values
"created", "sent", "delivered", "completed", "declined", "voided"
sourcestringHow it was sent:
nativeis Sessionboard e-sign.contactobject | nullShow child attributes
idstringnamestringemailstring<email>
templateobject | nullShow child attributes
idstringnamestring
signer_emailstring<email> | nullhas_pdfbooleanThe signed PDF is ready.
sent_atstring<date-time> | nullsigned_atstring<date-time> | nullvoided_atstring<date-time> | nullupdated_atstring<date-time>
pipelineCrmPipelineEntry[]Show child attributes
idstringcontactobjectShow child attributes
idstringnamestringemailstring<email>companystring | nulltitlestring | nulltypesstring[]- Allowed values
"speaker", "sme", "influencer", "exhibitor", "sponsor"
stageobjectShow child attributes
idstringlabelstringcategorystring- Allowed values
"open", "won", "lost", "nurture"
eventobject | nullShow child attributes
idintegernamestring
entered_stage_atstring<date-time>last_activity_atstring<date-time> | nullcreated_atstring<date-time>contracts_countinteger
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": { "company": { "id": "<string>", "name": "<string>", "website": "<string>", "logo_url": "<string>", "tags": [ "sponsor" ], "people_count": 123, "contracts_count": 123, "pipeline_count": 123, "created_at": "2026-01-15T09:30:00Z" }, "people": [ { "key": "<string>", "id": "<string>", "email": "jane@example.com", "name": "<string>", "first_name": "<string>", "last_name": "<string>", "title": "<string>", "company": "<string>", "companies": [ { "id": "<string>", "name": "<string>" } ], "roles": [ "speaker" ], "derived_roles": [ "<string>" ], "contact_id": "<string>", "member": true, "lifecycle": "<string>", "pipeline_stage": "<string>", "events_attended": 123, "webinars_attended": 123, "last_signal_at": "2026-01-15T09:30:00Z", "active": true, "warm": true } ], "contracts": [ { "id": "<string>", "title": "<string>", "status": "created", "source": "<string>", "contact": { "id": "<string>", "name": "<string>", "email": "jane@example.com" }, "template": { "id": "<string>", "name": "<string>" }, "signer_email": "jane@example.com", "has_pdf": true, "sent_at": "2026-01-15T09:30:00Z", "signed_at": "2026-01-15T09:30:00Z", "voided_at": "2026-01-15T09:30:00Z", "updated_at": "2026-01-15T09:30:00Z" } ], "pipeline": [ { "id": "<string>", "contact": { "id": "<string>", "name": "<string>", "email": "jane@example.com", "company": "<string>", "title": "<string>", "types": [ "speaker" ] }, "stage": { "id": "<string>", "label": "<string>", "category": "open" }, "event": { "id": 123, "name": "<string>" }, "entered_stage_at": "2026-01-15T09:30:00Z", "last_activity_at": "2026-01-15T09:30:00Z", "created_at": "2026-01-15T09:30:00Z", "contracts_count": 123 } ] }}{ "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>" } }}