---
title: "Sync users (App users API)"
description: "Sync one user, a list of users or all users of a Softr app with its data source using the App Users API. Request, body and an example with curl for it."
canonical: "https://docs.softr.io/api/users/sync-users"
updated: "2026-12-04"
---

# Sync users (App users API)

Syncs users from the app's users table in its data source. Send a list of emails to sync those users, or no body to sync every user. See [Sync users with a data source](/apps/sync-users).

## Request

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

| 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

An optional JSON array of emails. Leave the body out to sync all users.

## Example

```bash
curl --request POST 'https://studio-api.softr.io/v1/api/users/sync' \
  --header 'Softr-Api-Key: <your API token>' \
  --header 'Softr-Domain: acme.softr.app' \
  --header 'Content-Type: application/json' \
  --data '["jane@example.com", "omar@example.com"]'
```

## 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).
