An application programming interface (API) is a set of subroutines, functions and procedures (or methods in object-oriented programming) that provides certain libraries and functions for use by other software as an abstraction layer.
The domain API allows domain management in a simple way using standard HTTP requests.
The RESTful API with Bearer Token identification, whose functions are simple, powerful and intuitive, allow you to obtain information or execute actions.
Consult the available functions and their technical documentation at
Important: Your token is in your SW Panel.
Remember that in order to access the API you need to upgrade your customer account.
The first step is to activate your token. Log in to your SW Panel.
Once inside go to the Customer Dashboard, you will find it in the top right menu that appears when you hover over your name.
At the bottom of the client Dashboard, you will see the APIs and development tools section, here you can activate your Bearer Token.
Once activated, you can start using SW Hosting domain APIs.
For more details, you can take a look at the post published on SW Hosting's blog.