---
title: "Create a user (App users API)"
description: "Create a user in a Softr app with the App Users API: name, email, password and an optional permanent login link. Request, body and an example with curl."
canonical: "https://docs.softr.io/api/users/create-user"
updated: "2026-12-04"
---

# Create a user (App users API)

Creates a user in the app at the domain you send. The user can then sign in with the methods the app allows.

## Request

`POST https://studio-api.softr.io/v1/api/users`

| Header          | Value                                                                                                           |
| --------------- | --------------------------------------------------------------------------------------------------------------- |
| `Softr-Api-Key` | Your API token. Create one under **API tokens** in your account menu. See [Authentication](/api/authentication) |
| `Softr-Domain`  | Your app's Softr subdomain or custom domain, such as `acme.softr.app`                                           |

## Body

| Field                 | Type    | Description                                                     |
| --------------------- | ------- | --------------------------------------------------------------- |
| `email`               | string  | The user's email. Required                                      |
| `full_name`           | string  | The user's full name                                            |
| `password`            | string  | The user's password. When you leave it out, Softr generates one |
| `generate_magic_link` | boolean | `true` to create a permanent login link for the user            |

## Example

```bash
curl --request POST 'https://studio-api.softr.io/v1/api/users' \
  --header 'Softr-Api-Key: <your API token>' \
  --header 'Softr-Domain: acme.softr.app' \
  --header 'Content-Type: application/json' \
  --data '{
    "full_name": "Jane Cooper",
    "email": "jane@example.com",
    "generate_magic_link": true
  }'
```

## Errors

See [Errors and rate limits](/api/errors-and-limits) for the status codes and the rate limits.

## Related

To manage users without code, see [Add and manage users](/apps/users). To manage them from a workflow, use the app user steps. See [Steps](/workflows/steps#app-user-steps).
