API Users V2

Create, query, update, and delete the child accounts of your dealer account. The same ones you manage in SW Portal › Clients (Clientes), from your code.

View SDKs

✓Before you start
  1. 1Get a Bearer Token using your SW username and password. We recommend using an infinite (non-expiring) token. All operations require it in the Authorization header.
  2. 2Create the child account with Create. The response returns its idUser.
  3. 3Update and Delete require that userId in the path. If you didn’t save it, retrieve it with Query.
💡 Important: to pause an account, use Activate/Deactivate. Delete removes the account and won’t go through if it still has stamps.

URLs

Select your active environment. The copy buttons and the code examples below are built with the base URL you choose here.

🛠️ Sandbox:
https://api.test.sw.com.mx
🚀 Production:
https://api.sw.com.mx

🔗 Endpoint

Four actions on child accounts. Pick one and its full reference is built below: endpoint, headers, parameters, example, and response.

Request Example

cURL

 Sandbox

>
>
>
>
>
>
>
>

💡 Note: These examples are based on the SW SDKs, but you can call the REST API directly from any language you prefer.

Response

In SW® we strive to be the best for You, which is why your opinion is very important. Please help us by rating this article and leaving your comments.

How useful was this post?

Click on a star to rate it!

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

Updated on noviembre 2, 2026

Related Articles