cURL
curl --request POST \ --url https://api.soharhealth.com/oauth/token \ --header 'Content-Type: application/json' \ --data '{ "client_id": "YOUR_CLIENT_ID", "client_secret": "YOUR_CLIENT_SECRET" }'
{ "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzb2hhciI6ImhlYWx0aCJ9.0sXbystKB9fXid-8ESps2JnaFRFPmLFOc8n6jnCDih4", "token_type": "Bearer", "expires_in": 3600 }
Your application's Client ID
Your application's Client Secret
Access token
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzb2hhciI6ImhlYWx0aCJ9.0sXbystKB9fXid-8ESps2JnaFRFPmLFOc8n6jnCDih4"
Bearer
"Bearer"
Time in seconds
3600