Invite driver
Drivers
GET invite
Endpoint
GET /api/v1/drivers/invite
Parameters
| Name | Description |
|---|---|
| user[email] required | |
| user[first_name] | First name |
| user[last_name] | Last name |
Request
Route
GET /api/v1/drivers/invite?user[email]=driver%40test.com&user[first_name]=John&user[last_name]=Shumacher
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIzNDMiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NjM2MjYzNjgsImV4cCI6MTc2NjIxODM2OCwianRpIjoiNjBjNTRlYWMtYjMwMy00MDQwLWE1MjMtMDI1ZGJlMzliZGIzIn0.6gQjPNjaq1EC610vpWGm79k2tzkto7O5_VO_8j6WmAo
Host: example.org
Cookie:
Query Parameters
user={"email"=>"driver@test.com", "first_name"=>"John", "last_name"=>"Shumacher"}
Body
{
}
Response
Simulated Response
Status
200
Headers
x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/json
cache-control: no-cache
x-request-id: bcaef90a-a483-4dc8-bfb6-8a5329cf9644
x-runtime: 0.005710
vary: Origin
content-length: 0