Drivers

Invite driver

GET invite

Endpoint

GET /api/v1/drivers/invite

Parameters

Name Description
user[email] required Email
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.eyJzdWIiOiIzMzMiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NTMyNjYxNzcsImV4cCI6MTc1NTg1ODE3NywianRpIjoiNTM5NjZiZGEtMThlNy00MTYyLTg3NTktZmE2NjNhMjU1YWY3In0.X3NEh8QHwRrj6DnzHiZfsiILzN77U-o20yuHzWVW20o
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: 8bd93c21-7f7e-48a5-a75b-fae483ae528a
x-runtime: 0.008239
vary: Origin
content-length: 0