> For the complete documentation index, see [llms.txt](https://docs.codemash.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.codemash.io/sdks-and-cli/account/team/send-invite-to-team-member.md).

# Send Invite To Team Member

**Team** members are the people who administer your account and its projects, controlled by account roles. Sends the invite to team member.

This method is on the **Hub** surface (`norbix.hub.account`) — call it from admin tooling or IaC.

{% hint style="info" %}
These examples assume the SDK is installed and your credentials are set as environment variables — each client reads them automatically, so the constructors below take no arguments. See [Install a Norbix SDK](/sdks-and-cli/install.md).
{% endhint %}

{% tabs %}
{% tab title="JavaScript / TypeScript" %}

```ts
import { Norbix } from '@norbix.ai/ts';
const norbix = new Norbix();

const result = await norbix.hub.account.sendInviteToTeamMember({
  email: 'alice@example.com',
  roles: ['pr_4kX9mQvR2tYw7ZbC1dFgHj_nr_4kX9mQvR2tYw7ZbC1dFgHj'],
});
```

{% endtab %}

{% tab title=".NET" %}

```csharp
using Norbix.Sdk;
using Norbix.Sdk.Types.Hub;

using var client = new NorbixClient();

var result = await client.Account.SendInviteToTeamMemberAsync(new SendInviteToTeamMember
{
    Email = "alice@example.com",
    Roles = new[] { "pr_4kX9mQvR2tYw7ZbC1dFgHj_nr_4kX9mQvR2tYw7ZbC1dFgHj" },
});
```

{% endtab %}

{% tab title="Python" %}

```python
from norbix_python import NorbixHub

norbix = NorbixHub()

result = norbix.account.send_invite_to_team_member(
    email="alice@example.com",
    roles=["pr_4kX9mQvR2tYw7ZbC1dFgHj_nr_4kX9mQvR2tYw7ZbC1dFgHj"],
)
```

{% endtab %}

{% tab title="Go" %}

```go
c, _ := norbix.New(norbix.Options{})
ctx := context.Background()

var result map[string]any
err := c.Hub.Account.SendInviteToTeamMember(ctx, map[string]any{
	"email": "alice@example.com",
	"roles": []string{"pr_4kX9mQvR2tYw7ZbC1dFgHj_nr_4kX9mQvR2tYw7ZbC1dFgHj"},
}, &result)
```

{% endtab %}

{% tab title="Swift" %}

```swift
import NorbixSwift

let client = Norbix()

let result = try await client.hub.account.sendInviteToTeamMember([
    "email": "alice@example.com",
    "roles": ["pr_4kX9mQvR2tYw7ZbC1dFgHj_nr_4kX9mQvR2tYw7ZbC1dFgHj"],
])
```

{% endtab %}

{% tab title="Kotlin" %}

```kotlin
import dev.norbix.sdk.hub.NorbixHub

val hub = NorbixHub()

val result = hub.account.sendInviteToTeamMember(mapOf(
    "email" to "alice@example.com",
    "roles" to listOf("pr_4kX9mQvR2tYw7ZbC1dFgHj_nr_4kX9mQvR2tYw7ZbC1dFgHj"),
))
```

{% endtab %}

{% tab title="CLI" %}

```sh
norbix raw '/{version}/account/team/member/invite' -X POST --body '{"email":"alice@example.com","roles":["pr_4kX9mQvR2tYw7ZbC1dFgHj_nr_4kX9mQvR2tYw7ZbC1dFgHj"]}'
```

{% endtab %}
{% endtabs %}

{% hint style="warning" %}
Dart / Flutter examples for this page are still in the works — we are verifying the exact SDK shapes and will add them shortly. The method itself is available in every Norbix SDK.
{% endhint %}

## In the dashboard

Manage this visually in Norbix Cloud — see [Account & Projects → Team](/norbix-cloud/team.md).

## API reference

Full request and response for this endpoint: [Send Invite To Team Member](/api-reference/account/team/send-invite-to-team-member.md).
