# Swoogo

> Manage Swoogo events, registrants, sessions and speakers, and follow registrations and check-ins as they happen.

App · 25 actions. Web page: https://docs.lodol.com/docs/integrations/swoogo

## Actions

### Add registrant to session

Add a session to a registrant's agenda. Swoogo refuses a full session or one that clashes with another, unless you ignore capacity.

**Inputs**

- Event (`event_id`, text): The event whose records the dropdowns list. Not needed when you enter an ID.
- Registrant (`registrant_id`, text, required): The registrant: one person's registration for the event.
- Session (`session_id`, text, required): The session on the event's agenda.
- Send confirmation email (`send_email`, true/false): Send the registrant Swoogo's session confirmation email.
- Ignore capacity (`override_capacity`, true/false): Register even when the event, package or a session is full.

**Outputs**

- `data` (object): The response from Swoogo.

**Example output**

```json
{
  "data": {
    "success": true
  }
}
```

### Add speaker

Make one of your contacts a speaker at an event. Their name, email, company and bio come from the contact.

**Inputs**

- Event (`event_id`, text, required): The Swoogo event.
- Contact (`contact_id`, text, required): The contact in your Swoogo account, the person behind registrations and speakers.

**Outputs**

- `data` (object): The response from Swoogo.

**Example output**

```json
{
  "data": {
    "bio": "example",
    "company": "example",
    "created_at": "example",
    "email": "example",
    "event_id": 1,
    "first_name": "example",
    "id": 1,
    "job_title": "example",
    "last_name": "example",
    "profile_picture": "example",
    "updated_at": "example"
  }
}
```

### Add speaker to session

Put a speaker on one of the event's sessions.

**Inputs**

- Event (`event_id`, text): The event whose records the dropdowns list. Not needed when you enter an ID.
- Speaker (`speaker_id`, text, required): The speaker.
- Session (`session_id`, text, required): The session on the event's agenda.

**Outputs**

- `data` (object): The response from Swoogo.

**Example output**

```json
{
  "data": {
    "created_at": "example",
    "updated_at": "example"
  }
}
```

### Approve registrant

Approve someone who applied to attend an event with Apply to Attend turned on. Swoogo sends them its approval email.

**Inputs**

- Event (`event_id`, text): The event whose records the dropdowns list. Not needed when you enter an ID.
- Registrant (`registrant_id`, text, required): The registrant: one person's registration for the event.

**Outputs**

- `data` (object): The response from Swoogo.

**Example output**

```json
{
  "data": {
    "id": 1,
    "registration_status": "example",
    "updated_at": "example"
  }
}
```

### Check in registrant

Check a registrant in at the event, undo a check-in, or mark them as a no-show. Only confirmed or attended registrants can be checked in.

**Inputs**

- Event (`event_id`, text): The event whose records the dropdowns list. Not needed when you enter an ID.
- Registrant (`registrant_id`, text, required): The registrant: one person's registration for the event.
- Attendance (`status`, text): What to record. Leave empty to check them in. One of: `attended` (Checked in (attended)), `confirmed` (Not checked in (undo a check-in)), `no_show` (No-show).

**Outputs**

- `data` (object): The response from Swoogo.

**Example output**

```json
{
  "data": {
    "id": 1,
    "status": "example",
    "updated_at": "example"
  }
}
```

### Create registrant

Register someone for an event. Swoogo confirms the registration unless you choose another status.

**Inputs**

- Event (`event_id`, text, required): The Swoogo event.
- Email (`email`, text, required): The registrant's email address.
- First name (`first_name`, text): First name.
- Last name (`last_name`, text): Last name.
- Company (`company`, text): Company or organization.
- Job title (`job_title`, text): Job title.
- Work phone (`work_phone`, text): Work phone, with the country code, such as +14155550100.
- Mobile phone (`mobile_phone`, text): Mobile phone, with the country code, such as +14155550100.
- Registrant type (`reg_type_id`, text): The registrant type, such as Attendee or VIP.
- Discount code (`discount_code`, text): A discount code to apply.
- Registration status (`registration_status`, text): The registration's status. Leave empty for Confirmed. One of: `confirmed` (Not checked in (undo a check-in)), `pending`, `cancelled`.
- PO number (`po_number`, text): A purchase order number for the registration.
- Send confirmation email (`send_email`, true/false): Send the registrant Swoogo's confirmation email.
- Ignore capacity (`override_capacity`, true/false): Register even when the event, package or a session is full.

**Outputs**

- `data` (object): The response from Swoogo.

**Example output**

```json
{
  "data": {
    "cancelled_at": "example",
    "checked_in_at": "example",
    "company": "example",
    "contact_id": 1,
    "created_at": "example",
    "email": "example",
    "event_id": 1,
    "first_name": "example",
    "group_balance_due": 1,
    "id": 1,
    "individual_gross": "example",
    "job_title": "example",
    "last_name": "example",
    "mobile_phone": "example",
    "package_id": 1,
    "payment_status": "example",
    "reg_type_id": 1,
    "registered_at": "example",
    "registration_status": "example",
    "session_ids": [
      1
    ],
    "updated_at": "example",
    "work_phone": "example"
  }
}
```

### Create session

Add a session to an event's agenda. It is live on the agenda as soon as it is created.

**Inputs**

- Event (`event_id`, text, required): The Swoogo event.
- Name (`name`, text, required): The session's title.
- Date (`date`, date, required): The day of the session.
- Start time (`start_time`, time): When the session starts, in the event's time zone.
- End time (`end_time`, time): When the session ends, in the event's time zone.
- Description (`description`, text): What the session is about.
- Capacity (`capacity`, number): The most registrants who can choose the session. Leave empty for no limit. At least 0.
- Webinar link (`webinar_url`, text): The link to join the session online.
- Who attends (`selection_control`, text): Whether registrants choose the session or every registration includes it. One of: `optional` (Optional: registrants choose it), `included` (Included in every registration).

**Outputs**

- `data` (object): The response from Swoogo.

**Example output**

```json
{
  "data": {
    "capacity": 1,
    "created_at": "example",
    "date": "example",
    "description": "example",
    "direct_link": "example",
    "end_time": "example",
    "event_id": 1,
    "id": 1,
    "location_id": 1,
    "name": "example",
    "start_time": "example",
    "timezone": "example",
    "track_id": 1,
    "updated_at": "example",
    "webinar_url": "example"
  }
}
```

### Delete session

Delete a session for good. Swoogo takes it off every registrant's agenda.

**Inputs**

- Event (`event_id`, text): The event whose records the dropdowns list. Not needed when you enter an ID.
- Session (`session_id`, text, required): The session on the event's agenda.

**Outputs**

- `data` (object): The response from Swoogo.

**Example output**

```json
{
  "data": {}
}
```

### Deny registrant

Turn down someone who applied to attend an event with Apply to Attend turned on. Swoogo sends them its denial email.

**Inputs**

- Event (`event_id`, text): The event whose records the dropdowns list. Not needed when you enter an ID.
- Registrant (`registrant_id`, text, required): The registrant: one person's registration for the event.

**Outputs**

- `data` (object): The response from Swoogo.

**Example output**

```json
{
  "data": {
    "id": 1,
    "registration_status": "example",
    "updated_at": "example"
  }
}
```

### Get event

Get an event's details: its dates, times, time zone, capacity, status and registration page.

**Inputs**

- Event (`event_id`, text, required): The Swoogo event.

**Outputs**

- `data` (object): The response from Swoogo.

**Example output**

```json
{
  "data": {
    "capacity": 1,
    "close_date": "example",
    "close_time": "example",
    "created_at": "example",
    "description": "example",
    "domain": "example",
    "end_date": "example",
    "end_time": "example",
    "folder_id": 1,
    "id": 1,
    "name": "example",
    "start_date": "example",
    "start_time": "example",
    "status": "example",
    "timezone": "example",
    "updated_at": "example",
    "url": "example",
    "webinar_url": "example"
  }
}
```

### Get registrant

Get a registrant's details, including their status, sessions and what they owe.

**Inputs**

- Event (`event_id`, text): The event whose records the dropdowns list. Not needed when you enter an ID.
- Registrant (`registrant_id`, text, required): The registrant: one person's registration for the event.

**Outputs**

- `data` (object): The response from Swoogo.

**Example output**

```json
{
  "data": {
    "cancelled_at": "example",
    "checked_in_at": "example",
    "company": "example",
    "contact_id": 1,
    "created_at": "example",
    "email": "example",
    "event_id": 1,
    "first_name": "example",
    "group_balance_due": 1,
    "id": 1,
    "individual_gross": "example",
    "job_title": "example",
    "last_name": "example",
    "mobile_phone": "example",
    "package_id": 1,
    "payment_status": "example",
    "reg_type_id": 1,
    "registered_at": "example",
    "registration_status": "example",
    "session_ids": [
      1
    ],
    "updated_at": "example",
    "work_phone": "example"
  }
}
```

### Get session

Get a session's details: its date, times, capacity, location and track.

**Inputs**

- Event (`event_id`, text): The event whose records the dropdowns list. Not needed when you enter an ID.
- Session (`session_id`, text, required): The session on the event's agenda.

**Outputs**

- `data` (object): The response from Swoogo.

**Example output**

```json
{
  "data": {
    "capacity": 1,
    "created_at": "example",
    "date": "example",
    "description": "example",
    "direct_link": "example",
    "end_time": "example",
    "event_id": 1,
    "id": 1,
    "location_id": 1,
    "name": "example",
    "start_time": "example",
    "timezone": "example",
    "track_id": 1,
    "updated_at": "example",
    "webinar_url": "example"
  }
}
```

### List contacts

List the contacts in your Swoogo account, the people behind registrations and speakers, newest first.

**Inputs**

- Email (`email`, text): Only the contact with this email address.
- Page (`page`, number): The page of results to return. Leave empty for the first page. At least 1.
- Records per page (`per_page`, number): How many records to return, up to 1000. Leave empty for 20. From 1 to 1000.

**Outputs**

- `data` (object): The response from Swoogo.

**Example output**

```json
{
  "data": {
    "_meta": {
      "currentPage": 1,
      "pageCount": 1,
      "perPage": 1,
      "totalCount": 1
    },
    "items": [
      {
        "company": "example",
        "created_at": "example",
        "email": "example",
        "first_name": "example",
        "id": 1,
        "job_title": "example",
        "last_name": "example",
        "mobile_phone": "example",
        "updated_at": "example",
        "work_phone": "example"
      }
    ]
  }
}
```

### List events

List the events in your Swoogo account, newest first.

**Inputs**

- Name contains (`name_contains`, text): Only events whose name contains this text.
- Page (`page`, number): The page of results to return. Leave empty for the first page. At least 1.
- Records per page (`per_page`, number): How many records to return, up to 1000. Leave empty for 20. From 1 to 1000.

**Outputs**

- `data` (object): The response from Swoogo.

**Example output**

```json
{
  "data": {
    "_meta": {
      "currentPage": 1,
      "pageCount": 1,
      "perPage": 1,
      "totalCount": 1
    },
    "items": [
      {
        "capacity": 1,
        "close_date": "example",
        "close_time": "example",
        "created_at": "example",
        "description": "example",
        "domain": "example",
        "end_date": "example",
        "end_time": "example",
        "folder_id": 1,
        "id": 1,
        "name": "example",
        "start_date": "example",
        "start_time": "example",
        "status": "example",
        "timezone": "example",
        "updated_at": "example",
        "url": "example",
        "webinar_url": "example"
      }
    ]
  }
}
```

### List registrant types

List an event's registrant types, such as Attendee, Speaker or VIP.

**Inputs**

- Event (`event_id`, text, required): The Swoogo event.
- Page (`page`, number): The page of results to return. Leave empty for the first page. At least 1.
- Records per page (`per_page`, number): How many records to return, up to 1000. Leave empty for 20. From 1 to 1000.

**Outputs**

- `data` (object): The response from Swoogo.

**Example output**

```json
{
  "data": {
    "_meta": {
      "currentPage": 1,
      "pageCount": 1,
      "perPage": 1,
      "totalCount": 1
    },
    "items": [
      {
        "admin_short_name": "example",
        "capacity": 1,
        "created_at": "example",
        "description": "example",
        "id": 1,
        "name": "example",
        "public_short_name": "example",
        "updated_at": "example"
      }
    ]
  }
}
```

### List registrants

List the people registered for an event, newest first, with their status and payment details.

**Inputs**

- Event (`event_id`, text, required): The Swoogo event.
- Registration status (`status`, text): Only registrants with this registration status. One of: `confirmed` (Not checked in (undo a check-in)), `pending`, `approved`, `denied`, `attended` (Checked in (attended)), `no_show` (No-show), `cancelled`, `incomplete`, `in_progress` (In progress).
- Email (`email`, text): Only the registrant with this email address.
- Page (`page`, number): The page of results to return. Leave empty for the first page. At least 1.
- Records per page (`per_page`, number): How many records to return, up to 1000. Leave empty for 20. From 1 to 1000.

**Outputs**

- `data` (object): The response from Swoogo.

**Example output**

```json
{
  "data": {
    "_meta": {
      "currentPage": 1,
      "pageCount": 1,
      "perPage": 1,
      "totalCount": 1
    },
    "items": [
      {
        "cancelled_at": "example",
        "checked_in_at": "example",
        "company": "example",
        "contact_id": 1,
        "created_at": "example",
        "email": "example",
        "event_id": 1,
        "first_name": "example",
        "group_balance_due": 1,
        "id": 1,
        "individual_gross": "example",
        "job_title": "example",
        "last_name": "example",
        "mobile_phone": "example",
        "package_id": 1,
        "payment_status": "example",
        "reg_type_id": 1,
        "registered_at": "example",
        "registration_status": "example",
        "session_ids": [
          1
        ],
        "updated_at": "example",
        "work_phone": "example"
      }
    ]
  }
}
```

### List sessions

List the sessions on an event's agenda.

**Inputs**

- Event (`event_id`, text, required): The Swoogo event.
- Page (`page`, number): The page of results to return. Leave empty for the first page. At least 1.
- Records per page (`per_page`, number): How many records to return, up to 1000. Leave empty for 20. From 1 to 1000.

**Outputs**

- `data` (object): The response from Swoogo.

**Example output**

```json
{
  "data": {
    "_meta": {
      "currentPage": 1,
      "pageCount": 1,
      "perPage": 1,
      "totalCount": 1
    },
    "items": [
      {
        "capacity": 1,
        "created_at": "example",
        "date": "example",
        "description": "example",
        "direct_link": "example",
        "end_time": "example",
        "event_id": 1,
        "id": 1,
        "location_id": 1,
        "name": "example",
        "start_time": "example",
        "timezone": "example",
        "track_id": 1,
        "updated_at": "example",
        "webinar_url": "example"
      }
    ]
  }
}
```

### List speakers

List an event's speakers.

**Inputs**

- Event (`event_id`, text, required): The Swoogo event.
- Page (`page`, number): The page of results to return. Leave empty for the first page. At least 1.
- Records per page (`per_page`, number): How many records to return, up to 1000. Leave empty for 20. From 1 to 1000.

**Outputs**

- `data` (object): The response from Swoogo.

**Example output**

```json
{
  "data": {
    "_meta": {
      "currentPage": 1,
      "pageCount": 1,
      "perPage": 1,
      "totalCount": 1
    },
    "items": [
      {
        "bio": "example",
        "company": "example",
        "created_at": "example",
        "email": "example",
        "event_id": 1,
        "first_name": "example",
        "id": 1,
        "job_title": "example",
        "last_name": "example",
        "profile_picture": "example",
        "updated_at": "example"
      }
    ]
  }
}
```

### List sponsors

List an event's sponsors.

**Inputs**

- Event (`event_id`, text, required): The Swoogo event.
- Page (`page`, number): The page of results to return. Leave empty for the first page. At least 1.
- Records per page (`per_page`, number): How many records to return, up to 1000. Leave empty for 20. From 1 to 1000.

**Outputs**

- `data` (object): The response from Swoogo.

**Example output**

```json
{
  "data": {
    "_meta": {
      "currentPage": 1,
      "pageCount": 1,
      "perPage": 1,
      "totalCount": 1
    },
    "items": [
      {
        "created_at": "example",
        "description": "example",
        "direct_link": "example",
        "event_id": 1,
        "id": 1,
        "level": "example",
        "name": "example",
        "updated_at": "example",
        "website": "example"
      }
    ]
  }
}
```

### Remove registrant from session

Take a session off a registrant's agenda.

**Inputs**

- Event (`event_id`, text): The event whose records the dropdowns list. Not needed when you enter an ID.
- Registrant (`registrant_id`, text, required): The registrant: one person's registration for the event.
- Session (`session_id`, text, required): The session on the event's agenda.

**Outputs**

- `data` (object): The response from Swoogo.

**Example output**

```json
{
  "data": {
    "success": true
  }
}
```

### Remove speaker

Remove a speaker from an event and from its sessions. The contact stays in your account.

**Inputs**

- Event (`event_id`, text): The event whose records the dropdowns list. Not needed when you enter an ID.
- Speaker (`speaker_id`, text, required): The speaker.

**Outputs**

- `data` (object): The response from Swoogo.

**Example output**

```json
{
  "data": {}
}
```

### Send email to registrant

Send a registrant one of the event's Swoogo emails, such as their registration confirmation. The email's wording is set in Swoogo.

**Inputs**

- Event (`event_id`, text): The event whose records the dropdowns list. Not needed when you enter an ID.
- Registrant (`registrant_id`, text, required): The registrant: one person's registration for the event.
- Email (`email_type`, text, required): Which of the event's emails to send. One of: `registration_created` (Registration confirmation), `registration_modified` (Registration changed), `registration_cancelled` (Registration cancelled), `registration_abandoned` (Reminder to finish registering).

**Outputs**

- `data` (object): The response from Swoogo.

**Example output**

```json
{
  "data": {
    "success": true
  }
}
```

### Update event

Change an event's name, description, dates, times, capacity or when registration closes. Fields left empty stay as they are.

**Inputs**

- Event (`event_id`, text, required): The Swoogo event.
- Name (`name`, text): The event's new name.
- Description (`description`, text): The event's new description.
- Start date (`start_date`, date): The day the event starts.
- Start time (`start_time`, time): When the event starts, in the event's time zone.
- End date (`end_date`, date): The day the event ends.
- End time (`end_time`, time): When the event ends, in the event's time zone.
- Capacity (`capacity`, number): The most people who can register. 0 means no limit. At least 0.
- Registration closes on (`close_date`, date): The day registration closes.
- Registration closes at (`close_time`, time): The time registration closes, in the event's time zone.

**Outputs**

- `data` (object): The response from Swoogo.

**Example output**

```json
{
  "data": {
    "capacity": 1,
    "close_date": "example",
    "close_time": "example",
    "created_at": "example",
    "description": "example",
    "domain": "example",
    "end_date": "example",
    "end_time": "example",
    "folder_id": 1,
    "id": 1,
    "name": "example",
    "start_date": "example",
    "start_time": "example",
    "status": "example",
    "timezone": "example",
    "updated_at": "example",
    "url": "example",
    "webinar_url": "example"
  }
}
```

### Update registrant

Change a registrant's details or registration status. Fields left empty stay as they are.

**Inputs**

- Event (`event_id`, text): The event whose records the dropdowns list. Not needed when you enter an ID.
- Registrant (`registrant_id`, text, required): The registrant: one person's registration for the event.
- Email (`email`, text): The new email address.
- First name (`first_name`, text): First name.
- Last name (`last_name`, text): Last name.
- Company (`company`, text): Company or organization.
- Job title (`job_title`, text): Job title.
- Work phone (`work_phone`, text): Work phone, with the country code, such as +14155550100.
- Mobile phone (`mobile_phone`, text): Mobile phone, with the country code, such as +14155550100.
- Registrant type (`reg_type_id`, text): The registrant type, such as Attendee or VIP.
- Registration status (`registration_status`, text): The new registration status. Cancelled cancels the registration. One of: `confirmed` (Not checked in (undo a check-in)), `pending`, `cancelled`.
- Ignore capacity (`override_capacity`, true/false): Register even when the event, package or a session is full.

**Outputs**

- `data` (object): The response from Swoogo.

**Example output**

```json
{
  "data": {
    "cancelled_at": "example",
    "checked_in_at": "example",
    "company": "example",
    "contact_id": 1,
    "created_at": "example",
    "email": "example",
    "event_id": 1,
    "first_name": "example",
    "group_balance_due": 1,
    "id": 1,
    "individual_gross": "example",
    "job_title": "example",
    "last_name": "example",
    "mobile_phone": "example",
    "package_id": 1,
    "payment_status": "example",
    "reg_type_id": 1,
    "registered_at": "example",
    "registration_status": "example",
    "session_ids": [
      1
    ],
    "updated_at": "example",
    "work_phone": "example"
  }
}
```

### Update session

Change a session's name, date, times, description, capacity or webinar link. Fields left empty stay as they are.

**Inputs**

- Event (`event_id`, text): The event whose records the dropdowns list. Not needed when you enter an ID.
- Session (`session_id`, text, required): The session on the event's agenda.
- Name (`name`, text): The session's new title.
- Date (`date`, date): The session's new day.
- Start time (`start_time`, time): When the session starts, in the event's time zone.
- End time (`end_time`, time): When the session ends, in the event's time zone.
- Description (`description`, text): The new description.
- Capacity (`capacity`, number): The most registrants who can choose the session. At least 0.
- Webinar link (`webinar_url`, text): The new link to join the session online.

**Outputs**

- `data` (object): The response from Swoogo.

**Example output**

```json
{
  "data": {
    "capacity": 1,
    "created_at": "example",
    "date": "example",
    "description": "example",
    "direct_link": "example",
    "end_time": "example",
    "event_id": 1,
    "id": 1,
    "location_id": 1,
    "name": "example",
    "start_time": "example",
    "timezone": "example",
    "track_id": 1,
    "updated_at": "example",
    "webinar_url": "example"
  }
}
```
