---
title: "Create multiple invitations"
method: POST
path: "/participant-pools/{participantPoolId}/invitations/bulk-create"
tags: ["Invitations"]
---

# Create multiple invitations

`POST /participant-pools/{participantPoolId}/invitations/bulk-create`

## Request

- Base URL: `https://rest.api.pactima.com/v1`
- URL: `https://rest.api.pactima.com/v1/participant-pools/{participantPoolId}/invitations/bulk-create`
- Auth: HTTP bearer

Create multiple invitations to join the participant pool. The invitees will get emails with links to join. Entries whose email already has a DECLINED invitation on this pool revive that invitation in place (status back to PENDING, fresh token and expiry, send count reset); entries with a PENDING invitation or an existing membership are skipped.

## Request body

- object
  - `invitations` object[], required
    - `name` string, required: Name of the person being invited
    - `email` string, required: Email address of the person being invited
    - `roles` ParticipantPoolMemberRoleEnum[], required: Roles to assign to the member when they accept the invitation

## Response `201`

Returns an object with a `data` property containing an array of invitation objects if they were successfully created.

- object
  - `data` ParticipantPoolInvitation[]
    - `id` string: Unique identifier for the invitation
    - `name` string, required: Name of the person being invited
    - `email` string, required: Email address of the person being invited
    - `roles` ParticipantPoolMemberRoleEnum[], required: Roles that will be assigned to the member when they accept the invitation
    - `status` 'PENDING' | 'DECLINED': Lifecycle status of a participant pool invitation. Absent on invitations created before this field existed; consumers must treat a missing value as PENDING.
    - `createdAt` string, date-time: Timestamp when the invitation was created
    - `expiresAt` string, date-time: Timestamp when the invitation expires
    - `declinedAt` string, date-time: Timestamp when the invitation was declined. Present only while status is DECLINED; cleared when the decline is undone or the invitation is revived by a re-invite.

---

[API](https://skmtc.dev/pactima/apis/participant-pools-api.md) - [All operations](https://skmtc.dev/pactima/apis/participant-pools-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pactima/apis/participant-pools-api/revisions/43bdfd66fa8c?raw)
