Download OpenAPI specification:
REST API to create, read, update, and delete Glint Solar projects, parcels, contacts, and organizations.
Authentication uses a Personal Access Token sent in the X-API-Key header. See the Get Started guide.
Returns all organizations the authenticated user has access to.
curl -X GET "https://api.glintsolar.com/organizations/v1" \ -H "X-API-Key: YOUR_PERSONAL_ACCESS_TOKEN"
[- {
- "id": "string",
- "name": "string"
}
]Returns all portfolios in an organization that the user has access to.
| orgId required | string Organization ID |
curl -X GET "https://api.glintsolar.com/portfolios/v1?orgId=YOUR_ORG_ID" \ -H "X-API-Key: YOUR_PERSONAL_ACCESS_TOKEN"
[- {
- "org_id": "string",
- "id": "string",
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z"
}
]Returns all users in an organization, including organization members and guest users with portfolio access.
| orgId required | string Organization ID |
curl -X GET "https://api.glintsolar.com/users/v1?orgId=YOUR_ORG_ID" \ -H "X-API-Key: YOUR_PERSONAL_ACCESS_TOKEN"
[- {
- "uid": "string",
- "email": "user@example.com",
- "name": "string",
- "role": "admin"
}
]Returns all projects in a portfolio with pagination support.
| orgId required | string Organization ID |
| portfolioId required | string Portfolio ID |
| limit | integer [ 1 .. 5000 ] Maximum number of projects to return. |
| startKey | string Pagination cursor from previous response |
curl -X GET "https://api.glintsolar.com/projects/v1?orgId=YOUR_ORG_ID&portfolioId=YOUR_PORTFOLIO_ID" \ -H "X-API-Key: YOUR_PERSONAL_ACCESS_TOKEN"
{- "items": [
- {
- "id": "string",
- "properties": {
- "property1": {
- "date": {
- "start": "2019-08-24"
}, - "labels": [
- "string"
], - "number": 0,
- "people": [
- "string"
], - "select": [
- "string"
], - "text": "string"
}, - "property2": {
- "date": {
- "start": "2019-08-24"
}, - "labels": [
- "string"
], - "number": 0,
- "people": [
- "string"
], - "select": [
- "string"
], - "text": "string"
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "nextKey": "string"
}Creates a new project in a portfolio.
| orgId required | string Organization ID |
| portfolioId required | string Portfolio ID |
required | object |
{- "properties": {
- "name": {
- "text": "string"
}, - "property1": {
- "date": {
- "start": "2019-08-24"
}, - "labels": [
- "string"
], - "number": 0,
- "people": [
- "string"
], - "select": [
- "string"
], - "text": "string"
}, - "property2": {
- "date": {
- "start": "2019-08-24"
}, - "labels": [
- "string"
], - "number": 0,
- "people": [
- "string"
], - "select": [
- "string"
], - "text": "string"
}
}
}{- "id": "string",
- "properties": {
- "property1": {
- "date": {
- "start": "2019-08-24"
}, - "labels": [
- "string"
], - "number": 0,
- "people": [
- "string"
], - "select": [
- "string"
], - "text": "string"
}, - "property2": {
- "date": {
- "start": "2019-08-24"
}, - "labels": [
- "string"
], - "number": 0,
- "people": [
- "string"
], - "select": [
- "string"
], - "text": "string"
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Returns the project schema with available properties for the organization.
| orgId required | string Organization ID |
curl -X GET "https://api.glintsolar.com/projects/v1/schema?orgId=YOUR_ORG_ID" \ -H "X-API-Key: YOUR_PERSONAL_ACCESS_TOKEN"
{- "properties": [
- {
- "id": "string",
- "name": "string",
- "property_type": "text",
- "select": {
- "options": [
- {
- "id": "string",
- "name": "string",
- "color": "string"
}
]
}
}
]
}Updates properties of a project.
| id required | string Project ID |
| orgId required | string Organization ID |
| portfolioId required | string Portfolio ID |
| properties required | object |
{- "properties": {
- "property1": {
- "date": {
- "start": "2019-08-24"
}, - "labels": [
- "string"
], - "number": 0,
- "people": [
- "string"
], - "select": [
- "string"
], - "text": "string"
}, - "property2": {
- "date": {
- "start": "2019-08-24"
}, - "labels": [
- "string"
], - "number": 0,
- "people": [
- "string"
], - "select": [
- "string"
], - "text": "string"
}
}
}{- "id": "string",
- "properties": {
- "property1": {
- "date": {
- "start": "2019-08-24"
}, - "labels": [
- "string"
], - "number": 0,
- "people": [
- "string"
], - "select": [
- "string"
], - "text": "string"
}, - "property2": {
- "date": {
- "start": "2019-08-24"
}, - "labels": [
- "string"
], - "number": 0,
- "people": [
- "string"
], - "select": [
- "string"
], - "text": "string"
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Deletes a project.
| id required | string Project ID |
| orgId required | string Organization ID |
| portfolioId required | string Portfolio ID |
curl -X DELETE "https://api.glintsolar.com/projects/v1/YOUR_ID?orgId=YOUR_ORG_ID&portfolioId=YOUR_PORTFOLIO_ID" \ -H "X-API-Key: YOUR_PERSONAL_ACCESS_TOKEN"
Returns parcels linked to a project within the given portfolio.
| id required | string Project ID |
| orgId required | string Organization ID |
| portfolioId required | string Portfolio ID |
| limit | integer [ 1 .. 5000 ] Maximum number of parcels to return. |
| startKey | string Pagination cursor from previous response |
curl -X GET "https://api.glintsolar.com/projects/v1/YOUR_ID/parcels?orgId=YOUR_ORG_ID&portfolioId=YOUR_PORTFOLIO_ID" \ -H "X-API-Key: YOUR_PERSONAL_ACCESS_TOKEN"
{- "items": [
- {
- "id": "string",
- "properties": {
- "property1": {
- "date": {
- "start": "2019-08-24"
}, - "labels": [
- "string"
], - "number": 0,
- "people": [
- "string"
], - "select": [
- "string"
], - "text": "string"
}, - "property2": {
- "date": {
- "start": "2019-08-24"
}, - "labels": [
- "string"
], - "number": 0,
- "people": [
- "string"
], - "select": [
- "string"
], - "text": "string"
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "nextKey": "string"
}Returns contacts linked to a project within the given portfolio.
| id required | string Project ID |
| orgId required | string Organization ID |
| portfolioId required | string Portfolio ID |
| limit | integer [ 1 .. 5000 ] Maximum number of contacts to return. |
| startKey | string Pagination cursor from previous response |
curl -X GET "https://api.glintsolar.com/projects/v1/YOUR_ID/contacts?orgId=YOUR_ORG_ID&portfolioId=YOUR_PORTFOLIO_ID" \ -H "X-API-Key: YOUR_PERSONAL_ACCESS_TOKEN"
{- "items": [
- {
- "id": "string",
- "properties": {
- "property1": {
- "date": {
- "start": "2019-08-24"
}, - "labels": [
- "string"
], - "number": 0,
- "people": [
- "string"
], - "select": [
- "string"
], - "text": "string"
}, - "property2": {
- "date": {
- "start": "2019-08-24"
}, - "labels": [
- "string"
], - "number": 0,
- "people": [
- "string"
], - "select": [
- "string"
], - "text": "string"
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "nextKey": "string"
}Links a contact to a project.
| id required | string Project ID |
| orgId required | string Organization ID |
| portfolioId required | string Portfolio ID |
| contactId required | string non-empty |
{- "contactId": "string"
}Unlinks a contact from a project.
| id required | string Project ID |
| contactId required | string Contact ID |
| orgId required | string Organization ID |
| portfolioId required | string Portfolio ID |
curl -X DELETE "https://api.glintsolar.com/projects/v1/YOUR_ID/contacts/YOUR_CONTACT_ID?orgId=YOUR_ORG_ID&portfolioId=YOUR_PORTFOLIO_ID" \ -H "X-API-Key: YOUR_PERSONAL_ACCESS_TOKEN"
Returns the parcel schema with available properties for the organization.
| orgId required | string Organization ID |
curl -X GET "https://api.glintsolar.com/parcels/v1/schema?orgId=YOUR_ORG_ID" \ -H "X-API-Key: YOUR_PERSONAL_ACCESS_TOKEN"
{- "properties": [
- {
- "id": "string",
- "name": "string",
- "property_type": "text",
- "select": {
- "options": [
- {
- "id": "string",
- "name": "string",
- "color": "string"
}
]
}
}
]
}Updates properties of a parcel.
| id required | string Parcel ID |
| orgId required | string Organization ID |
| portfolioId required | string Portfolio ID |
| properties required | object |
{- "properties": {
- "property1": {
- "date": {
- "start": "2019-08-24"
}, - "labels": [
- "string"
], - "number": 0,
- "people": [
- "string"
], - "select": [
- "string"
], - "text": "string"
}, - "property2": {
- "date": {
- "start": "2019-08-24"
}, - "labels": [
- "string"
], - "number": 0,
- "people": [
- "string"
], - "select": [
- "string"
], - "text": "string"
}
}
}{- "id": "string",
- "properties": {
- "property1": {
- "date": {
- "start": "2019-08-24"
}, - "labels": [
- "string"
], - "number": 0,
- "people": [
- "string"
], - "select": [
- "string"
], - "text": "string"
}, - "property2": {
- "date": {
- "start": "2019-08-24"
}, - "labels": [
- "string"
], - "number": 0,
- "people": [
- "string"
], - "select": [
- "string"
], - "text": "string"
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Returns projects linked to a parcel within the given portfolio.
| id required | string Parcel ID |
| orgId required | string Organization ID |
| portfolioId required | string Portfolio ID |
| limit | integer [ 1 .. 5000 ] Maximum number of projects to return. |
| startKey | string Pagination cursor from previous response |
curl -X GET "https://api.glintsolar.com/parcels/v1/YOUR_ID/projects?orgId=YOUR_ORG_ID&portfolioId=YOUR_PORTFOLIO_ID" \ -H "X-API-Key: YOUR_PERSONAL_ACCESS_TOKEN"
{- "items": [
- {
- "id": "string",
- "properties": {
- "property1": {
- "date": {
- "start": "2019-08-24"
}, - "labels": [
- "string"
], - "number": 0,
- "people": [
- "string"
], - "select": [
- "string"
], - "text": "string"
}, - "property2": {
- "date": {
- "start": "2019-08-24"
}, - "labels": [
- "string"
], - "number": 0,
- "people": [
- "string"
], - "select": [
- "string"
], - "text": "string"
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "nextKey": "string"
}Returns contacts linked to a parcel within the given portfolio.
| id required | string Parcel ID |
| orgId required | string Organization ID |
| portfolioId required | string Portfolio ID |
| limit | integer [ 1 .. 5000 ] Maximum number of contacts to return. |
| startKey | string Pagination cursor from previous response |
curl -X GET "https://api.glintsolar.com/parcels/v1/YOUR_ID/contacts?orgId=YOUR_ORG_ID&portfolioId=YOUR_PORTFOLIO_ID" \ -H "X-API-Key: YOUR_PERSONAL_ACCESS_TOKEN"
{- "items": [
- {
- "id": "string",
- "properties": {
- "property1": {
- "date": {
- "start": "2019-08-24"
}, - "labels": [
- "string"
], - "number": 0,
- "people": [
- "string"
], - "select": [
- "string"
], - "text": "string"
}, - "property2": {
- "date": {
- "start": "2019-08-24"
}, - "labels": [
- "string"
], - "number": 0,
- "people": [
- "string"
], - "select": [
- "string"
], - "text": "string"
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "nextKey": "string"
}Links a contact to a parcel.
| id required | string Parcel ID |
| orgId required | string Organization ID |
| portfolioId required | string Portfolio ID |
| contactId required | string non-empty |
{- "contactId": "string"
}Unlinks a contact from a parcel.
| id required | string Parcel ID |
| contactId required | string Contact ID |
| orgId required | string Organization ID |
| portfolioId required | string Portfolio ID |
curl -X DELETE "https://api.glintsolar.com/parcels/v1/YOUR_ID/contacts/YOUR_CONTACT_ID?orgId=YOUR_ORG_ID&portfolioId=YOUR_PORTFOLIO_ID" \ -H "X-API-Key: YOUR_PERSONAL_ACCESS_TOKEN"
Returns all contacts in a portfolio with pagination support.
| orgId required | string Organization ID |
| portfolioId required | string Portfolio ID |
| limit | integer [ 1 .. 5000 ] Maximum number of contacts to return. |
| startKey | string Pagination cursor from previous response |
curl -X GET "https://api.glintsolar.com/contacts/v1?orgId=YOUR_ORG_ID&portfolioId=YOUR_PORTFOLIO_ID" \ -H "X-API-Key: YOUR_PERSONAL_ACCESS_TOKEN"
{- "items": [
- {
- "id": "string",
- "properties": {
- "property1": {
- "date": {
- "start": "2019-08-24"
}, - "labels": [
- "string"
], - "number": 0,
- "people": [
- "string"
], - "select": [
- "string"
], - "text": "string"
}, - "property2": {
- "date": {
- "start": "2019-08-24"
}, - "labels": [
- "string"
], - "number": 0,
- "people": [
- "string"
], - "select": [
- "string"
], - "text": "string"
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "nextKey": "string"
}Creates a new contact in a portfolio.
| orgId required | string Organization ID |
| portfolioId required | string Portfolio ID |
required | object |
{- "properties": {
- "first_name": {
- "text": "string"
}, - "property1": {
- "date": {
- "start": "2019-08-24"
}, - "labels": [
- "string"
], - "number": 0,
- "people": [
- "string"
], - "select": [
- "string"
], - "text": "string"
}, - "property2": {
- "date": {
- "start": "2019-08-24"
}, - "labels": [
- "string"
], - "number": 0,
- "people": [
- "string"
], - "select": [
- "string"
], - "text": "string"
}
}
}{- "id": "string",
- "properties": {
- "property1": {
- "date": {
- "start": "2019-08-24"
}, - "labels": [
- "string"
], - "number": 0,
- "people": [
- "string"
], - "select": [
- "string"
], - "text": "string"
}, - "property2": {
- "date": {
- "start": "2019-08-24"
}, - "labels": [
- "string"
], - "number": 0,
- "people": [
- "string"
], - "select": [
- "string"
], - "text": "string"
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Returns the contact schema with available properties for the organization.
| orgId required | string Organization ID |
curl -X GET "https://api.glintsolar.com/contacts/v1/schema?orgId=YOUR_ORG_ID" \ -H "X-API-Key: YOUR_PERSONAL_ACCESS_TOKEN"
{- "properties": [
- {
- "id": "string",
- "name": "string",
- "property_type": "text",
- "select": {
- "options": [
- {
- "id": "string",
- "name": "string",
- "color": "string"
}
]
}
}
]
}Updates properties of a contact.
| id required | string Contact ID |
| orgId required | string Organization ID |
| portfolioId required | string Portfolio ID |
| properties required | object |
{- "properties": {
- "property1": {
- "date": {
- "start": "2019-08-24"
}, - "labels": [
- "string"
], - "number": 0,
- "people": [
- "string"
], - "select": [
- "string"
], - "text": "string"
}, - "property2": {
- "date": {
- "start": "2019-08-24"
}, - "labels": [
- "string"
], - "number": 0,
- "people": [
- "string"
], - "select": [
- "string"
], - "text": "string"
}
}
}{- "id": "string",
- "properties": {
- "property1": {
- "date": {
- "start": "2019-08-24"
}, - "labels": [
- "string"
], - "number": 0,
- "people": [
- "string"
], - "select": [
- "string"
], - "text": "string"
}, - "property2": {
- "date": {
- "start": "2019-08-24"
}, - "labels": [
- "string"
], - "number": 0,
- "people": [
- "string"
], - "select": [
- "string"
], - "text": "string"
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Deletes a contact.
| id required | string Contact ID |
| orgId required | string Organization ID |
| portfolioId required | string Portfolio ID |
curl -X DELETE "https://api.glintsolar.com/contacts/v1/YOUR_ID?orgId=YOUR_ORG_ID&portfolioId=YOUR_PORTFOLIO_ID" \ -H "X-API-Key: YOUR_PERSONAL_ACCESS_TOKEN"
Returns parcels linked to a contact within the given portfolio.
| id required | string Contact ID |
| orgId required | string Organization ID |
| portfolioId required | string Portfolio ID |
| limit | integer [ 1 .. 5000 ] Maximum number of parcels to return. |
| startKey | string Pagination cursor from previous response |
curl -X GET "https://api.glintsolar.com/contacts/v1/YOUR_ID/parcels?orgId=YOUR_ORG_ID&portfolioId=YOUR_PORTFOLIO_ID" \ -H "X-API-Key: YOUR_PERSONAL_ACCESS_TOKEN"
{- "items": [
- {
- "id": "string",
- "properties": {
- "property1": {
- "date": {
- "start": "2019-08-24"
}, - "labels": [
- "string"
], - "number": 0,
- "people": [
- "string"
], - "select": [
- "string"
], - "text": "string"
}, - "property2": {
- "date": {
- "start": "2019-08-24"
}, - "labels": [
- "string"
], - "number": 0,
- "people": [
- "string"
], - "select": [
- "string"
], - "text": "string"
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "nextKey": "string"
}Returns projects linked to a contact within the given portfolio.
| id required | string Contact ID |
| orgId required | string Organization ID |
| portfolioId required | string Portfolio ID |
| limit | integer [ 1 .. 5000 ] Maximum number of projects to return. |
| startKey | string Pagination cursor from previous response |
curl -X GET "https://api.glintsolar.com/contacts/v1/YOUR_ID/projects?orgId=YOUR_ORG_ID&portfolioId=YOUR_PORTFOLIO_ID" \ -H "X-API-Key: YOUR_PERSONAL_ACCESS_TOKEN"
{- "items": [
- {
- "id": "string",
- "properties": {
- "property1": {
- "date": {
- "start": "2019-08-24"
}, - "labels": [
- "string"
], - "number": 0,
- "people": [
- "string"
], - "select": [
- "string"
], - "text": "string"
}, - "property2": {
- "date": {
- "start": "2019-08-24"
}, - "labels": [
- "string"
], - "number": 0,
- "people": [
- "string"
], - "select": [
- "string"
], - "text": "string"
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "nextKey": "string"
}