---
title: "Provider emailIdentity test email"
method: POST
path: "/v2/providers/emailidentities/{emailIdentityId}/sendtestemail"
tags: ["EmailIdentities"]
---

# Provider emailIdentity test email

`POST /v2/providers/emailidentities/{emailIdentityId}/sendtestemail`

## Request

- Base URL: `https://api.loket.nl`
- URL: `https://api.loket.nl/v2/providers/emailidentities/{emailIdentityId}/sendtestemail`
- Auth: none required
- TypeScript: <https://skmtc.dev/loket-acc/apis/loket-api/docs/v2/providers/emailidentities/:emailIdentityId/sendtestemail/post.ts> (a function with typed inputs; its response is checked against the schema)

__Activity name:__ <a href="https://developer.loket.nl/Activities/PostSendProviderTestemailByEmailIdentityId" target="_blank">PostSendProviderTestemailByEmailIdentityId</a><br>    <br><br>Send an email to test the email identity configuration. <br>

## Path parameters

- `emailIdentityId` string, uuid, required

## Headers

- `Authorization` string, required
- `Accept` string, required

## Request body

- EmailIdentityTestEmail, nullable
  - `to` string: The emailadres to which a test email should be send.

## Response `201`

OK. The test email has been sent.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/loket-acc/apis/loket-api.md) - [All operations](https://skmtc.dev/loket-acc/apis/loket-api/llms.txt) - [OpenAPI document](https://skmtc.dev/loket-acc/apis/loket-api/revisions/18447d65a986?raw)
