Introduction
This documentation aims to provide all the information you need to work with our API.
<aside>As you scroll, you'll see code examples for working with the API in different programming languages in the dark area to the right (or as part of the content on mobile).
You can switch the language used with the tabs at the top right (or from the nav menu at the top left on mobile).</aside>
Authenticating requests
To authenticate requests, include an Authorization header with the value "Bearer {YOUR_AUTH_KEY}".
All authenticated endpoints are marked with a requires authentication badge in the documentation below.
You can retrieve your token by visiting your dashboard and clicking Generate API token.
Endpoints
GET api/meta
requires authentication
Example request:
curl --request GET \
--get "https://parcelplan.laravel.cloud/api/meta" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}"const url = new URL(
"https://parcelplan.laravel.cloud/api/meta"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/health
requires authentication
Example request:
curl --request GET \
--get "https://parcelplan.laravel.cloud/api/health" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}"const url = new URL(
"https://parcelplan.laravel.cloud/api/health"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/openapi.json
requires authentication
Example request:
curl --request GET \
--get "https://parcelplan.laravel.cloud/api/openapi.json" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}"const url = new URL(
"https://parcelplan.laravel.cloud/api/openapi.json"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/openapi.json
requires authentication
Example request:
curl --request GET \
--get "https://parcelplan.laravel.cloud/api/v1/openapi.json" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}"const url = new URL(
"https://parcelplan.laravel.cloud/api/v1/openapi.json"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/auth/register
requires authentication
Example request:
curl --request POST \
"https://parcelplan.laravel.cloud/api/v1/auth/register" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}"const url = new URL(
"https://parcelplan.laravel.cloud/api/v1/auth/register"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/auth/login
requires authentication
Example request:
curl --request POST \
"https://parcelplan.laravel.cloud/api/v1/auth/login" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}"const url = new URL(
"https://parcelplan.laravel.cloud/api/v1/auth/login"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/plots
requires authentication
Example request:
curl --request GET \
--get "https://parcelplan.laravel.cloud/api/v1/plots" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}"const url = new URL(
"https://parcelplan.laravel.cloud/api/v1/plots"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/plots/{slug}
requires authentication
Example request:
curl --request GET \
--get "https://parcelplan.laravel.cloud/api/v1/plots/{slug}" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}"const url = new URL(
"https://parcelplan.laravel.cloud/api/v1/plots/{slug}"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/plots/{plot_slug}/summary
requires authentication
Example request:
curl --request GET \
--get "https://parcelplan.laravel.cloud/api/v1/plots/{plot_slug}/summary" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}"const url = new URL(
"https://parcelplan.laravel.cloud/api/v1/plots/{plot_slug}/summary"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/plots/{plot_slug}/geojson
requires authentication
Example request:
curl --request GET \
--get "https://parcelplan.laravel.cloud/api/v1/plots/{plot_slug}/geojson" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}"const url = new URL(
"https://parcelplan.laravel.cloud/api/v1/plots/{plot_slug}/geojson"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/plots/{plot_slug}/geometry
requires authentication
Example request:
curl --request GET \
--get "https://parcelplan.laravel.cloud/api/v1/plots/{plot_slug}/geometry" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}"const url = new URL(
"https://parcelplan.laravel.cloud/api/v1/plots/{plot_slug}/geometry"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/plots/{plot_slug}/location
requires authentication
Example request:
curl --request GET \
--get "https://parcelplan.laravel.cloud/api/v1/plots/{plot_slug}/location" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}"const url = new URL(
"https://parcelplan.laravel.cloud/api/v1/plots/{plot_slug}/location"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/plots/{plot_slug}/dimensions
requires authentication
Example request:
curl --request GET \
--get "https://parcelplan.laravel.cloud/api/v1/plots/{plot_slug}/dimensions" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}"const url = new URL(
"https://parcelplan.laravel.cloud/api/v1/plots/{plot_slug}/dimensions"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/plots/{plot_slug}/soil
requires authentication
Example request:
curl --request GET \
--get "https://parcelplan.laravel.cloud/api/v1/plots/{plot_slug}/soil" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}"const url = new URL(
"https://parcelplan.laravel.cloud/api/v1/plots/{plot_slug}/soil"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/plots/{plot_slug}/terrain
requires authentication
Example request:
curl --request GET \
--get "https://parcelplan.laravel.cloud/api/v1/plots/{plot_slug}/terrain" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}"const url = new URL(
"https://parcelplan.laravel.cloud/api/v1/plots/{plot_slug}/terrain"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/plots/{plot_slug}/climate
requires authentication
Example request:
curl --request GET \
--get "https://parcelplan.laravel.cloud/api/v1/plots/{plot_slug}/climate" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}"const url = new URL(
"https://parcelplan.laravel.cloud/api/v1/plots/{plot_slug}/climate"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/plots/{plot_slug}/water
requires authentication
Example request:
curl --request GET \
--get "https://parcelplan.laravel.cloud/api/v1/plots/{plot_slug}/water" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}"const url = new URL(
"https://parcelplan.laravel.cloud/api/v1/plots/{plot_slug}/water"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/plots/{plot_slug}/land-use
requires authentication
Example request:
curl --request GET \
--get "https://parcelplan.laravel.cloud/api/v1/plots/{plot_slug}/land-use" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}"const url = new URL(
"https://parcelplan.laravel.cloud/api/v1/plots/{plot_slug}/land-use"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/plots/{plot_slug}/accessibility
requires authentication
Example request:
curl --request GET \
--get "https://parcelplan.laravel.cloud/api/v1/plots/{plot_slug}/accessibility" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}"const url = new URL(
"https://parcelplan.laravel.cloud/api/v1/plots/{plot_slug}/accessibility"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/plots/{plot_slug}/pricing
requires authentication
Example request:
curl --request GET \
--get "https://parcelplan.laravel.cloud/api/v1/plots/{plot_slug}/pricing" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}"const url = new URL(
"https://parcelplan.laravel.cloud/api/v1/plots/{plot_slug}/pricing"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/plots
requires authentication
Example request:
curl --request POST \
"https://parcelplan.laravel.cloud/api/v1/plots" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}"const url = new URL(
"https://parcelplan.laravel.cloud/api/v1/plots"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1/plots/{slug}
requires authentication
Example request:
curl --request PUT \
"https://parcelplan.laravel.cloud/api/v1/plots/{slug}" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}"const url = new URL(
"https://parcelplan.laravel.cloud/api/v1/plots/{slug}"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PATCH api/v1/plots/{plot_slug}
requires authentication
Example request:
curl --request PATCH \
"https://parcelplan.laravel.cloud/api/v1/plots/{plot_slug}" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}"const url = new URL(
"https://parcelplan.laravel.cloud/api/v1/plots/{plot_slug}"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "PATCH",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/v1/plots/{slug}
requires authentication
Example request:
curl --request DELETE \
"https://parcelplan.laravel.cloud/api/v1/plots/{slug}" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}"const url = new URL(
"https://parcelplan.laravel.cloud/api/v1/plots/{slug}"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/plots/{restorablePlot_slug}/restore
requires authentication
Example request:
curl --request GET \
--get "https://parcelplan.laravel.cloud/api/v1/plots/{restorablePlot_slug}/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}"const url = new URL(
"https://parcelplan.laravel.cloud/api/v1/plots/{restorablePlot_slug}/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/teams
requires authentication
Example request:
curl --request GET \
--get "https://parcelplan.laravel.cloud/api/v1/teams" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}"const url = new URL(
"https://parcelplan.laravel.cloud/api/v1/teams"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/teams/current
requires authentication
Example request:
curl --request GET \
--get "https://parcelplan.laravel.cloud/api/v1/teams/current" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}"const url = new URL(
"https://parcelplan.laravel.cloud/api/v1/teams/current"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/users/me
requires authentication
Example request:
curl --request GET \
--get "https://parcelplan.laravel.cloud/api/v1/users/me" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}"const url = new URL(
"https://parcelplan.laravel.cloud/api/v1/users/me"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1/users/me
requires authentication
Example request:
curl --request PUT \
"https://parcelplan.laravel.cloud/api/v1/users/me" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}"const url = new URL(
"https://parcelplan.laravel.cloud/api/v1/users/me"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/auth/logout
requires authentication
Example request:
curl --request POST \
"https://parcelplan.laravel.cloud/api/v1/auth/logout" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}"const url = new URL(
"https://parcelplan.laravel.cloud/api/v1/auth/logout"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.