Generate Access Token
POST https://auth.uber.com/oauth/v2/token
https://developer.uber.com/docs/businesses/receipts/guides/authentication
**
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/businesses/receipts/guides/authentication#scopes 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"=>"business.receipts", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
User-Agent | string |
RESPONSES
status: OK
{"access_token":"Redacted","token_type":"Bearer","expires_in":2592000,"scope":"business.receipts"}