---
title: "Sends Agency group candidate invitations out"
method: POST
path: "/agency-group/{agency_group_id}/candidate/{candidate_id}/invitation"
tags: ["CandidateInvitation"]
---

# Sends Agency group candidate invitations out

`POST /agency-group/{agency_group_id}/candidate/{candidate_id}/invitation`

## Request

- Base URL: `http://localhost:3010/v1`
- URL: `http://localhost:3010/v1/agency-group/{agency_group_id}/candidate/{candidate_id}/invitation`
- Auth: none declared. Required headers: `Authorization`, `Context`

Sends Agency group candidate invitations out

## Path parameters

- `candidate_id` string, required
- `agency_group_id` string, required

## Headers

- `Authorization` string, string, required
- `Context` string, string, required

## Request body

- InvitationSendType
  - `resend` boolean, required: If true resend of invitation is expected.

## Response `200`

success response

- SuccessResponse
  - `success` boolean: true on success

## Other responses

- `400`: Validation Error. When context is incorrect.
- `401`: Authorization Error. Thrown if the user does not have access to resource.
- `404`: Not found. Returned if no resource was found
- `405`: Method not supported Error. Returned if an unsupported http method is used.
- `default`: unexpected error

---

[API](https://skmtc.dev/staffshift/apis/staffshift-api-gateway.md) - [All operations](https://skmtc.dev/staffshift/apis/staffshift-api-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/staffshift/apis/staffshift-api-gateway/revisions/1f079f6b65f5?raw)
