Access Token

Get Genoa Access Token

This method retrieve the access_token used in the Genoa API for authentification futher methods. token_type could be "bearer" or "refreshed", the method accessToken retrieve your access_token by the provided credentials (client_id, secret_id) if your token has expired it will request a new one for you (auto refresh).
Method: POST
URL: /auth/accessToken
Content-Type: application/json
Required Params:

client_id (string)
secret_id (string)

Request body: 
{ 
  "client_id": "fbd6379edcacf4be20170", 
  "secret_id": "dbc23a6d537Jsh23hdS"
}
Response example:
{
    "access_token": "QOAOP105lI2g1Hd6nPO5ad0AJAEubQHg2LFCGy567ua6mLYg6OMZsJ704Pq20190621150005",
    "expiration": "2019-06-21 23:00:05",
    "expired": false
}

 

 

 

 

No Comments

Back to top