# Bookmarks

Source: https://swapcard.dev/analytics-api/export/actions/bookmarks


Find the actions recorded when users bookmark an exhibitor, a session or a product, and the fields each one returns.

Each action name below is a value of the `event` field in the [export response](../graphql-analytics-api-export.mdx#example-response). Pass it in the `events` filter to export only that action. **Body** lists the fields of the action's `body` object. Actions labelled **Has recipient** also return the `with_*` fields of the user or exhibitor they target.

## Exhibitor bookmark

<HttpParameters
title="Action"
params={[
  {
    "name": "exhibitor_bookmark_create",
    "type": "string",
    "label": "Has recipient (with_exhibitor_ids)",
    "description": "When the user bookmarks an exhibitor."
  },
]}
>
</HttpParameters>

<HttpParameters
title="Body"
params={[
  {
    "name": "scanned",
    "type": "bool",
    "description": "Whether the bookmark comes from a scan.",
  }
]}
>
</HttpParameters>

## Session bookmark
Sessions are called *plannings* in the API.

<HttpParameters
title="Action"
params={[
  {
    "name": "planning_bookmark_create",
    "type": "string",
    "description": "When the user bookmarks a session (planning)."
  },
]}
>
</HttpParameters>

<HttpParameters
title="Body"
params={[
  {
    "name": "planning_id",
    "type": "string",
    "description": "The ID of the bookmarked session.",
  }
]}
>
</HttpParameters>

## Product bookmark
Exhibitor products are called *items* in the API.

<HttpParameters
title="Action"
params={[
  {
    "name": "product_bookmark_create",
    "type": "string",
    "description": "When the user bookmarks a product."
  },
]}
>
</HttpParameters>

<HttpParameters
title="Body"
params={[
  {
    "name": "product_id",
    "type": "string",
    "description": "The ID of the bookmarked product.",
  }
]}
>
</HttpParameters>
