1. Home
  2. Add user through API

Add user through API

This service allows you to register a new user for consuming our services. The service needs the access token and the new user account information.

Test environment url

https://api.test.sw.com.mx/management/api/users

Production environment url

https://api.sw.com.mx/management/api/users

This is the user information needed to create the new account:

Field Description
Email The new user email used to authenticate
Password Password used to authenticate
Name Name of the user
RFC User´s tax id
Profile Indicate the profile of the account, must be 3 for user profile.
Stamps The number of stamps available to use for this user
Unlimited Indicate if the user has unlimited stamps (true or false)
Active Indicate if the user is active (true or false)

Request example:

Success response example: 

The data element contains the user id for the new user account.

Error response example:

 

Updated on julio 29, 2020

Was this article helpful?