> For the complete documentation index, see [llms.txt](https://faq.finerymarkets.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://faq.finerymarkets.com/api-reference/rest-api/client-management/sendsubaccountinvite.md).

# sendSubaccountInvite

**POST api/sendSubaccountInvite**<br>

{% tabs %}
{% tab title="Payload" %}

```json
{
“email”: string,
“name”: string, // name to show in email
“type”: “maker” | “taker”
}
```

{% endtab %}

{% tab title="200 OK" %}

```json
{
  "id": 142,
  "inviteId": "8f3d2c1e-9b4a-4f7e-a5d6-7c8b9e0f1a2b",
  "email": "sub.user@acme.com",
  "type": "taker",
  "name": "Acme Sub",
  "referrerId": 101,
  "masterId": 101,
  "whitelabelId": 2,
  "relationType": "direct",
  "createdAt": 1781481600000,
  "expiresAt": 1784073600000
}
```

{% endtab %}

{% tab title="400 Bad request" %}

```json
{
  "error": 0
}
```

{% endtab %}
{% endtabs %}
