# Workvivo

> Post updates, articles and kudos, and send notifications to people in Workvivo.

App · 26 actions. Web page: https://docs.lodol.com/docs/integrations/workvivo

## Actions

### Add space member

Add a person to a space.

**Inputs**

- Space (`id`, text, required): The space. Pick one, or use a space ID from List spaces.
- Person (`user`, number, required): The person to add.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "categories": [
        {
          "id": 1,
          "name": "Health & Wellbeing"
        }
      ],
      "created_at": "2021-08-11T11:43:28Z",
      "description": "A space where we share updates on initiatives and helpful tips..",
      "id": 1,
      "is_corporate": false,
      "is_external": false,
      "is_mandatory": false,
      "is_read_only": false,
      "name": "Health & Wellbeing",
      "permalink": "https://workvivo.com/spaces/1",
      "updated_at": "2023-06-15T08:55:19Z",
      "visibility": "public"
    },
    "meta": {
      "users_added": 1,
      "users_removed": 0
    },
    "status": "success"
  }
}
```

### Comment on update

Add a comment to an update as a person.

**Inputs**

- Update (`update_id`, text, required): The update's Workvivo ID.
- Posted as (`user`, number, required): The person who writes the comment.
- Comment (`text`, text, required): What the comment says.
- Posted at (`created_at`, date and time, required): The date and time to show the comment as posted.
- Reply to (`comment_parent_id`, number): The ID of a comment to reply to.
- External ID (`comment_external_id`, text): Your own unique ID for the comment.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "comment_external_id": "comment_N01",
      "comment_id": 4,
      "created_at": "2023-01-01T00:00:00Z",
      "creator": {
        "email": "roma.baumbach@example.com",
        "external_id": "nk-3506",
        "id": 1,
        "name": "Roma Baumbach",
        "permalink": "https://workvivo.com/people/1"
      },
      "has_replies": false,
      "html": "<p>Awesome update, I love it</p>",
      "item_id": 5,
      "item_type": "update",
      "text": "Awesome update, I love it",
      "updated_at": "2023-11-30T11:35:23Z"
    },
    "status": "success"
  }
}
```

### Create article

Publish a news article as a person.

**Inputs**

- Posted as (`user`, number, required): The person it is posted as.
- Title (`title`, text, required): The article's title.
- Subtitle (`subtitle`, text): A subtitle.
- Content (`html_content`, text, required): The body of the article, as HTML.
- Publish at (`published_at`, date and time, required): When to publish it. A time in the future schedules it.
- Tags (`tags`, list): Tags to show with the article.
- Featured (`is_featured`, true/false): Feature the article.
- Turn off comments (`disable_comments`, true/false): Stop people commenting on it.
- Notify people (`notify_users`, true/false): Tell people about the article. Workvivo does unless you turn this off.
- Share with (`audience_type`, text): Share it with one space or one team. Leave empty to share it with everyone. One of: `spaces` (A space), `teams` (A team).
- Space (`audience_space`, text): The space to share it in, when sharing with a space.
- Team (`audience_team`, text): The team to share it with, when sharing with a team.
- External ID (`external_id`, text): Your own unique ID for the article, to find it again later.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "comments_count": 0,
      "created_at": "2024-04-26T13:41:32Z",
      "creator": {
        "email": "roma.baumbach@example.com",
        "external_id": "nk-3506",
        "id": 1,
        "name": "Roma Baumbach",
        "permalink": "https://workvivo.com/people/1"
      },
      "external_id": "101",
      "global_audience": true,
      "has_acknowledgement": false,
      "html_content": "<p>Et doloremque expedita tenetur voluptas eveniet.</p>",
      "id": 101,
      "image": {
        "height": 688,
        "mime_type": "image/jpeg",
        "url": "https://example.com/img/users/primary-image.jpg",
        "width": 1667
      },
      "is_archived": false,
      "language_code": "en",
      "permalink": "https://workvivo.com/news/101",
      "published_at": "2024-09-20T07:00:00Z",
      "reactions_count": 0,
      "slug": "rerum-voluptatem-impedit-aspernatur-aut",
      "subtitle": "A subtitle",
      "title": "Rerum voluptatem impedit aspernatur aut.",
      "updated_at": "2024-04-26T13:41:32Z"
    },
    "status": "success"
  }
}
```

### Create update

Post an update to the feed as a person, for everyone or for one space or team.

**Inputs**

- Posted as (`user`, number, required): The person it is posted as.
- Text (`text`, text, required): What the update says.
- Posted at (`created_at`, date and time, required): The date and time to show the update as posted. A time in the future schedules it.
- Share with (`audience_type`, text): Share it with one space or one team. Leave empty to share it with everyone. One of: `spaces` (A space), `teams` (A team).
- Space (`audience_space`, text): The space to share it in, when sharing with a space.
- Team (`audience_team`, text): The team to share it with, when sharing with a team.
- Link (`link`, text): A web address to show a preview of.
- External ID (`external_id`, text): Your own unique ID for the update, to find it again later.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "audience": {
        "type": "Global"
      },
      "comments_count": 0,
      "content_approval": {
        "space_id": 123,
        "status": "pending"
      },
      "created_at": "2023-10-15T08:00:00.000000Z",
      "creator": {
        "email": "roma.baumbach@example.com",
        "external_id": "nk-3506",
        "id": 1,
        "name": "Roma Baumbach",
        "permalink": "https://workvivo.com/people/1"
      },
      "html": "<p>Text update with image in the gallery.</p>",
      "id": 24,
      "language_code": "en",
      "legacy_system_id": "ext-24",
      "permalink": "https://workvivo.com/update/24",
      "reactions_count": 0,
      "text": "Text update with image in the gallery."
    },
    "status": "success"
  }
}
```

### Delete article

Delete a news article.

**Inputs**

- Article (`id`, text, required): The article's Workvivo ID.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "external_id": "ext-24",
      "id": 24
    },
    "status": "success"
  }
}
```

### Delete kudos

Delete a kudos post.

**Inputs**

- Kudos (`id`, text, required): The kudos post's Workvivo ID.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "external_id": "ext-24",
      "id": 24
    },
    "status": "success"
  }
}
```

### Delete update

Delete an update.

**Inputs**

- Update (`id`, text, required): The update's Workvivo ID.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "external_id": "ext-24",
      "id": 24
    },
    "status": "success"
  }
}
```

### Find user by email

Get one person by their email address.

**Inputs**

- Email (`email`, text, required): Their email address in Workvivo.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "avatar_url": "https://workvivo.com/img/roma-baumbach.jpg",
      "created_at": "2025-01-01T00:00:00Z",
      "display_name": "Roma Baumbach",
      "email": "roma.baumbach@example.com",
      "external_id": "nk-3506",
      "first_name": "Roma",
      "has_access": true,
      "has_logged_in": true,
      "hire_date": "2013-08-04T17:21:16Z",
      "id": 1,
      "is_frontline": false,
      "job_title": "Occupational Health Safety Technician",
      "last_name": "Baumbach",
      "locale": "es_CO",
      "name": "Roma Baumbach",
      "permalink": "https://workvivo.com/people/1",
      "timezone": "America/Bahia"
    },
    "status": "success"
  }
}
```

### Get article

Get one news article.

**Inputs**

- Article (`id`, text, required): The article's Workvivo ID.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "comments_count": 0,
      "created_at": "2024-04-26T13:41:32Z",
      "creator": {
        "email": "roma.baumbach@example.com",
        "external_id": "nk-3506",
        "id": 1,
        "name": "Roma Baumbach",
        "permalink": "https://workvivo.com/people/1"
      },
      "external_id": "101",
      "global_audience": true,
      "has_acknowledgement": false,
      "html_content": "<p>Et doloremque expedita tenetur voluptas eveniet.</p>",
      "id": 101,
      "image": {
        "height": 688,
        "mime_type": "image/jpeg",
        "url": "https://example.com/img/users/primary-image.jpg",
        "width": 1667
      },
      "is_archived": false,
      "language_code": "en",
      "permalink": "https://workvivo.com/news/101",
      "published_at": "2024-09-20T07:00:00Z",
      "reactions_count": 0,
      "slug": "rerum-voluptatem-impedit-aspernatur-aut",
      "subtitle": "A subtitle",
      "title": "Rerum voluptatem impedit aspernatur aut.",
      "updated_at": "2024-04-26T13:41:32Z"
    },
    "status": "success"
  }
}
```

### Get event

Get one event.

**Inputs**

- Event (`id`, text, required): The event's Workvivo ID.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "book_button_text": "Click Me",
      "book_button_url": "https://example.com",
      "creator": {
        "email": "roma.baumbach@example.com",
        "external_id": "nk-3506",
        "id": 1,
        "name": "Roma Baumbach",
        "permalink": "https://workvivo.com/people/1"
      },
      "ends_at": "2023-12-08T16:00:00Z",
      "html_content": "<p>This is the event description</p>",
      "id": 100,
      "language_code": "en",
      "location": "HQ",
      "permalink": "https://workvivo.com/events/100",
      "scheduled_at": "2023-12-08T15:00:00Z",
      "text": "Join us for our next Health & Safety Training Session.",
      "title": "Health & Safety Meeting"
    },
    "status": "success"
  }
}
```

### Get kudos

Get one kudos post.

**Inputs**

- Kudos (`id`, text, required): The kudos post's Workvivo ID.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "audience": {
        "type": "Global"
      },
      "comments_count": 0,
      "created_at": "2023-10-18T08:57:00.000000Z",
      "creator": {
        "email": "roma.baumbach@example.com",
        "external_id": "nk-3506",
        "id": 1,
        "name": "Roma Baumbach",
        "permalink": "https://workvivo.com/people/1"
      },
      "html": "<p>Text kudo.</p>",
      "id": 22,
      "language_code": "en",
      "legacy_system_id": "ext-22",
      "permalink": "https://workvivo.com/kudos/22",
      "reactions_count": 0,
      "recipients": {
        "teams": [
          {
            "id": 22,
            "name": "Product",
            "permalink": "https://workvivo.com/teams/22"
          }
        ],
        "users": [
          {
            "email": "roma.baumbach@example.com",
            "external_id": "nk-3506",
            "id": 1,
            "name": "Roma Baumbach",
            "permalink": "https://workvivo.com/people/1"
          }
        ]
      },
      "text": "Text kudo."
    },
    "status": "success"
  }
}
```

### Get space

Get one space.

**Inputs**

- Space (`id`, text, required): The space. Pick one, or use a space ID from List spaces.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "categories": [
        {
          "id": 1,
          "name": "Health & Wellbeing"
        }
      ],
      "created_at": "2021-08-11T11:43:28Z",
      "description": "A space where we share updates on initiatives and helpful tips..",
      "id": 1,
      "is_corporate": false,
      "is_external": false,
      "is_mandatory": false,
      "is_read_only": false,
      "name": "Health & Wellbeing",
      "permalink": "https://workvivo.com/spaces/1",
      "updated_at": "2023-06-15T08:55:19Z",
      "visibility": "public"
    },
    "status": "success"
  }
}
```

### Get team

Get one team.

**Inputs**

- Team (`id`, text, required): The team. Pick one, or use a team ID from List teams.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "avatar_url": "https://workvivo.com/img/teams/accounting.jpg",
      "external_id": "accounting-0001",
      "id": 1,
      "name": "Accounting",
      "permalink": "https://workvivo.com/teams/1",
      "team_type": {
        "id": 1,
        "name": "Locations"
      }
    },
    "status": "success"
  }
}
```

### Get update

Get one update.

**Inputs**

- Update (`id`, text, required): The update's Workvivo ID.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "audience": {
        "type": "Global"
      },
      "comments_count": 0,
      "content_approval": {
        "space_id": 123,
        "status": "pending"
      },
      "created_at": "2023-10-15T08:00:00.000000Z",
      "creator": {
        "email": "roma.baumbach@example.com",
        "external_id": "nk-3506",
        "id": 1,
        "name": "Roma Baumbach",
        "permalink": "https://workvivo.com/people/1"
      },
      "html": "<p>Text update with image in the gallery.</p>",
      "id": 24,
      "language_code": "en",
      "legacy_system_id": "ext-24",
      "permalink": "https://workvivo.com/update/24",
      "reactions_count": 0,
      "text": "Text update with image in the gallery."
    },
    "status": "success"
  }
}
```

### Get user

Get one person by their Workvivo ID.

**Inputs**

- User (`id`, text, required): The person. Pick one, or use a user ID from List users.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "avatar_url": "https://workvivo.com/img/roma-baumbach.jpg",
      "created_at": "2025-01-01T00:00:00Z",
      "display_name": "Roma Baumbach",
      "email": "roma.baumbach@example.com",
      "external_id": "nk-3506",
      "first_name": "Roma",
      "has_access": true,
      "has_logged_in": true,
      "hire_date": "2013-08-04T17:21:16Z",
      "id": 1,
      "is_frontline": false,
      "job_title": "Occupational Health Safety Technician",
      "last_name": "Baumbach",
      "locale": "es_CO",
      "name": "Roma Baumbach",
      "permalink": "https://workvivo.com/people/1",
      "timezone": "America/Bahia"
    },
    "status": "success"
  }
}
```

### Give kudos

Thank a person or a team with kudos, posted as someone.

**Inputs**

- Posted as (`user`, number, required): The person it is posted as.
- Thank (`recipient_type`, text, required): Whether you are thanking a person or a team. One of: `person` (A person), `team` (A team).
- Recipient (`recipient_id`, number, required): The Workvivo ID of the person or team to thank.
- Message (`text`, text, required): What the kudos says.
- Posted at (`created_at`, date and time, required): The date and time to show the kudos as posted. A time in the future schedules it.
- Share with (`audience_type`, text): Share it with one space or one team. Leave empty to share it with everyone. One of: `spaces` (A space), `teams` (A team).
- Space (`audience_space`, text): The space to share it in, when sharing with a space.
- Team (`audience_team`, text): The team to share it with, when sharing with a team.
- External ID (`external_id`, text): Your own unique ID for the kudos, to find it again later.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "audience": {
        "type": "Global"
      },
      "comments_count": 0,
      "created_at": "2023-10-18T08:57:00.000000Z",
      "creator": {
        "email": "roma.baumbach@example.com",
        "external_id": "nk-3506",
        "id": 1,
        "name": "Roma Baumbach",
        "permalink": "https://workvivo.com/people/1"
      },
      "html": "<p>Text kudo.</p>",
      "id": 22,
      "language_code": "en",
      "legacy_system_id": "ext-22",
      "permalink": "https://workvivo.com/kudos/22",
      "reactions_count": 0,
      "recipients": {
        "teams": [
          {
            "id": 22,
            "name": "Product",
            "permalink": "https://workvivo.com/teams/22"
          }
        ],
        "users": [
          {
            "email": "roma.baumbach@example.com",
            "external_id": "nk-3506",
            "id": 1,
            "name": "Roma Baumbach",
            "permalink": "https://workvivo.com/people/1"
          }
        ]
      },
      "text": "Text kudo."
    },
    "status": "success"
  }
}
```

### List articles

List news articles.

**Inputs**

- Space (`in_spaces`, text): Only articles in this space.
- Team (`in_teams`, text): Only articles shared with this team.
- Featured only (`featured`, true/false): Only featured articles.
- State (`state`, text): Published, archived or both. Leave empty for published. One of: `published`, `archived`, `all` (Both).
- Created after (`from`, date and time): Only ones created at or after this time.
- Created before (`to`, date and time): Only ones created at or before this time.
- Skip (`skip`, number): How many to skip, for the next page. Leave empty to start at the first. At least 0.
- Page size (`take`, number): How many to return, from 1 to 100. From 1 to 100.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "comments_count": 0,
        "created_at": "2024-04-26T13:41:32Z",
        "creator": {
          "email": "roma.baumbach@example.com",
          "external_id": "nk-3506",
          "id": 1,
          "name": "Roma Baumbach",
          "permalink": "https://workvivo.com/people/1"
        },
        "external_id": "101",
        "global_audience": true,
        "has_acknowledgement": false,
        "html_content": "<p>Et doloremque expedita tenetur voluptas eveniet.</p>",
        "id": 101,
        "image": {
          "height": 688,
          "mime_type": "image/jpeg",
          "url": "https://example.com/img/users/primary-image.jpg",
          "width": 1667
        },
        "is_archived": false,
        "language_code": "en",
        "permalink": "https://workvivo.com/news/101",
        "published_at": "2024-09-20T07:00:00Z",
        "reactions_count": 0,
        "slug": "rerum-voluptatem-impedit-aspernatur-aut",
        "subtitle": "A subtitle",
        "title": "Rerum voluptatem impedit aspernatur aut.",
        "updated_at": "2024-04-26T13:41:32Z"
      }
    ],
    "meta": {
      "pagination": {
        "next_page": "https://api.workvivo.com/v1/users?skip=10&take=10",
        "skip": 0,
        "take": 10
      }
    },
    "status": "success"
  }
}
```

### List events

List events, upcoming ones only unless you choose otherwise.

**Inputs**

- Space (`in_spaces`, text): Only events in this space.
- Team (`in_teams`, text): Only events shared with this team.
- Upcoming only (`upcoming_only`, true/false): Only future events. Workvivo lists only those unless you turn this off.
- Created after (`from`, date and time): Only ones created at or after this time.
- Created before (`to`, date and time): Only ones created at or before this time.
- Skip (`skip`, number): How many to skip, for the next page. Leave empty to start at the first. At least 0.
- Page size (`take`, number): How many to return, from 1 to 100. From 1 to 100.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "book_button_text": "Click Me",
        "book_button_url": "https://example.com",
        "creator": {
          "email": "roma.baumbach@example.com",
          "external_id": "nk-3506",
          "id": 1,
          "name": "Roma Baumbach",
          "permalink": "https://workvivo.com/people/1"
        },
        "ends_at": "2023-12-08T16:00:00Z",
        "html_content": "<p>This is the event description</p>",
        "id": 100,
        "language_code": "en",
        "location": "HQ",
        "permalink": "https://workvivo.com/events/100",
        "scheduled_at": "2023-12-08T15:00:00Z",
        "text": "Join us for our next Health & Safety Training Session.",
        "title": "Health & Safety Meeting"
      }
    ],
    "meta": {
      "pagination": {
        "next_page": "https://api.workvivo.com/v1/users?skip=10&take=10",
        "skip": 0,
        "take": 10
      }
    },
    "status": "success"
  }
}
```

### List kudos

List kudos people have given.

**Inputs**

- Posted by (`creator_id`, number): Only ones posted by this person.
- Space (`in_spaces`, text): Only kudos in this space.
- Team (`in_teams`, text): Only kudos shared with this team.
- Created after (`from`, date and time): Only ones created at or after this time.
- Created before (`to`, date and time): Only ones created at or before this time.
- Skip (`skip`, number): How many to skip, for the next page. Leave empty to start at the first. At least 0.
- Page size (`take`, number): How many to return, from 1 to 100. From 1 to 100.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "audience": {
          "type": "Global"
        },
        "comments_count": 0,
        "created_at": "2023-10-18T08:57:00.000000Z",
        "creator": {
          "email": "roma.baumbach@example.com",
          "external_id": "nk-3506",
          "id": 1,
          "name": "Roma Baumbach",
          "permalink": "https://workvivo.com/people/1"
        },
        "html": "<p>Text kudo.</p>",
        "id": 22,
        "language_code": "en",
        "legacy_system_id": "ext-22",
        "permalink": "https://workvivo.com/kudos/22",
        "reactions_count": 0,
        "recipients": {
          "teams": [
            {
              "id": 22,
              "name": "Product",
              "permalink": "https://workvivo.com/teams/22"
            }
          ],
          "users": [
            {
              "email": "roma.baumbach@example.com",
              "external_id": "nk-3506",
              "id": 1,
              "name": "Roma Baumbach",
              "permalink": "https://workvivo.com/people/1"
            }
          ]
        },
        "text": "Text kudo."
      }
    ],
    "meta": {
      "pagination": {
        "next_page": "https://api.workvivo.com/v1/users?skip=10&take=10",
        "skip": 0,
        "take": 10
      }
    },
    "status": "success"
  }
}
```

### List space members

List the people in a space.

**Inputs**

- Space (`id`, text, required): The space. Pick one, or use a space ID from List spaces.
- Role (`in_space_roles`, text): Only people with this role in the space, such as admin or member.
- Skip (`skip`, number): How many to skip, for the next page. Leave empty to start at the first. At least 0.
- Page size (`take`, number): How many to return, from 1 to 100. From 1 to 100.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "avatar_url": "https://workvivo.com/img/roma-baumbach.jpg",
        "created_at": "2025-01-01T00:00:00Z",
        "display_name": "Roma Baumbach",
        "email": "roma.baumbach@example.com",
        "external_id": "nk-3506",
        "first_name": "Roma",
        "has_access": true,
        "has_logged_in": true,
        "hire_date": "2013-08-04T17:21:16Z",
        "id": 1,
        "is_frontline": false,
        "job_title": "Occupational Health Safety Technician",
        "last_name": "Baumbach",
        "locale": "es_CO",
        "name": "Roma Baumbach",
        "permalink": "https://workvivo.com/people/1",
        "timezone": "America/Bahia"
      }
    ],
    "meta": {
      "pagination": {
        "next_page": "https://api.workvivo.com/v1/users?skip=10&take=10",
        "skip": 0,
        "take": 10
      }
    },
    "status": "success"
  }
}
```

### List spaces

List the spaces in your organisation.

**Inputs**

- Name (`name`, text): Only spaces with this name.
- Visibility (`visibility`, text): Only spaces with this visibility. One of: `public`, `private`, `hidden`.
- Member (`user`, number): Only spaces this person is in.
- Skip (`skip`, number): How many to skip, for the next page. Leave empty to start at the first. At least 0.
- Page size (`take`, number): How many to return, from 1 to 100. From 1 to 100.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "categories": [
          {
            "id": 1,
            "name": "Health & Wellbeing"
          }
        ],
        "created_at": "2021-08-11T11:43:28Z",
        "description": "A space where we share updates on initiatives and helpful tips..",
        "id": 1,
        "is_corporate": false,
        "is_external": false,
        "is_mandatory": false,
        "is_read_only": false,
        "name": "Health & Wellbeing",
        "permalink": "https://workvivo.com/spaces/1",
        "updated_at": "2023-06-15T08:55:19Z",
        "visibility": "public"
      }
    ],
    "meta": {
      "pagination": {
        "next_page": "https://api.workvivo.com/v1/users?skip=10&take=10",
        "skip": 0,
        "take": 10
      }
    },
    "status": "success"
  }
}
```

### List teams

List your organisation's teams, such as departments and locations.

**Inputs**

- Team type (`type`, text): Only teams of this type, by its name, such as Location or Department.
- Name (`name`, text): Only teams with this name.
- Skip (`skip`, number): How many to skip, for the next page. Leave empty to start at the first. At least 0.
- Page size (`take`, number): How many to return, from 1 to 100. From 1 to 100.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "avatar_url": "https://workvivo.com/img/teams/accounting.jpg",
        "external_id": "accounting-0001",
        "id": 1,
        "name": "Accounting",
        "permalink": "https://workvivo.com/teams/1",
        "team_type": {
          "id": 1,
          "name": "Locations"
        }
      }
    ],
    "meta": {
      "pagination": {
        "next_page": "https://api.workvivo.com/v1/users?skip=10&take=10",
        "skip": 0,
        "take": 10
      }
    },
    "status": "success"
  }
}
```

### List update comments

List the comments on an update.

**Inputs**

- Update (`update_id`, text, required): The update's Workvivo ID.
- Order (`sort_direction`, text): Newest or oldest first. Leave empty for newest first. One of: `desc` (Newest first), `asc` (Oldest first).
- Skip (`skip`, number): How many to skip, for the next page. Leave empty to start at the first. At least 0.
- Page size (`take`, number): How many to return, from 1 to 100. From 1 to 100.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "comment_external_id": "comment_N01",
        "comment_id": 4,
        "created_at": "2023-01-01T00:00:00Z",
        "creator": {
          "email": "roma.baumbach@example.com",
          "external_id": "nk-3506",
          "id": 1,
          "name": "Roma Baumbach",
          "permalink": "https://workvivo.com/people/1"
        },
        "has_replies": false,
        "html": "<p>Awesome update, I love it</p>",
        "item_id": 5,
        "item_type": "update",
        "text": "Awesome update, I love it",
        "updated_at": "2023-11-30T11:35:23Z"
      }
    ],
    "meta": {
      "pagination": {
        "next_page": "https://api.workvivo.com/v1/users?skip=10&take=10",
        "skip": 0,
        "take": 10
      }
    },
    "status": "success"
  }
}
```

### List updates

List posts from the activity feed.

**Inputs**

- Posted by (`creator_id`, number): Only ones posted by this person.
- Space (`in_spaces`, text): Only updates in this space.
- Team (`in_teams`, text): Only updates shared with this team.
- Created after (`from`, date and time): Only ones created at or after this time.
- Created before (`to`, date and time): Only ones created at or before this time.
- Skip (`skip`, number): How many to skip, for the next page. Leave empty to start at the first. At least 0.
- Page size (`take`, number): How many to return, from 1 to 100. From 1 to 100.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "audience": {
          "type": "Global"
        },
        "comments_count": 0,
        "content_approval": {
          "space_id": 123,
          "status": "pending"
        },
        "created_at": "2023-10-15T08:00:00.000000Z",
        "creator": {
          "email": "roma.baumbach@example.com",
          "external_id": "nk-3506",
          "id": 1,
          "name": "Roma Baumbach",
          "permalink": "https://workvivo.com/people/1"
        },
        "html": "<p>Text update with image in the gallery.</p>",
        "id": 24,
        "language_code": "en",
        "legacy_system_id": "ext-24",
        "permalink": "https://workvivo.com/update/24",
        "reactions_count": 0,
        "text": "Text update with image in the gallery."
      }
    ],
    "meta": {
      "pagination": {
        "next_page": "https://api.workvivo.com/v1/users?skip=10&take=10",
        "skip": 0,
        "take": 10
      }
    },
    "status": "success"
  }
}
```

### List users

List the people in your Workvivo organisation.

**Inputs**

- Space (`in_spaces`, text): Only people in this space.
- Team (`in_teams`, text): Only people shared with this team.
- Deactivated (`deactivated`, true/false): Turn on to list deactivated or alumni users instead of active ones.
- Skip (`skip`, number): How many to skip, for the next page. Leave empty to start at the first. At least 0.
- Page size (`take`, number): How many to return, from 1 to 100. From 1 to 100.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "avatar_url": "https://workvivo.com/img/roma-baumbach.jpg",
        "created_at": "2025-01-01T00:00:00Z",
        "display_name": "Roma Baumbach",
        "email": "roma.baumbach@example.com",
        "external_id": "nk-3506",
        "first_name": "Roma",
        "has_access": true,
        "has_logged_in": true,
        "hire_date": "2013-08-04T17:21:16Z",
        "id": 1,
        "is_frontline": false,
        "job_title": "Occupational Health Safety Technician",
        "last_name": "Baumbach",
        "locale": "es_CO",
        "name": "Roma Baumbach",
        "permalink": "https://workvivo.com/people/1",
        "timezone": "America/Bahia"
      }
    ],
    "meta": {
      "pagination": {
        "next_page": "https://api.workvivo.com/v1/users?skip=10&take=10",
        "skip": 0,
        "take": 10
      }
    },
    "status": "success"
  }
}
```

### Send notification

Send people a notification with a link, now or at a set time.

**Inputs**

- Message (`message`, text, required): The notification's text.
- Link (`url`, text, required): The web address it opens.
- Push notification (`push`, true/false, required): Send it as a push notification.
- Email (`email`, true/false, required): Send it by email.
- Send to (`audience_type`, text, required): Who gets it. One of: `global` (Everyone), `users` (Some people), `teams` (Some teams), `spaces` (Some spaces).
- People (`users`, list): The Workvivo IDs of the people to send it to, when sending to some people.
- Teams (`teams`, list): The IDs of the teams to send it to, when sending to some teams.
- Spaces (`spaces`, list): The IDs of the spaces to send it to, when sending to some spaces.
- Send at (`send_at`, date and time, required): When to send it. Use the current time to send it now.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "audience": {
        "size": 3,
        "type": "users"
      },
      "channels": {
        "email": false,
        "push": true
      },
      "created_at": "2022-01-01T00:00:00Z",
      "id": 1,
      "message": "The 5th Annual Dundies are about to start!",
      "send_at": "2023-01-01T00:00:00Z",
      "status": "scheduled",
      "updated_at": "2022-01-01T00:00:00Z",
      "url": "https://dundermifflin.com/dundies"
    },
    "status": "success"
  }
}
```
