Request a Lyft
POST
/rides
User
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.lyft.com/v1/rides' \
--header 'Content-Type: application/json' \
--data-raw ''
Response Response Example
201 - Example 1
{
"destination": {
"address": "123 Main St, Anytown, CA",
"lat": 36.9442175,
"lng": -123.8679133
},
"origin": {
"address": "123 Main St, Anytown, CA",
"lat": 36.9442175,
"lng": -123.8679133
},
"passenger": {
"first_name": "Jane",
"image_url": "https://public-api.lyft.com/static/images/user.png",
"rating": 4.9,
"user_id": "776630198662493392"
},
"ride_id": 123456789,
"status": "pending"
}
Request
Body Params application/json
Responses
Modified at 2023-08-15 05:38:33