zxed
zxed

Reputation: 336

business profiles vs personal profiles - all_trips Scope (webhook)

Is there currently any way to request or provide authorization for a specific profile?

i.e. I user uber for personal and business - I only want to provide scope permissions for my business account.

** update to add clarification/use case **

I'll create a faux scenario... to help explain

  1. Uber Api provides webhooks for the all_trips scope.
  2. A user uses uber for both business and personal trips - and has a business profile and a personal profile
  3. The company the user works for needs to keep track of time spent in transportation. distance and location dring "business hours" - uber webhooks makes that much easier
  4. The user opts-in to authorize the scopes
  5. every time a trip is taken, the details are sent to the hook, appropriate data is logged
  6. on the users off day, a personal trip is taken - the trip details are sent to the hook and this is also logged - resulting in the question here....

Hope that helps? we only want to receive all_trips for the business profile....

Upvotes: 0

Views: 86

Answers (1)

Dustin Whittle
Dustin Whittle

Reputation: 1252

Today it is not possible to specify the profile when requesting a ride. The rider can select their profile once the ride is in progress.

For details see the api endpoint reference: https://developer.uber.com/docs/rides/api/v1-requests-estimate

Upvotes: 1

Related Questions