Skip to main content
View as Markdown

Analytics API

Download the raw analytics data of your events: every page view, meeting, message, connection and bookmark, one action per line.

What you can do​

Use caseStart with
Export all user actions for an event and a time rangeExport analytics data
Track page views, searches and session video streamsPage views
Measure meeting requests and meetingsMeetings
Measure networking: connections and connection requestsConnections
Count chat messages and video callsChat
See which exhibitors, sessions and products users bookmarkBookmarks

Endpoint​

Unlike the Content API, the Analytics API is not a GraphQL API. It has a single HTTP endpoint, and every export is a POST to:

https://developer.swapcard.com/event-admin/export/analytics

How the export works​

  • You send a JSON body with the IDs of your events and a time range (time_gt and time_lt, both required).
  • The response is a stream of newline-separated JSON objects, ordered from the least to the most recent.
  • Each JSON object is one action a user performed on the platform, such as viewing an exhibitor or accepting a meeting.
  • Each object contains a cursor. Send it in your next request to retrieve all the actions that come after it.
  • Without a limit, the stream is potentially infinite.

See Export analytics data for the full request and response reference.

Authentication​

Send an API key created in Swapcard Studio in the Authorization header. See Authentication.

Get started​

Limits and versioning​