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

# Accept Member Invite

> Accept a seller team invite using its token.

Accepts a member invite and joins the inviting seller's team.

> [!NOTE]
>
> This is a public route: no `Authorization` or `x-seller-id` header is required. The invite is identified by the `invite_token` sent in the invitation email.

## Body parameters

**invite\_token** `string` *required*

The token from the invitation email.

**first\_name** `string`

First name for the new member profile.

**last\_name** `string`

Last name for the new member profile.

## Response

**member** `object`

**properties**

**id** `string`

The member's ID.

**first\_name** `string`

The member's first name.

**last\_name** `string`

The member's last name.

**email** `string`

The member's email.

```bash cURL theme={null}
curl -X POST 'http://localhost:9000/vendor/members/invites/accept' \
  -H 'Content-Type: application/json' \
  -d '{"invite_token": "<invite_token>", "first_name": "John", "last_name": "Roe"}'
```

```ts JS Client theme={null}
const { member } = await client.vendor.members.invites.accept.mutate({
  invite_token: "<invite_token>",
  first_name: "John",
  last_name: "Roe",
})
```

```json 200 theme={null}
{
  "member": {
    "id": "mem_01HXYZ",
    "first_name": "John",
    "last_name": "Roe",
    "email": "teammate@acme.com"
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.