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.eyJzdWIiOiIzMzMiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NjA5NTA0MzksImV4cCI6MTc2MzU0MjQzOSwianRpIjoiYmZhMjM3MDItNTRiZS00YjYxLTliY2EtMGJlYjJkYWIwN2FlIn0.zcwfGe4NROiVZHxNfdNT4hzJ-pGi-D_Whd9fmcoR2_8
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: 699eea56-70c3-4915-b0df-9a7c71cf7862
x-runtime: 0.004898
vary: Origin
content-length: 0