# Meetings

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


Find the actions recorded when users request, schedule and answer meetings, 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 other user.

## Meeting requests
<HttpParameters
title="Action"
params={[
  {
    "name": "meeting_request_create",
    "type": "string",
    "label": "Has recipient",
    "description": "When a user sends a meeting request."
  },
  {
    "name": "meeting_request_update",
    "type": "string",
    "label": "Has recipient",
    "description": "When a user updates the meeting request status."
  },
]}
>
</HttpParameters>

<HttpParameters
title="Body"
params={[
  {
    "name": "status",
    "type": "string",
    "description": "One of ACCEPTED, CANCELED, DECLINED, EXPIRED."
  },
  {
    "name": "meeting_id",
    "type": "string",
    "description": "The ID of the meeting associated with the request."
  },
]}
>
</HttpParameters>

## Meetings
<HttpParameters
title="Action"
params={[
  {
    "name": "meeting_create",
    "type": "string",
    "description": "When a meeting is created (one action per participant)."
  },
  {
    "name": "meeting_update",
    "type": "string",
    "description": "When the meeting status is updated (one action per participant)."
  },
]}
>
</HttpParameters>

<HttpParameters
title="Body"
params={[
  {
    "name": "status",
    "type": "string",
    "description": "One of CANCELED, CONFIRMED, DECLINED, EXPIRED, NO_SHOW, PENDING."
  },
  {
    "name": "meeting_id",
    "type": "string",
    "description": "The ID of the meeting."
  },
]}
>
</HttpParameters>

## Meeting participants
<HttpParameters
title="Action"
params={[
  {
    "name": "meeting_participant_create",
    "type": "string",
    "label": "Has recipient (meeting owner)",
    "description": "When the user is added as a participant to a meeting."
  },
  {
    "name": "meeting_participant_update",
    "type": "string",
    "label": "Has recipient (meeting owner)",
    "description": "When the user updates their status for a meeting."
  },
]}
>
</HttpParameters>

<HttpParameters
title="Body"
params={[
  {
    "name": "status",
    "type": "string",
    "description": "One of CANCELED, CONFIRMED, DECLINED, EXPIRED, NO_SHOW, PENDING, PENDING_INVITATION."
  },
  {
    "name": "meeting_id",
    "type": "string",
    "description": "The ID of the meeting."
  },
]}
>
</HttpParameters>
