Retrieve your company
Your company with its tree totals by status, the number of unassigned trees and counts of projects, plantings, recipients and certificates. The successor of GET /v1/get-stats.
Scope: company:read.
Authorization
bearerAuth A Platform API token, wyc_live_... or wyc_test_..., created at Settings > API tokens in the dashboard.
In: header
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/company"{ "id": "cmp_8Kf3xQ9mLp2vT7wZbN4cR1yH", "object": "company", "livemode": true, "name": "Example B.V.", "slug": "example", "status": "active", "plan": "automate", "country": "NL", "website_url": "https://example.com", "logo_url": "https://woodyou.care/storage/companies/example/logo.png", "public_page_url": "https://woodyou.care/companies/example", "trees": { "total": 1250, "pledged": 250, "planted": 400, "monitored": 600 }, "trees_unassigned": 312, "counts": { "projects": 3, "plantings": 7, "recipients": 938, "certificates": 939 }, "first_contribution_at": "2021-03-08T10:12:00Z", "created_at": "2021-03-08T10:12:00Z", "updated_at": "2026-09-28T09:00:00Z"}Retrieve the current token GET
Who the token belongs to, which scopes it has and your rate limits. Works with every scope; use it to check a token.
List allocations GET
Allocations of your company, newest first. One allocation is a number of trees from one planting. Filters: `status`, `project`, `planting`, `recipient`, `source`, `updated_since`, `created_since`. Expand `planting`, `project` or `recipient` to include them. Live tokens see everything except test allocations; test tokens see the same plus their own test allocations. Scope: `allocations:read`.