---
title: "Send participant invites"
method: POST
path: "/campaign/{id}/participant/{participantIdOrEmail}/invites"
tags: ["Referrals and Invites"]
---

# Send participant invites

`POST /campaign/{id}/participant/{participantIdOrEmail}/invites`

## Request

- Base URL: `https://api.growsurf.com/v2`
- URL: `https://api.growsurf.com/v2/campaign/{id}/participant/{participantIdOrEmail}/invites`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/growsurf/apis/growsurf-rest-api/docs/campaign/:id/participant/:participantIdOrEmail/invites/post.ts> (a function with typed inputs; its response is checked against the schema)

Sends email invites on behalf of a participant to a list of email addresses.

## Path parameters

- `id` string, required
- `participantIdOrEmail` string, required

## Request body

- SendInvitesRequest
  - `emailAddresses` string[], required
  - `messageText` string, required
  - `subjectText` string, required

## Response `200`

Invite send result returned.

- SendInvitesResponse
  - `success` boolean, required
  - `messageType` string, required
  - `invitesSent` integer, required

## Other responses

- `400`: Invalid request.
- `401`: Authorization is missing or invalid.
- `403`: The API key is not allowed to perform this action.
- `404`: Resource not found.
- `429`: Too many requests.

---

[API](https://skmtc.dev/growsurf/apis/growsurf-rest-api.md) - [All operations](https://skmtc.dev/growsurf/apis/growsurf-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/growsurf/apis/growsurf-rest-api/revisions/26f06e273394?raw)
