---
title: "Create party invitations"
method: POST
path: "/party-invitations"
tags: ["Invitations"]
---

# Create party invitations

`POST /party-invitations`

Invite people to join the party. Available for business parties.

## Headers

- `X-Agent-ID` string, nullable
- `X-Instance-ID` string, nullable

## Request body

- object
  - `data` object, required
    - `attributes` object, required
      - `invitations` object[], required — List of invitations to create (max 100).
        - `email` string, email, required — Email address to invite.
        - `role` 'ADMIN' | 'MEMBER', required — Role to assign on acceptance.

## Response `201`

Successful Response

- object
  - `data` object[], required — Successfully created invitation resources.
    - `type` 'invitation', required
    - `id` string, required — Invitation ID (inv_*).
    - `attributes` object, required
      - `email` string, required — Invitee email address.
      - `role` 'OWNER' | 'ADMIN' | 'MEMBER', required — Role assigned on acceptance.
      - `status` 'PENDING' | 'ACCEPTED' | 'REVOKED' | 'DECLINED', required — Invitation status.
      - `expiresAt` string, required — When this invitation expires.
      - `createdAt` string, required — When this invitation was created.
      - `acceptedAt` string, nullable, required — When this invitation was accepted.
  - `meta` object, required — Batch invitation metadata.
    - `failed` object[], required — Failed invitation attempts with error details.
      - `email` string, required — Email address that could not be invited.
      - `error` string, required — Reason the invitation failed.

## Other responses

- `400` — Validation Error
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found. Returned when the resource does not exist, or when it exists but is not accessible to your account. The two cases are intentionally indistinguishable, so that resource IDs cannot be enumerated by probing.
- `409` — Conflict
- `422` — Validation Error
- `428` — Precondition Required
- `429` — Too Many Requests
- `500` — Internal Server Error
- `501` — Not Implemented
- `502` — Bad Gateway
- `503` — Service Unavailable

---

[API](https://skmtc.net/natural/apis/natural-api.md) · [All operations](https://skmtc.net/natural/apis/natural-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/natural/natural-api/versions/9561339ea461/schema)
