How to add and update a User through the API

Last updated: June 19, 2026

You can automate the creation of Users in the system using the /api/1.0/users/ API. Here's how.

Adding a User

You can add a user to your L2L server by sending an HTTP POST directly to the /api/1.0/users/ endpoint:

POST https://[customer].leading2lean.com/api/1.0/users/?auth=[api key]

POST Parameters: loginid=[username]&firstname=[first name]&lastname=[last name]&email=[email address]&phone=[phone]&smsemail=[sms email]&externalid=[eternal id]

Updating a User

You can update a user by sending an HTTP POST to the same API endpoint. The only difference is that you'll send the user's id and will omit the loginid parameter. 

POST https://[customer].leading2lean.com/api/1.0/users/?auth=[api key]

POST Parameters: id=[user id]&firstname=[first name]&lastname=[last name]&email=[email address]&phone=[phone]&smsemail=[sms email]&externalid=[eternal id]