> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Add User To A Team

Add a user to a team. Attempting to add a user with the `read_only_user` role will return a 400 error.

A team is a collection of Users and Escalation Policies that represent a group of people within an organization.

For more information see the [API Concepts Document](https://developer.pagerduty.com/api-reference/a47605517c19a-api-concepts#teams).

<Note>
  External Documentation

  To learn more, visit the [PagerDuty documentation](https://developer.pagerduty.com/api-reference/8fff69f2af386-add-a-user-to-a-team).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter | Description                            |
  | --------- | -------------------------------------- |
  | Role      | The role of the user on the team.      |
  | Team ID   | The ID of the team to add the user to. |
  | User ID   | The user ID on the team.               |
</div>

## Workflow Library Example

[Add User to a Team with Pagerduty and Send Results Via Email](https://library.blinkops.com/workflows/add-user-to-a-team-with-pagerduty-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/add-user-to-a-team-with-pagerduty-and-send-results-via-email/canvas" />
</div>
