App users
Sync users (App users API)
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.
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.
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 |
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
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 for the status codes and the rate limits.
Related
To manage users without code, see Add and manage users. To manage them from a workflow, use the app user steps. See Steps.