---
title: "Send either the invitation or verification emails"
method: POST
path: "/agency-group/{agency_group_id}/candidate/{candidate_id}/invitation-verification"
tags: ["Agency Group Candidate Invitation Verification"]
---

# Send either the invitation or verification emails

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

## Request

- Base URL: `http://localhost:3010/v1`
- URL: `http://localhost:3010/v1/agency-group/{agency_group_id}/candidate/{candidate_id}/invitation-verification`
- Auth: HTTP basic and HTTP basic and HTTP basic

## Request body

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

## Response `200`

Whether the verification or invitation email was sent.

- VerificationInvitationResponse
  - `status` 'invite_sent' | 'invite_resent' | 'verification_sent' | 'nothing_sent', required: Whether the invitation or verification email is sent.

## Other responses

- `400`: Validation errors caused by missing or invalid header / path or payloads
- `401`: Failed to authenticate the user making the request
- `403`: Permission denied error
- `default`: Server error occurred

---

[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)
