<commit_before># Reset Endpoints

The `write` scope is required for the create endpoint.

## Send a Password Reset Email

Generates a valid password reset URL for the provided user ID, and emails it to user via [Customer.io](http://docs.dosomething.org/customer-io#call-to-action-email). This requires admin privileges.

```
POST /v2/resets
```

**Request Parameters:**

```js
{
  /* The user id to send a password reset email to. */
  id: String

  /* The type of password reset email to send.
   *
   * Valid types:
   * - 'forgot-password'
   * - 'rock-the-vote-activate-account' 
   */<commit_msg>Adds new reset type<commit_after># Reset Endpoints

The `write` scope is required for the create endpoint.

## Send a Password Reset Email

Generates a valid password reset URL for the provided user ID, and emails it to user via [Customer.io](http://docs.dosomething.org/customer-io#call-to-action-email). This requires admin privileges.

```
POST /v2/resets
```

**Request Parameters:**

```js
{
  /* The user id to send a password reset email to. */
  id: String

  /* The type of password reset email to send.
   *
   * Valid types:
   * - 'forgot-password'
   * - 'breakdown-activate-account'
   * - 'rock-the-vote-activate-account' 
   */
{'fraction_non_alphanumeric': 0.12057877813504823, 'fraction_numerical': 0.001607717041800643, 'mean_word_length': 3.3079584775086506, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2626665', 'n_tokens_mistral': 395, 'n_tokens_neox': 376, 'n_words': 140}