cURL
curl --request GET \ --url https://api.terraspect.earth/project/{project_id} \ --header 'Authorization: Bearer <token>'
200
Example
{ "project_id": "proj_789012", "name": "Kisumu Reforestation Project", "project_currency": "KES", "project_developer": { "project_developer_id": "pd_123456", "project_developer_name": "Green Forest Initiative", "country_code": "KE", "country_name": "Kenya" }}
Get details of a project
Standard access token, in the format Authorization: Bearer <token>
Authorization: Bearer <token>
Unique identifier of the project
Project details successfully retrieved
Unique identifier for the project
"proj_789012"
Official project name
"Kisumu Reforestation Project"
ISO 4217 currency code
"KES"
Show child attributes
Unique identifier for the project developer
"pd_123456"
Official name of the project developer
"Green Forest Initiative"
ISO 3166-1 alpha-2 country code
2
"KE"
Full country name
"Kenya"