# Shotgun

> Read organizer events and attendee tickets from Shotgun Backstage.

App · 2 actions. Web page: https://docs.lodol.com/docs/integrations/shotgun

## Actions

### List events

List events.

**Inputs**

- Name (`name`, text): Name.
- Past events (`past_events`, true/false): Past events.
- Page (`page`, number): Page. At least 0.
- Limit (`limit`, number): Limit. At least 1.
- Updated after (`updated_after`, date and time): Updated after.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "endTime": "example",
        "id": 1,
        "name": "example",
        "slug": "example",
        "startTime": "example",
        "timezone": "example"
      }
    ]
  }
}
```

### List tickets

List tickets.

**Inputs**

- Event (`event_id`, number): Event id.
- Include cohosted events (`include_cohosted_events`, true/false): Include cohosted events.
- Updated after (`updated_after`, date and time): Updated after.
- Cursor (`cursor`, text): Continuation cursor from the previous page of tickets.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "deal_title": "example",
        "event_id": 1,
        "order_id": 1,
        "ticket_id": 1,
        "ticket_scanned_at": "example",
        "ticket_status": "example",
        "ticket_updated_at": "example"
      }
    ],
    "next_cursor": "example"
  }
}
```
