1. Generate Access Token
POST https://login.uber.com/oauth/v2/token
This API call generates an access token in order to verify access.
Retrieve your clientid and clientsecret from your developer dashboard. The scopes available are located https://developer.uber.com/docs/health/guides/authentication#overview and can be selected for your app from the developer dashboard.
Request Body
[{"name"=>"client_id", "value"=>"{{Client_ID}}", "datatype"=>"string"}, {"name"=>"client_secret", "value"=>"{{Client_Secret}}", "datatype"=>"string"}, {"name"=>"grant_type", "value"=>"client_credentials", "datatype"=>"string"}, {"name"=>"scope", "value"=>"health.sandbox", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
User-Agent | string |