Choose a server to use:
SwaggerHub API Auto Mocking
user_code | string | required | |
trip_id | string | optional |
curl --request GET \
--url /api/v1//news?user_code={user_code}&trip_id={trip_id}
object | object | ||
active | boolean | optional | |
response | array[object] | optional | |
title | string | optional | |
link | string | optional | |
published | string | optional | |
description | string | optional | |
source | string | optional |
xxxxxxxxxx
{
"active": "{boolean}",
"response": [
{
"title": "{string}",
"link": "{string}",
"published": "{string}",
"description": "{string}",
"source": "{string}"
}
]
}
user_code | string | required | |
trip_id | string | required |
xxxxxxxxxx
curl --request GET \
--url /api/v1//scores?user_code={user_code}&trip_id={trip_id}
object | object | ||
active | boolean | optional | |
response | object | optional | |
raw_score | number | optional | |
score | number | optional | |
display_score | string | optional | |
description | string | optional | |
percentile | number | optional |
xxxxxxxxxx
{
"active": "{boolean}",
"response": {
"raw_score": "{number}",
"score": "{number}",
"display_score": "{string}",
"description": "{string}",
"percentile": "{number}"
}
}
location_type | string | Enum: | required |
s | string | required |
xxxxxxxxxx
curl --request GET \
--url /api/v1//locations?location_type={location_type}&s={s}
object | object | ||
active | boolean | optional | |
response | array[object] | optional | |
id | string | optional | |
name | string | optional | |
state | string | optional | |
city | string | optional | |
county | string | optional | |
country | string | optional |
xxxxxxxxxx
{
"active": "{boolean}",
"response": [
{
"id": "{string}",
"name": "{string}",
"state": "{string}",
"city": "{string}",
"county": "{string}",
"country": "{string}"
}
]
}
object | object | required | |
string | pattern: | required |
xxxxxxxxxx
curl --request POST \
--url /api/v1//signup \
--data '{
"email": "{string}"
}'
No response body |
xxxxxxxxxx
No response
object | object | required | |
string | pattern: | required | |
passcode | string | required |
xxxxxxxxxx
curl --request POST \
--url /api/v1//validate \
--data '{
"email": "{string}",
"passcode": "{string}"
}'
object | object | ||
active | boolean | optional | |
response | object | optional | |
user_code | string | optional |
xxxxxxxxxx
{
"active": "{boolean}",
"response": {
"user_code": "{string}"
}
}
object | object | ||
string | pattern: | optional |
xxxxxxxxxx
curl --request POST \
--url /api/v1//optout \
--data '{
"email": "{string}"
}'
No response body |
xxxxxxxxxx
No response
user_code | string | required | |
trip_id | string | optional |
xxxxxxxxxx
curl --request GET \
--url /api/v1//trips?user_code={user_code}&trip_id={trip_id}
object | object | ||
active | boolean | optional | |
response | array[object] | optional | |
start | string | pattern: | required |
end | string | pattern: | required |
rideshare | boolean | required | |
purpose | string | required | |
airports | array[object] | required | |
city | string | optional | |
county | string | optional | |
state | string | optional | |
country | string | optional | |
code | string | required | |
name | string | optional | |
prospective | boolean | optional | |
home | object | optional | |
city | string | required | |
county | string | optional | |
state | string | optional | |
country | string | required | |
id | string | required | |
cities | array[object] | required | |
city | string | required | |
county | string | optional | |
state | string | optional | |
country | string | required | |
id | string | required |
xxxxxxxxxx
{
"active": "{boolean}",
"response": [
{
"start": "{string}",
"end": "{string}",
"rideshare": "{boolean}",
"purpose": "{string}",
"airports": [
{
"city": "{string}",
"county": "{string}",
"state": "{string}",
"country": "{string}",
"code": "{string}",
"name": "{string}"
}
],
"prospective": "{boolean}",
"home": {
"city": "{string}",
"county": "{string}",
"state": "{string}",
"country": "{string}",
"id": "{string}"
},
"cities": [
{
"city": "{string}",
"county": "{string}",
"state": "{string}",
"country": "{string}",
"id": "{string}"
}
]
}
]
}
object | object | required | |
user_code | string | required | |
trips | array[object] | required | |
start | string | pattern: | required |
end | string | pattern: | required |
rideshare | boolean | required | |
purpose | string | required | |
airports | array[object] | required | |
city | string | optional | |
county | string | optional | |
state | string | optional | |
country | string | optional | |
code | string | required | |
name | string | optional | |
prospective | boolean | optional | |
home | object | optional | |
city | string | required | |
county | string | optional | |
state | string | optional | |
country | string | required | |
id | string | required | |
cities | array[object] | required | |
city | string | required | |
county | string | optional | |
state | string | optional | |
country | string | required | |
id | string | required |
xxxxxxxxxx
curl --request POST \
--url /api/v1//trips \
--data '{
"user_code": "{string}",
"trips": [
{
"start": "{string}",
"end": "{string}",
"rideshare": "{boolean}",
"purpose": "{string}",
"airports": [
{
"city": "{string}",
"county": "{string}",
"state": "{string}",
"country": "{string}",
"code": "{string}",
"name": "{string}"
}
],
"prospective": "{boolean}",
"home": {
"city": "{string}",
"county": "{string}",
"state": "{string}",
"country": "{string}",
"id": "{string}"
},
"cities": [
{
"city": "{string}",
"county": "{string}",
"state": "{string}",
"country": "{string}",
"id": "{string}"
}
]
}
]
}'
object | object | ||
active | boolean | optional | |
response | array | optional | |
start | string | pattern: | required |
end | string | pattern: | required |
rideshare | boolean | required | |
purpose | string | required | |
airports | array[object] | required | |
city | string | optional | |
county | string | optional | |
state | string | optional | |
country | string | optional | |
code | string | required | |
name | string | optional | |
prospective | boolean | optional | |
home | object | optional | |
city | string | required | |
county | string | optional | |
state | string | optional | |
country | string | required | |
id | string | required | |
cities | array[object] | required | |
city | string | required | |
county | string | optional | |
state | string | optional | |
country | string | required | |
id | string | required | |
id | string | required |
xxxxxxxxxx
{
"active": "{boolean}",
"response": [
{
"start": "{string}",
"end": "{string}",
"rideshare": "{boolean}",
"purpose": "{string}",
"airports": [
{
"city": "{string}",
"county": "{string}",
"state": "{string}",
"country": "{string}",
"code": "{string}",
"name": "{string}"
}
],
"prospective": "{boolean}",
"home": {
"city": "{string}",
"county": "{string}",
"state": "{string}",
"country": "{string}",
"id": "{string}"
},
"cities": [
{
"city": "{string}",
"county": "{string}",
"state": "{string}",
"country": "{string}",
"id": "{string}"
}
],
"id": "{string}"
}
]
}