Last updated 2 months ago
This endpoint returns an organization
const response = await fetch('https://api.carbonregistry.com/v1/organizations/{id}', { method: 'GET', headers: { "Authorization": "Bearer <token>" }, }); const data = await response.json();
{ "organization": { "createdAt": "2022-01-01T00:00:00Z", "updatedAt": "2022-01-01T00:00:00Z", "fullName": "Organization 1", "countryCode": "US", "city": "New York", "zip": "10001", "physicalAddress": "123 Main St", "registrationNumber": "123456", "website": "http://example.com", "logo": "logo.png", "id": "123e4567-e89b-12d3-a456-426614174000", "organizationIndustries": { "code": "IND1", "name": "Industry 1" }, "type": "projectProponent", "isPublic": true, "url": "https://api.carbonregistry.com/app/organizations/123e4567-e89b-12d3-a456-426614174000" } }