· Tutorial ·

How to activate a Bearer Token for access to APIs

What is an API?

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.

How does our domain API work?

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
https://sandbox-api.swhosting.com/docs

How do I get my Bearer Token?

Important: Your token is in your SWPanel.

info Remember that in order to access the API you need to validate your customer account.

The first step is to activate your token. Log in to your SWPanel.
Once inside go to the Customer Dashboard, you will find it in the top right menu that appears when you hover over your name.

enter image description here

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.

i