---
title: "Send a challenge invite to a user"
method: POST
path: "/api/v5/challenges/{challenge_id}/send-invite/{user_id}"
tags: ["Challenges"]
---

# Send a challenge invite to a user

`POST /api/v5/challenges/{challenge_id}/send-invite/{user_id}`

## Request

- Base URL: `https://api.pavlok.com`
- URL: `https://api.pavlok.com/api/v5/challenges/{challenge_id}/send-invite/{user_id}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/pavlok/apis/pavlok-api-v5/docs/api/v5/challenges/:challenge_id/send-invite/:user_id/post.ts> (a function with typed inputs; its response is checked against the schema)

Send a challenge invite to a user

## Path parameters

- `challenge_id` integer, required
- `user_id` integer, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pavlok/apis/pavlok-api-v5.md) - [All operations](https://skmtc.dev/pavlok/apis/pavlok-api-v5/llms.txt) - [OpenAPI document](https://skmtc.dev/pavlok/apis/pavlok-api-v5/revisions/3d192098b1ac?raw)
