Help us improve the Equinix Community by completing a quick survey


Smart Hands ticket api

Smart Hands ticket api

Level 9

Hello guys, I am new in using curl and I have a qeustion.
How it looks the final example autharization form + get smart hands type.


curl -X POST ''
-H "content-type: application/json"
-d '{
"grant_type": "client_credentials",
"client_id": "ABCDE12345",
"client_secret": "FGHIJ67890"



curl -X GET ""
-H "content-type: application/json"
-H "authorization: Bearer qwErtYxxxxxxxcdefGHI"

I don't understand how to combine these two example in one and why I have to use second time

-H "authorization: Bearer qwErtY8zyW1abcdefGHI"
Reply 1 1

Level 9
Hi there,

The first API call is an auth service where token is returned after authentication is successful. This token is valid for 60 minutes upon successful authentication and has to be passed in the header for subsequent APIs calls.
Note that this is applicable all endpoints and not limited to smarthands APIs.
Hope this clarifies