---
title: "Send an activation email to a user"
method: POST
path: "/users/{id}/activation-email"
tags: ["users"]
---

# Send an activation email to a user

`POST /users/{id}/activation-email`

## Request

- Base URL: `https://api.smartrecruiters.com/user-api/v201804`
- URL: `https://api.smartrecruiters.com/user-api/v201804/users/{id}/activation-email`
- Auth: one of:
  - API key in header `x-smarttoken`
  - OAuth 2
    - Authorization code: `https://www.smartrecruiters.com/identity/oauth/allow`
    - Token URL: `https://api.smartrecruiters.com/identity/oauth/token` scopes: `users_manage`

Send an activation email to a user with given id. Users created via an API are not active.
This method is an alternative to activating a user directly and allows sending an activation email
in which a user will have to open a link and follow instructions on a screen to activate his/her account.

## Response `204`

Activation email successfully sent

## Other responses

- `403`: with code * **PERMISSION_DENIED** Not permitted to manage users
- `404`: User not found
- `422`: with codes * **ACTIVATION_EMAIL_UNAVAILABLE** when user is already activated or deactivated.

---

[API](https://skmtc.dev/smartrecruiters/apis/users-api.md) - [All operations](https://skmtc.dev/smartrecruiters/apis/users-api/llms.txt) - [OpenAPI document](https://skmtc.dev/smartrecruiters/apis/users-api/revisions/22cf1eb7cae7?raw)
