---
title: "Add account member"
method: POST
path: "/accounts/{externalId}/members"
tags: ["Accounts"]
---

# Add account member

`POST /accounts/{externalId}/members`

## Request

- Base URL: `https://api.sequenzy.com/api/v1`
- URL: `https://api.sequenzy.com/api/v1/accounts/{externalId}/members`
- Auth: HTTP bearer

Adds a contact to the account (creating the contact when `email` is new). Re-adding an existing member with a role updates it; without a role keeps the current one.

## Request body

- object
  - `email` string, email
  - `externalId` string: Contact external ID, as an alternative to email.
  - `role` 'owner' | 'admin' | 'member'
  - `firstName` string
  - `lastName` string

## Response `200`

Existing membership updated

- AccountMemberChangeResponse
  - `success` boolean
  - `account` Account: A B2B account (organization, workspace or team) that contacts belong to.
    - `id` string
    - `externalId` string: Customer-owned organization ID, unique per workspace.
    - `name` string, nullable
    - `domain` string, nullable
    - `attributes` object: Account attributes, fanned out to members as `account.<name>`.
    - `memberCount` integer
    - `lastEventAt` string, date-time, nullable
    - `createdAt` string, date-time
    - `updatedAt` string, date-time
  - `member` object
    - `subscriberId` string
    - `email` string, nullable
    - `externalId` string, nullable
    - `role` 'owner' | 'admin' | 'member'
    - `created` boolean
    - `subscriberCreated` boolean

## Other responses

- `201`: Member added
- `400`: The request body or parameters are invalid
- `404`: The requested resource does not exist

## Changes

- **2026-10-16** `db3873ca3d4d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sequenzy/apis/sequenzy-api/changes/accounts/:externalId/members/post.md)

---

[API](https://skmtc.dev/sequenzy/apis/sequenzy-api.md) - [All operations](https://skmtc.dev/sequenzy/apis/sequenzy-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sequenzy/apis/sequenzy-api/revisions/3d816357b738?raw)
