cURL
curl --request POST \ --url https://app.trophy.so/api/users \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <api-key>' \ --data '{ "email": "user@example.com", "name": "User", "tz": "Europe/London", "subscribeToEmails": true, "id": "user-id" }'
{ "email": "user@example.com", "name": "User", "tz": "Europe/London", "subscribeToEmails": true, "id": "user-id", "control": false, "created": "2021-01-01T00:00:00Z", "updated": "2021-01-01T00:00:00Z" }
Create a new user.
The user object. An object with editable user fields.
Identified user
A user of your application. An object with editable user fields.
Was this page helpful?