Reply.io Teams API

Add existing users of your organization to its teams

GitHub OpenAPI

Operations 1

POST /v3/teams/{team_id}/users/bulk Add existing users to a team #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/reply-io:reply-io-teams-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

reply-io-teams-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 3.0.0
  title: Reply Teams API
  description: API for managing email sequences, contacts, and automation workflows
servers:
- url: https://api.reply.io
security:
- bearerAuth: []
tags:
- name: Teams
  description: Add existing users of your organization to its teams
paths:
  /v3/teams/{team_id}/users/bulk:
    post:
      tags:
      - Teams
      summary: Add existing users to a team
      x-required-scope: teams:write
      description: '**New.** This endpoint shipped recently. If anything about it is unclear or could work better for you, tell us in the developer Slack.


        _Requires the `teams:write` scope (or a broader one that includes it)._


        Give up to 50 users of your organization access to another of its teams (workspaces), each with a role of that team (`roleName`). Users are identified by email and get a separate user ID in the team. The acting user needs the permissions to add existing organization members to a team and to assign roles; the organization owner has both.


        The response has one entry per user, in request order, each with the `email` it was sent with: the user''s `id` in the team, or `error` and `errorDetails` with `id` `0`. A failed entry does not stop the others. A user already in the team comes back as `alreadyInTeam` with their `id` and role unchanged, so retries are safe.


        Keys with `*:*` do not include `teams:write`. A user in several teams must name the team in the `X-TEAM-ID` header of access-token calls.'
      operationId: BulkAddUsersToTeam
      parameters:
      - name: team_id
        in: path
        required: true
        description: ID of the team (workspace) to add the users to
        schema:
          type: integer
          minimum: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              title: Bulk Add Users To Team Request
              description: Users of your organization to add to the team, each with a role from that team.
              additionalProperties: false
              required:
              - items
              properties:
                items:
                  type: array
                  minItems: 1
                  maxItems: 50
                  description: The users to add, 1 to 50 per call.
                  items:
                    type: object
                    additionalProperties: false
                    required:
                    - email
                    - roleName
                    properties:
                      email:
                        type: string
                        format: email
                        description: Email of a user who already belongs to any team of your organization. Case-insensitive; surrounding spaces are ignored.
                      roleName:
                        type: string
                        description: Name of a role of the target team, matched case-insensitively.
              example:
                items:
                - email: daniel@example.com
                  roleName: Team Member
                - email: olivia@example.com
                  roleName: Team Lead
      responses:
        '200':
          description: 'Array of results, one per submitted user, in request order.


            Per-item error codes:


            | error | Meaning |

            |-------|---------|

            | `userNotFound` | No user with this email belongs to your organization, or the user has no active membership left to add from |

            | `alreadyInTeam` | The user is already a member of the team; nothing changed. `id` holds their ID in the team |

            | `removedFromTeam` | The user was removed from this team earlier and can''t be added back through the API |

            | `roleNotFound` | The role is not one of the team''s roles |

            | `requestInProgress` | Another request for the same user and team is still running; retry shortly |

            | `unknown` | The user could not be added; retry the request |'
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    email:
                      type: string
                      description: The email as it was sent in the request item.
                    id:
                      type: integer
                      description: The user's ID in the team, also with `alreadyInTeam`. `0` when the user was not added for any other reason.
                    error:
                      type: string
                      nullable: true
                      description: 'Why the user was not added: `userNotFound`, `alreadyInTeam`, `removedFromTeam`, `roleNotFound`, `requestInProgress` or `unknown`. `null` on success.'
                    errorDetails:
                      type: string
                      nullable: true
                      description: Human-readable explanation of `error`; `null` on success
              example:
              - email: daniel@example.com
                id: 10493
                error: null
                errorDetails: null
              - email: olivia@example.com
                id: 10471
                error: alreadyInTeam
                errorDetails: The user is already a member of this team.
              - email: noah@example.com
                id: 0
                error: userNotFound
                errorDetails: No user with this email belongs to your organization.
        '400':
          description: Route parameter or body validation failure
          content:
            application/problem+json:
              schema:
                allOf:
                - allOf:
                  - type: object
                    title: Problem Details
                    description: 'Bare RFC 9457 problem-details envelope. Returned by middleware-level errors

                      that don''t carry domain context: 401 Unauthorized (auth middleware),

                      429 Too Many Requests (rate-limit middleware), and route-level 404 / 405 /

                      415 (framework middleware).


                      Business and validation responses extend this envelope and add additional

                      fields — see `business-problem.model.yaml` (adds `code` slug) and

                      `validation-problem.model.yaml` (adds `errors[]` array).'
                    properties:
                      title:
                        type: string
                        description: Short, human-readable summary of the problem.
                      status:
                        type: integer
                        description: HTTP status code.
                        minimum: 100
                        maximum: 599
                      detail:
                        type: string
                        description: Human-readable explanation specific to this occurrence.
                  - type: object
                    properties:
                      errors:
                        type: array
                        description: 'List of field-level validation errors. Always non-empty when this

                          envelope is returned. Each entry pins a single offending field

                          via JSON Pointer plus a sanitized detail string.'
                        items:
                          type: object
                          title: Validation Error
                          description: A single field-level validation error.
                          properties:
                            pointer:
                              type: string
                              description: "JSON Pointer (RFC 6901) to the offending field — e.g.\n`/steps/0/subject`.\n\n* An empty string (`\"\"`) means the error applies to the whole\n  request body (e.g. body is missing or unparseable).\n* For route or query parameter failures the pointer is the parameter\n  name (e.g. `id`, `top`)."
                              example: /steps/0/subject
                            detail:
                              type: string
                              description: 'Sanitized, human-readable explanation of this field''s error. One of a

                                small set of templates — `"Field is required."`, `"Value has an

                                invalid type."`, `"Value has an invalid format."`, `"Request body is

                                not valid JSON."`, `"The request body is required and cannot be

                                empty."` — or a FluentValidator message on body endpoints.'
                              example: Field is required.
                  title: Validation Problem
                  description: 'Input-validation error response at 400. Returned when the request body

                    fails binding, FluentValidator rules, or when route/query parameter

                    attribute validation (`[Range]`, `[Required]`) fails. Route, query, and

                    body errors are combined into a single `errors[]` array — clients should

                    not assume one error per request.'
                - example:
                    title: Validation failed
                    status: 400
                    detail: The request body contains validation errors.
                    errors:
                    - pointer: /name
                      detail: Field is required.
              example:
                title: Validation failed
                status: 400
                detail: The request body contains validation errors.
                errors:
                - pointer: /items/0/roleName
                  detail: '''Role Name'' must not be empty.'
        '401':
          description: Unauthorized. The response body is empty; check the `WWW-Authenticate` header for the expected scheme.
          content:
            application/problem+json:
              schema:
                allOf:
                - type: object
                  title: Problem Details
                  description: 'Bare RFC 9457 problem-details envelope. Returned by middleware-level errors

                    that don''t carry domain context: 401 Unauthorized (auth middleware),

                    429 Too Many Requests (rate-limit middleware), and route-level 404 / 405 /

                    415 (framework middleware).


                    Business and validation responses extend this envelope and add additional

                    fields — see `business-problem.model.yaml` (adds `code` slug) and

                    `validation-problem.model.yaml` (adds `errors[]` array).'
                  properties:
                    title:
                      type: string
                      description: Short, human-readable summary of the problem.
                    status:
                      type: integer
                      description: HTTP status code.
                      minimum: 100
                      maximum: 599
                    detail:
                      type: string
                      description: Human-readable explanation specific to this occurrence.
                - example:
                    title: Unauthorized
                    status: 401
                    detail: Authentication credentials are missing or invalid.
        '403':
          description: Adding users to a team is not enabled for the acting user's team, the acting user is not part of an organization, or the acting user lacks the permission to add existing organization members to a team or to assign roles
          content:
            application/problem+json:
              schema:
                allOf:
                - allOf:
                  - type: object
                    title: Problem Details
                    description: 'Bare RFC 9457 problem-details envelope. Returned by middleware-level errors

                      that don''t carry domain context: 401 Unauthorized (auth middleware),

                      429 Too Many Requests (rate-limit middleware), and route-level 404 / 405 /

                      415 (framework middleware).


                      Business and validation responses extend this envelope and add additional

                      fields — see `business-problem.model.yaml` (adds `code` slug) and

                      `validation-problem.model.yaml` (adds `errors[]` array).'
                    properties:
                      title:
                        type: string
                        description: Short, human-readable summary of the problem.
                      status:
                        type: integer
                        description: HTTP status code.
                        minimum: 100
                        maximum: 599
                      detail:
                        type: string
                        description: Human-readable explanation specific to this occurrence.
                  - type: object
                    properties:
                      code:
                        type: string
                        description: "Stable, machine-readable error slug in the form\n`\"<resource>.<variant>\"`.\n\n* `resource` is the camelCased domain — e.g. `sequence`,\n  `contact`, `inboxThread`, `blacklistDomainRule`.\n* `variant` is the camelCased specific failure mode — e.g.\n  `notFound`, `forbidden`, `duplicateName`, `globalRuleReadOnly`.\n\nUse `code` for programmatic error handling; use `detail` for\nuser-facing messages. Slugs are stable across server-side enum\nreorderings and never change meaning under a given resource."
                        pattern: ^[a-z][a-zA-Z0-9]*(\.[a-z][a-zA-Z0-9]*)+$
                        example: sequence.notFound
                  title: Business Problem
                  description: 'Domain error response carrying a stable, namespaced error slug.

                    Emitted for most 4xx responses (business 400, 403, 404, 409, …) and

                    for 503 when a downstream dependency is unavailable.'
                - example:
                    title: Forbidden
                    status: 403
                    detail: You do not have permission to access this resource.
                    code: sequence.forbidden
              examples:
                featureDisabled:
                  summary: Not enabled for the team
                  value:
                    title: Forbidden
                    status: 403
                    detail: Adding users to a team is not available for your team.
                    code: teamUser.featureDisabled
                organizationRequired:
                  summary: Organization membership required
                  value:
                    title: Forbidden
                    status: 403
                    detail: Team users are only available for organization accounts.
                    code: teamUser.organizationRequired
        '404':
          description: The team does not exist or belongs to another organization
          content:
            application/problem+json:
              schema:
                allOf:
                - allOf:
                  - type: object
                    title: Problem Details
                    description: 'Bare RFC 9457 problem-details envelope. Returned by middleware-level errors

                      that don''t carry domain context: 401 Unauthorized (auth middleware),

                      429 Too Many Requests (rate-limit middleware), and route-level 404 / 405 /

                      415 (framework middleware).


                      Business and validation responses extend this envelope and add additional

                      fields — see `business-problem.model.yaml` (adds `code` slug) and

                      `validation-problem.model.yaml` (adds `errors[]` array).'
                    properties:
                      title:
                        type: string
                        description: Short, human-readable summary of the problem.
                      status:
                        type: integer
                        description: HTTP status code.
                        minimum: 100
                        maximum: 599
                      detail:
                        type: string
                        description: Human-readable explanation specific to this occurrence.
                  - type: object
                    properties:
                      code:
                        type: string
                        description: "Stable, machine-readable error slug in the form\n`\"<resource>.<variant>\"`.\n\n* `resource` is the camelCased domain — e.g. `sequence`,\n  `contact`, `inboxThread`, `blacklistDomainRule`.\n* `variant` is the camelCased specific failure mode — e.g.\n  `notFound`, `forbidden`, `duplicateName`, `globalRuleReadOnly`.\n\nUse `code` for programmatic error handling; use `detail` for\nuser-facing messages. Slugs are stable across server-side enum\nreorderings and never change meaning under a given resource."
                        pattern: ^[a-z][a-zA-Z0-9]*(\.[a-z][a-zA-Z0-9]*)+$
                        example: sequence.notFound
                  title: Business Problem
                  description: 'Domain error response carrying a stable, namespaced error slug.

                    Emitted for most 4xx responses (business 400, 403, 404, 409, …) and

                    for 503 when a downstream dependency is unavailable.'
                - example:
                    title: Not Found
                    status: 404
                    detail: The requested resource was not found.
                    code: sequence.notFound
              example:
                title: Not Found
                status: 404
                detail: Team not found.
                code: teamUser.teamNotFound
        '429':
          description: Too Many Requests
          headers:
            Retry-After:
              description: Seconds to wait before retrying
              schema:
                type: integer
                minimum: 1
          content:
            application/problem+json:
              schema:
                allOf:
                - type: object
                  title: Problem Details
                  description: 'Bare RFC 9457 problem-details envelope. Returned by middleware-level errors

                    that don''t carry domain context: 401 Unauthorized (auth middleware),

                    429 Too Many Requests (rate-limit middleware), and route-level 404 / 405 /

                    415 (framework middleware).


                    Business and validation responses extend this envelope and add additional

                    fields — see `business-problem.model.yaml` (adds `code` slug) and

                    `validation-problem.model.yaml` (adds `errors[]` array).'
                  properties:
                    title:
                      type: string
                      description: Short, human-readable summary of the problem.
                    status:
                      type: integer
                      description: HTTP status code.
                      minimum: 100
                      maximum: 599
                    detail:
                      type: string
                      description: Human-readable explanation specific to this occurrence.
              example:
                title: Too Many Requests
                status: 429
                detail: API calls quota exceeded! maximum admitted 100 per 1m.
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Authenticate every request with a Bearer token. Pass your Reply API key in the

        `Authorization` header:


        ```

        Authorization: Bearer <your-api-key>

        ```


        Get your API key from the Reply dashboard: **Settings → API Key**.'