Events
Warning
Deprecation Notice
The Marketing Version 202311 (Marketing November 2023) and earlier versions (excluding 202306 and 202307) have been sunset. Additionally, the unversioned APIs will be sunset soon. We recommend that you migrate to the versioned APIs as well as migrate to the new Content and Community Management APIs to avoid disruptions. See the Migration page for more details.
If you haven’t yet migrated and have questions, submit a request on the LinkedIn Developer Support Portal.
Events have been an important approach for companies to attract leads and make conversions. Event organizers leverage the events platform at LinkedIn to create event pages where members can register to attend events, join live stream online events, and participate in the post-event activities. At the same time, attendees discover relevant events, make new connections, and nurture existing relationships on the platform.
Permissions
Access to the LinkedIn Marketing API Program does not automatically grant access to the following APIs. Developers must apply separately to be considered for these APIs.
Permission | Description |
---|---|
r_events | Retrieve organization’s events. Restricted to organizations in which the authenticated member has one of the following company page roles.
|
Permission | Description |
---|---|
r_events_leadgen_automation | Retrieve organization’s events. Restricted to organizations in which the authenticated member has one of the following company page roles.
|
See Organization Access Control for more information on company page roles.
Note
All API requests are represented in protocol 2.0.0 and require the header X-Restli-Protocol-Version: 2.0.0
.
Schemas
Events
Field | Type | Description |
---|---|---|
id | Long | Identifier of the event. |
name | MultiLocaleString | The name of the event as inputted by the creator. |
created.time | Long | Creation time. |
created.actor | PersonUrn | URN of the member who has created the event. |
address | Address | The physical address of the event (i.e. where the event is taking place). This field will not be present when address is not provided by the organizer. |
timeRangeV2.startsAt | Long | The start time of the event. |
timeRangeV2.endsAt | Long | The end time of the event. The field will not be present if the organizer hasn't entered an end time during event creation/update. |
vanityName | String | Vanity name (unique across events) for the event that helps with easy identification and better SEO. |
description | MultiLocaleRichText | Description of the event inputted by the creator. This field will not be present when event description is not provided by the organizer. |
settings | EventSettings | Container for various event settings. |
versionedLeadGenForm | VersionedLeadGenFormUrn | VersionedLeadGenFormUrn of the lead gen form associated with the event. The versionedLeadGenForm field is nested in the settings field. See sample. |
lastModified.time | Long | Last modified time of the event. |
lastModified.actor | PersonUrn | Urn of the member who has last modified the event. |
EventSetting
Field | Type | Description |
---|---|---|
entryCriteria | EventEntryCriteria | Member must satisfy the entry criteria to attend the event. Possible values:
|
invitationSettings | EventInvitationSettings | Invitation related settings for an event. |
discoveryMode | EventDiscoveryMode | Mode in which the event can be discovered on LinkedIn. Possible values:
|
attendanceMode | EventAttendanceMode | Mode in which the attendees can attend an event. Possible values:
|
additionalEntryCriteria | AdditionalEventEntryCriteria | Entry criteria, in addition to the one specified as part of field entryCriteria , that a member must satisfy to attend the event. |
A read-only field is immutable, and present only in responses to read requests. A create-only field is present only in create requests.
Events
Field | Type | Description |
---|---|---|
id | Long | Unique Identifier of the event. |
name | MultiLocaleString | The name of the event as inputted by the creator. |
description | MultiLocaleRichText | Description of the event inputted by the creator. This field will not be present when event description is not provided by the organizer. |
type | OnlineEventType or InPersonEventType | Whether the event is online or in-person. |
organizer | Urn | Entity responsible for organizing this event - Possible URN types: urn:li:person:abcd, urn:li:organization:1234. The validation for the entity type is done at the service level. |
vanityName | String | Vanity name (unique across events) for the event that helps with easy identification and better SEO. |
startsAt | Long | The start time of the event in epoch millis. |
backgroundImage | DigitalmediaAssetUrn | The background image used in displaying the event. If undefined, the default background image is used. |
leadGenFormSpec | Url | Specifies how to generate a lead gen form for the event. |
leadGenForm | VersionedLeadGenFormUrn | The lead gen form attached to the event. |
discoveryMode | EventDiscoveryMode | Modes in which an event can be discovered on LinkedIn. |
ugcPost | UserGeneratedContentPostUrn | The URN of the post associated with this event. This field is automatically set upon posting the event. |
OnlineEventType
This schema describes an event held virtually.
Field | Type | Description |
---|---|---|
format | LiveAudio, LiveVideo, or External | Whether the event is streamed on LinkedIn, streamed from an external website, or as live audio. |
LiveAudio
This schema represents a live audio event hosted online.
Field | Type | Description |
---|---|---|
endsAt | Long | The end time of the event in epoch millis. |
room | RoomUrn | URN for the broadcast entity of an interactive meeting or live audio event. Returned only in CREATE responses. |
LiveVideo
This schema represents an live event streamed on Linkedin.
Field | Type | Description |
---|---|---|
endsAt | Long | The end time of the event in epoch millis. |
liveVideo | LiveVideoUrn | The identifier of the live video that is automatically generated upon the creation of this event. Returned only in CREATE responses. |
External
This schema represents an event streamed on an external website.
Field | Type | Description |
---|---|---|
endsAt | Long | The end time of the event in epoch millis. |
url | Url | The URL of a page external to LinkedIn that contains information about the event. |
InPersonEventType
This schema describes an event held at a physical location.
Field | Type | Description |
---|---|---|
endsAt | Long | The end time of the event in epoch millis. |
address | Address | The address of the event's venue. |
url | Url | The URL of a page external to LinkedIn that contains information on the event. |
venueDetails | MultiLocaleRichText | The additional details about the event venue, on top of the address field. |
Fetch an Event
Individual event can be requested using the endpoint below that only requires event identifier.
Example
Sample Request
The last component of the URL path is the ID of the event to fetch.
Sample Response
HTTP/1.1 200 Ok
{
"settings": {
"eventPostsVisibleToPublic": false,
"attendanceMode": "IN_PERSON",
"discoveryMode": "LISTED",
"mapsToSingleUgcPost": false,
"invitationSettings": {
"invitationPrivilegePolicies": [
{
"com.linkedin.eventsproduct.SimpleEventInvitationPrivilegePolicy": "ALL_ATTENDEES"
}
]
},
"additionalEntryCriteria": {
"compositeCriteriaWithLogicalOr": [
{
"com.linkedin.eventsproduct.RegistrationThroughLeadGenFormV2": {
"versionedLeadGenForm": "urn:li:versionedLeadGenForm:(urn:li:leadGenForm:6788712107945934848,1)"
}
}
],
"logicalOperatorForCombiningWithOtherEntryCriteria": "AND"
},
"entryCriteria": "PUBLIC"
},
"vanityName": "testlgfevent6788712108075945984",
"localizedName": "Test LGF event",
"address": {
"geographicArea": "Karnataka",
"country": "IN",
"city": "Bengaluru",
"line2": "Building 1, 5th Floor Marathahalli Outer Ring Road, Devarabeesanahalli, Varthur Hobli",
"line1": "Rmz Ecoworld"
},
"organizer": "urn:li:organization:30109887",
"created": {
"actor": "urn:li:person:DIDLEqaiYz",
"time": 1618555094891
},
"name": {
"localized": {
"en_US": "Test LGF event"
},
"preferredLocale": {
"country": "US",
"language": "en"
}
},
"description": {
"localized": {
"en_US": {
"rawText": "test"
}
},
"preferredLocale": {
"country": "US",
"language": "en"
}
},
"lastModified": {
"actor": "urn:li:person:DIDLEqaiYz",
"time": 1618555094891
},
"id": 6788712108075945984,
"localizedDescription": {
"rawText": "test"
},
"timeRangeV2": {
"endsAt": 1647988200000,
"startsAt": 1647984600000
}
}
HTTP/1.1 200 Ok
{
"vanityName": "testonlineevent7246559654799892480",
"discoveryMode": "URL_ONLY",
"ugcPost": "urn:li:ugcPost:7246780305028571136",
"created": {
"actor": "urn:li:person:vU6QAVEtcr",
"time": 1727714456443
},
"organizer": "urn:li:organization:7185861",
"name": {
"localized": {
"en_US": "test online event"
}
},
"startsAt": 9091536064111,
"id": 7246559654799892480,
"lastModified": {
"actor": "urn:li:person:vU6QAVEtcr",
"time": 1728493578344
},
"type": {
"online": {
"format": {
"liveVideo": {
"endsAt": 9091536065000
}
}
}
}
}
Find Events with Lead Gen Form by Organizer
This endpoint returns all the leadgen form enabled events organized by a particular organization. This endpoint requires q=organizerLeadGenFormEnabledEvents
and a organization
URN in the organizer
parameter.
Since an organization can have a large volume of Events, this API supports pagination using the count
and start
parameters.
Parameter | Type | Description |
---|---|---|
q | String | You must always set this to organizerLeadGenFormEnabledEvents. It indicates that you're querying based on organizerLeadGenFormEnabledEvents. |
organizer | OrganizationUrn | URN identifying the organizer of the event. This is the organization. |
count | Integer | How many results to display on each page. |
start | Integer | The index of the form to begin your result page at. Indexes start at 0. Default is 0. |
Example
Sample Request
Sample Response
HTTP/1.1 200 Ok
{
"elements": [
{
"settings": {
"eventPostsVisibleToPublic": false,
"attendanceMode": "IN_PERSON",
"discoveryMode": "LISTED",
"mapsToSingleUgcPost": false,
"invitationSettings": {
"invitationPrivilegePolicies": [
{
"com.linkedin.eventsproduct.SimpleEventInvitationPrivilegePolicy": "ALL_ATTENDEES"
}
]
},
"additionalEntryCriteria": {
"compositeCriteriaWithLogicalOr": [
{
"com.linkedin.eventsproduct.RegistrationThroughLeadGenFormV2": {
"versionedLeadGenForm": "urn:li:versionedLeadGenForm:(urn:li:leadGenForm:6788712107945934848,1)"
}
}
],
"logicalOperatorForCombiningWithOtherEntryCriteria": "AND"
},
"entryCriteria": "PUBLIC"
},
"vanityName": "testlgfevent6788712108075945984",
"localizedName": "Test LGF event",
"address": {
"geographicArea": "Karnataka",
"country": "IN",
"city": "Bengaluru",
"line2": "Building 1, 5th Floor Marathahalli Outer Ring Road, Devarabeesanahalli, Varthur Hobli",
"line1": "Rmz Ecoworld"
},
"organizer": "urn:li:organization:30109887",
"created": {
"actor": "urn:li:person:DIDLEqaiYz",
"time": 1618555094891
},
"name": {
"localized": {
"en_US": "Test LGF event"
},
"preferredLocale": {
"country": "US",
"language": "en"
}
},
"description": {
"localized": {
"en_US": {
"rawText": "test"
}
},
"preferredLocale": {
"country": "US",
"language": "en"
}
},
"lastModified": {
"actor": "urn:li:person:DIDLEqaiYz",
"time": 1618555094891
},
"id": 6788712108075945984,
"localizedDescription": {
"rawText": "test"
},
"timeRangeV2": {
"endsAt": 1647988200000,
"startsAt": 1647984600000
},
},
{
"settings": {
"eventPostsVisibleToPublic": false,
"attendanceMode": "VIRTUAL",
"discoveryMode": "LISTED",
"mapsToSingleUgcPost": false,
"invitationSettings": {
"invitationPrivilegePolicies": [
{
"com.linkedin.eventsproduct.SimpleEventInvitationPrivilegePolicy": "ALL_ATTENDEES"
}
]
},
"additionalEntryCriteria": {
"compositeCriteriaWithLogicalOr": [
{
"com.linkedin.eventsproduct.RegistrationThroughLeadGenFormV2": {
"versionedLeadGenForm": "urn:li:versionedLeadGenForm:(urn:li:leadGenForm:6736766346387853312,1)"
}
}
],
"logicalOperatorForCombiningWithOtherEntryCriteria": "AND"
},
"entryCriteria": "PUBLIC"
},
"localizedName": "LGF Test 2.0",
"created": {
"actor": "urn:li:person:51125319",
"time": 1606170260364
},
"description": {
"localized": {
"en_US": {
"rawText": "test p"
}
},
"preferredLocale": {
"country": "US",
"language": "en"
}
},
"streamingUrl": "",
"organizer": "urn:li:organization:30109887",
"name": {
"localized": {
"en_US": "LGF Test 2.0"
},
"preferredLocale": {
"country": "US",
"language": "en"
}
},
"lastModified": {
"actor": "urn:li:person:51125319",
"time": 1606170260364
},
"id": 6736766346996002816,
"localizedDescription": {
"rawText": "test p"
},
"timeRangeV2": {
"endsAt": 1647988200000,
"startsAt": 1647984600000
}
}
],
"paging": {
"start": 0,
"count": 2,
"links": [],
"total": 16
},
}
HTTP/1.1 200 Ok
{
"elements": [
{
"vanityName": "testonlineevent7249811887951855616",
"discoveryMode": "LISTED",
"leadGenForm": "urn:li:versionedLeadGenForm:(urn:li:leadGenForm:7249811887599542272,1)",
"ugcPost": "urn:li:ugcPost:7254257065492111360",
"created": {
"actor": "urn:li:person:vU6QAVEtcr",
"time": 1728489849889
},
"organizer": "urn:li:organization:7185861",
"name": {
"localized": {
"en_US": "test online event"
}
},
"startsAt": 9091536064111,
"id": 7249811887951856000,
"lastModified": {
"actor": "urn:li:person:yATEBawSE6",
"time": 1729549663125
},
"type": {
"online": {
"format": {
"liveAudio": {
"endsAt": 9091536065000,
"room": "urn:li:room:7249811890279702528"
}
}
}
}
},
{
"vanityName": "testonlineevent7254255946724425728",
"discoveryMode": "LISTED",
"leadGenForm": "urn:li:versionedLeadGenForm:(urn:li:leadGenForm:7254255946464378880,1)",
"ugcPost": "urn:li:ugcPost:7254256112596574208",
"created": {
"actor": "urn:li:person:vU6QAVEtcr",
"time": 1729549395432
},
"organizer": "urn:li:organization:7185861",
"name": {
"localized": {
"en_US": "test online event"
}
},
"startsAt": 9091536064111,
"id": 7254255946724426000,
"lastModified": {
"actor": "urn:li:person:vU6QAVEtcr",
"time": 1729549395432
},
"type": {
"online": {
"format": {
"liveVideo": {
"endsAt": 9091536065000
}
}
}
}
}
],
"paging": {
"count": 2,
"start": 0,
"total": 0,
"links": [
{
"rel": "next",
"type": "application/json",
"href": "/events?organizer=urn%3Ali%3Aorganization%3A7185861&start=2&count=2&q=organizerLeadGenFormEnabledEvents"
}
]
}
}