How to use my API Token?

Once, you have generated your API token following the previous guide: 

https://www.host-stage.net/client-area/knowledgebase/104/How-To-Create-an-API-Token-.html

You'll be able to use it directly from in your applications.
To do so, you would only need to replace the TOKEN value in the strings given by our API documentation for your programming language. 

To illustrate here is an example for the CURL language: 

curl --include \
     --header "Content-Type: application/json" \
     --header "Authorization: Bearer TOKEN" \
https://api.host-stage.net/service




The Token needs to be added instead of the 'TOKEN' string in 
  --header "Authorization: Bearer TOKEN" \


  --header "Authorization: Bearer myencryptedtoken" \
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How To Create an API Token?

Throughout this guide, you'll see how to activate the API and create a token for your access to...

Where to Find API Documentation?

The full documentation to our API can be found directly from the link below:...

What Can I Do with your API?

Using our API, you'll be able to perform the following actions:  List your Services Order New...

What Programming Language Can I Use with Your API?

Virtually all the programming languages which can interact with the web and process JSON arrays...

How to Pay an invoice from the API?

Upon developping your application you may generate invoices to order or renew services and...