# Mighty Networks

> Browse community members, spaces, events, plans and invitations, and manage posts.

App · 20 actions. Web page: https://docs.lodol.com/docs/integrations/mighty-networks

## Actions

### Create post

Publish a post or article in a space. Notifications are off unless you enable them.

**Inputs**

- Notify (`notify`, true/false): Notify.
- Space (`space_id`, number, required): The ID of the space to post in
- Title (`title`, text, required): The title of the post
- Description (`description`, text): The description/body content of the post
- Post type (`post_type`, text): The type of post to create (e.g., 'article')

**Outputs**

- `data` (object): The response from Mighty Networks.

**Example output**

```json
{
  "data": {
    "created_at": "example",
    "description": "example",
    "id": 1,
    "permalink": "example",
    "post_type": "example",
    "space_id": 1,
    "status": "example",
    "title": "example",
    "updated_at": "example"
  }
}
```

### Delete post

Delete post.

**Inputs**

- Post ID (`post_id`, number, required): Post ID.

**Outputs**

- `data` (object): The response from Mighty Networks.

**Example output**

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

### Find member by email

Find member by email.

**Inputs**

- Email (`email`, text, required): Email.

**Outputs**

- `data` (object): The response from Mighty Networks.

**Example output**

```json
{
  "data": {
    "created_at": "example",
    "email": "example",
    "first_name": "example",
    "id": 1,
    "last_name": "example",
    "permalink": "example",
    "updated_at": "example"
  }
}
```

### Get API key details

Read the user and network associated with the connected API key.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Mighty Networks.

**Example output**

```json
{
  "data": {
    "network": {},
    "user": {}
  }
}
```

### Get event

Get event.

**Inputs**

- Event ID (`event_id`, number, required): Event ID.

**Outputs**

- `data` (object): The response from Mighty Networks.

**Example output**

```json
{
  "data": {
    "created_at": "example",
    "description": "example",
    "ends_at": "example",
    "id": 1,
    "permalink": "example",
    "post_type": "example",
    "starts_at": "example",
    "title": "example",
    "updated_at": "example"
  }
}
```

### Get member

Get member.

**Inputs**

- Member ID (`member_id`, number, required): Member ID.

**Outputs**

- `data` (object): The response from Mighty Networks.

**Example output**

```json
{
  "data": {
    "created_at": "example",
    "email": "example",
    "first_name": "example",
    "id": 1,
    "last_name": "example",
    "permalink": "example",
    "updated_at": "example"
  }
}
```

### Get network

Get network.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Mighty Networks.

**Example output**

```json
{
  "data": {
    "created_at": "example",
    "description": "example",
    "id": 1,
    "title": "example",
    "updated_at": "example"
  }
}
```

### Get post

Get post.

**Inputs**

- Post ID (`post_id`, number, required): Post ID.

**Outputs**

- `data` (object): The response from Mighty Networks.

**Example output**

```json
{
  "data": {
    "created_at": "example",
    "description": "example",
    "id": 1,
    "permalink": "example",
    "post_type": "example",
    "space_id": 1,
    "status": "example",
    "title": "example",
    "updated_at": "example"
  }
}
```

### Get space

Get space.

**Inputs**

- Space (`space_id`, number, required): Space ID.

**Outputs**

- `data` (object): The response from Mighty Networks.

**Example output**

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

### List badges

List badges one page at a time. Use the next-page link in the result to see whether more records are available.

**Inputs**

- Page (`page`, number): Page. At least 1.
- Per page (`per_page`, number): Per page. From 1 to 100.

**Outputs**

- `data` (object): The response from Mighty Networks.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "created_at": "example",
        "description": "example",
        "id": 1,
        "title": "example",
        "updated_at": "example"
      }
    ],
    "links": {}
  }
}
```

### List events

List events one page at a time. Use the next-page link in the result to see whether more records are available.

**Inputs**

- Page (`page`, number): Page. At least 1.
- Per page (`per_page`, number): Per page. From 1 to 100.

**Outputs**

- `data` (object): The response from Mighty Networks.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "created_at": "example",
        "description": "example",
        "ends_at": "example",
        "id": 1,
        "permalink": "example",
        "post_type": "example",
        "starts_at": "example",
        "title": "example",
        "updated_at": "example"
      }
    ],
    "links": {}
  }
}
```

### List invitations

List invitations one page at a time. Use the next-page link in the result to see whether more records are available.

**Inputs**

- Email (`email`, text): Email.
- Page (`page`, number): Page. At least 1.
- Per page (`per_page`, number): Per page. From 1 to 100.

**Outputs**

- `data` (object): The response from Mighty Networks.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "created_at": "example",
        "id": 1,
        "updated_at": "example"
      }
    ],
    "links": {}
  }
}
```

### List members

List members one page at a time. Use the next-page link in the result to see whether more records are available.

**Inputs**

- Page (`page`, number): Page. At least 1.
- Per page (`per_page`, number): Per page. From 1 to 100.

**Outputs**

- `data` (object): The response from Mighty Networks.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "created_at": "example",
        "email": "example",
        "first_name": "example",
        "id": 1,
        "last_name": "example",
        "permalink": "example",
        "updated_at": "example"
      }
    ],
    "links": {}
  }
}
```

### List plans

List plans one page at a time. Use the next-page link in the result to see whether more records are available.

**Inputs**

- Page (`page`, number): Page. At least 1.
- Per page (`per_page`, number): Per page. From 1 to 100.

**Outputs**

- `data` (object): The response from Mighty Networks.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "created_at": "example",
        "description": "example",
        "id": 1,
        "name": "example",
        "permalink": "example",
        "status": "example",
        "updated_at": "example"
      }
    ],
    "links": {}
  }
}
```

### List post comments

List post comments one page at a time. Use the next-page link in the result to see whether more records are available.

**Inputs**

- Post ID (`post_id`, number, required): Post ID.
- Page (`page`, number): Page. At least 1.
- Per page (`per_page`, number): Per page. From 1 to 100.

**Outputs**

- `data` (object): The response from Mighty Networks.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "created_at": "example",
        "id": 1,
        "permalink": "example",
        "space_id": 1,
        "updated_at": "example"
      }
    ],
    "links": {}
  }
}
```

### List posts

List posts one page at a time. Use the next-page link in the result to see whether more records are available.

**Inputs**

- Space (`space_id`, number): Space ID.
- Page (`page`, number): Page. At least 1.
- Per page (`per_page`, number): Per page. From 1 to 100.

**Outputs**

- `data` (object): The response from Mighty Networks.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "created_at": "example",
        "description": "example",
        "id": 1,
        "permalink": "example",
        "post_type": "example",
        "space_id": 1,
        "status": "example",
        "title": "example",
        "updated_at": "example"
      }
    ],
    "links": {}
  }
}
```

### List space members

List space members one page at a time. Use the next-page link in the result to see whether more records are available.

**Inputs**

- Space (`space_id`, number, required): Space ID.
- Page (`page`, number): Page. At least 1.
- Per page (`per_page`, number): Per page. From 1 to 100.

**Outputs**

- `data` (object): The response from Mighty Networks.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "created_at": "example",
        "email": "example",
        "first_name": "example",
        "id": 1,
        "last_name": "example",
        "permalink": "example",
        "updated_at": "example"
      }
    ],
    "links": {}
  }
}
```

### List spaces

List spaces one page at a time. Use the next-page link in the result to see whether more records are available.

**Inputs**

- Page (`page`, number): Page. At least 1.
- Per page (`per_page`, number): Per page. From 1 to 100.

**Outputs**

- `data` (object): The response from Mighty Networks.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "created_at": "example",
        "id": 1,
        "name": "example",
        "updated_at": "example"
      }
    ],
    "links": {}
  }
}
```

### List tags

List tags one page at a time. Use the next-page link in the result to see whether more records are available.

**Inputs**

- Page (`page`, number): Page. At least 1.
- Per page (`per_page`, number): Per page. From 1 to 100.

**Outputs**

- `data` (object): The response from Mighty Networks.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "created_at": "example",
        "description": "example",
        "id": 1,
        "title": "example",
        "updated_at": "example"
      }
    ],
    "links": {}
  }
}
```

### Update post

Change a post title or description and keep the other fields.

**Inputs**

- Post ID (`post_id`, number, required): Post ID.
- Notify (`notify`, true/false): Notify.
- Title (`title`, text): The title of the post
- Description (`description`, text): The description/body content of the post

**Outputs**

- `data` (object): The response from Mighty Networks.

**Example output**

```json
{
  "data": {
    "created_at": "example",
    "description": "example",
    "id": 1,
    "permalink": "example",
    "post_type": "example",
    "space_id": 1,
    "status": "example",
    "title": "example",
    "updated_at": "example"
  }
}
```
