---
title: "Invite a member"
method: POST
path: "/api/v1/members"
tags: ["members"]
---

# Invite a member

`POST /api/v1/members`

Emails an invitation link to `email`. The invite is locked to that address: accepting it requires a verification code sent to that inbox, so holding the link alone grants nothing. The invite expires after 7 days; inviting an address that already has a pending invite re-sends it and refreshes the expiry.

## Headers

- `Authorization` string, required

## Request body

- InviteMemberRequest
  - `email` string, email, required — The address to invite. The invitation is locked to it.

## Response `201`

The pending membership. An invitation email has been sent.

- MembersInviteMemberResponse201
  - `member` AccountMember, required
    - `id` string, nullable, required — The membership id, used to remove the member. Always `null` for the owner, who is the account's own email address and cannot be removed.
    - `email` string, email, required
    - `role` 'owner' | 'member', required
    - `status` 'pending' | 'active', required — `pending` until the invitation is accepted. A pending member has no API key and no access. The owner is always `active`.
    - `invitedByEmail` string, email, nullable — Who sent the invitation. Null for the owner.
    - `invitedAt` string, date-time, nullable
    - `acceptedAt` string, date-time, nullable — When the invitation was accepted, or null while pending.
    - `lastActiveAt` string, date-time, nullable — When this member's API key was last used, or null if never used.

## Other responses

- `400` — The address failed validation — not a valid email, an alias of an address already in use, a disposable domain, the account owner's own address, or already an active member of this account.
- `401` — Missing or invalid API key.

---

[API](https://skmtc.net/getdial/apis/rest-api.md) · [All operations](https://skmtc.net/getdial/apis/rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getdial/rest-api/revisions/5f4eb30ac29a/schema)
