---
title: "Send user credentials"
method: POST
path: "/api/user/{id}/credentials"
tags: ["User Management"]
---

# Send user credentials

`POST /api/user/{id}/credentials`

## Request

- Base URL: `https://api.sponsorunited.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sponsorunited.com/api/user/{id}/credentials`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/user/:id/credentials/post.ts> (a function with typed inputs; its response is checked against the schema)

Generates a new password and sends credentials email to the user.

## Path parameters

- `id` integer, required

## Request body

- object
  - `template` string, required: Email template slug to use

## Response `200`

Credentials sent successfully

- object
  - `success` boolean
  - `message` string

## Other responses

- `401`: Unauthenticated
- `403`: Forbidden - Not authorized to send credentials
- `404`: User not found

---

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