---
title: INRequestRideIntent
framework: intents
role: symbol
role_heading: Class
path: intents/inrequestrideintent
---

# INRequestRideIntent

A request to book the specified ride from your service.

## Declaration

```swift
class INRequestRideIntent
```

## Overview

Overview SiriKit creates an INRequestRideIntent object when the user asks to book a ride using your app. A ride request intent contains user-supplied information about the ride, such as its starting point and the number of people. Use this intent object to identify possible ride options for the user to choose from and to book the ride after the user confirms it. To handle this intent, the handler object in your Intents extension must adopt the INRequestRideIntentHandling protocol. Your handler should confirm the request and create an INRequestRideIntentResponse object with information about whether your app successfully booked the ride. When implementing ride-booking support, provide a GeoJSON file with the regions for which you are able to provide rides and upload that file as your app’s Routing App Coverage File in App Store Connect. When it needs to suggest apps capable of providing a ride, Maps uses your coverage information to determine whether it should suggest your app. If you do not provide a coverage file and your app is not installed on the user’s device, Maps does not suggest your app. For information about how to create and upload a Routing App Coverage File, see iTunes Connect Developer Help. note: When implementing ride-booking support, provide a GeoJSON file with the regions for which you’re able to provide rides and upload that file as your app’s Routing App Coverage File in App Store Connect. When it needs to suggest apps capable of providing a ride, Maps uses your coverage information to determine whether it should suggest your app. If you don’t provide a coverage file and your app isn’t installed on the user’s device, Maps doesn’t suggest your app. For information about how to create and upload a Routing App Coverage File, see iTunes Connect Developer Help. Additional Intent Attributes The following table lists additional attributes of this intent object:  |   |   |

## Topics

### Initializing the Intent Object

- [init(pickupLocation:dropOffLocation:rideOptionName:partySize:paymentMethod:scheduledPickupTime:)](intents/inrequestrideintent/init(pickuplocation:dropofflocation:rideoptionname:partysize:paymentmethod:scheduledpickuptime:).md)

### Getting the Ride Details

- [rideOptionName](intents/inrequestrideintent/rideoptionname.md)
- [partySize](intents/inrequestrideintent/partysize-39k7z.md)
- [pickupLocation](intents/inrequestrideintent/pickuplocation.md)
- [scheduledPickupTime](intents/inrequestrideintent/scheduledpickuptime.md)
- [dropOffLocation](intents/inrequestrideintent/dropofflocation.md)

### Getting the Payment Information

- [paymentMethod](intents/inrequestrideintent/paymentmethod.md)

## Relationships

### Inherits From

- [INIntent](intents/inintent.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [INIntentSetImageKeyPath](intents/inintentsetimagekeypath.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Request a Ride

- [INRequestRideIntentHandling](intents/inrequestrideintenthandling.md)
- [INRequestRideIntentResponse](intents/inrequestrideintentresponse.md)
