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.eyJzdWIiOiIzMzQiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NDI0NjQ5MTMsImV4cCI6MTc0NTA1NjkxMywianRpIjoiMjc5MmM3YTYtOWI5NC00Y2FmLWI3MWYtODkzMzg0M2FkMWExIn0.2OPOpy9Piz3-MoQWkPEmIStc1d6xeMHS1qdSZGrtacY
Host: example.org
Cookie:
Query Parameters
user={"email"=>"driver@test.com", "first_name"=>"John", "last_name"=>"Shumacher"}
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: 58a5c40d-b901-4a21-b909-54b6622e8c3b
x-runtime: 0.005290
vary: Origin
content-length: 0