Driver Authentication (STEP 1)
-
URL
/v1/drivers/sessions
-
Method:
POST
-
Data Params
driver[phone_number]=[text]
-
Success Response:
- Code: 201 CREATED
Content:{ message: 'SMS with auth code sent' }
- Code: 201 CREATED
-
Error Response:
- Code: 404 NOT FOUND
Content:{ error: 'Driver with a provided phone number not found' }
- Code: 404 NOT FOUND
-
Sample Call:
-
Notes: