Volver al catálogo

GoodAPI: Plant Trees

goodapi_plant_trees

Plant and track trees through GoodAPI's standalone API, retrieve planting evidence, issue eligible tree refunds, and access the organization's impact dashboard.

Acciones
6
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (6)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Create Tree PlantingGOODAPI_PLANT_TREES_CREATE_TREE_PLANTINGAcción

Create a metered tree-planting registration; live API keys can incur charges. Reuse the same idempotency key only when retrying the identical planting.

Parámetros de entrada

  • countintegerObligatorio

    Number of trees to plant; must be at least 1.

  • metadataobject

    Optional JSON metadata for non-sensitive correlation data; do not include personal, payment, or secret values.

  • attributionstring

    Optional non-sensitive label for attributing this planting in later reports and filters.

  • idempotency_keystringObligatorio

    Stable unique key for this exact planting. Reuse it for an identical retry and never reuse it for a different planting.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Aggregate Planting EvidenceGOODAPI_PLANT_TREES_GET_AGGREGATE_PLANTING_EVIDENCEAcción

Return global tree-planting verification totals and field evidence grouped by region. The data is cached for 30 days, can contain a large media list, and is not limited to the connected organization's contributions.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Impact Dashboard URLGOODAPI_PLANT_TREES_GET_IMPACT_DASHBOARD_URLAcción

Return the connected organization's shareable public impact dashboard URL.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Tree Planting EvidenceGOODAPI_PLANT_TREES_GET_TREE_PLANTING_EVIDENCEAcción

Return the beta, 30-day-cached planting lifecycle and sanitized evidence for one registration. This timeline can remain after refund and does not prove that the registration is still active.

Parámetros de entrada

  • registration_idstringObligatorio

    Tree-planting registration ID whose lifecycle evidence to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Tree PlantingsGOODAPI_PLANT_TREES_LIST_TREE_PLANTINGSAcción

Return tree-planting registrations and totals, optionally filtered by registration, attribution, date, or metadata. The provider returns all matches without pagination, so use filters for large histories.

Parámetros de entrada

  • end_datestringdate

    Optional end date in YYYY-MM-DD format for the provider's date filter.

  • attributionstring

    Filter registrations by their attribution label.

  • created_datestringdate

    Filter by creation date in YYYY-MM-DD format.

  • metadata_jsonstring

    Optional JSON-encoded object used to match registration metadata; avoid personal or secret values.

  • registration_idstring

    Return the tree planting with this registration ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Refund Tree PlantingGOODAPI_PLANT_TREES_REFUND_TREE_PLANTINGAcción

Irreversibly refund all or part of an eligible tree planting from the current billing cycle and reduce active totals. Omit count for a full refund; reuse the same idempotency key only for an identical retry.

Parámetros de entrada

  • countinteger

    Number of trees to refund for a partial refund; omit to refund the full eligible registration.

  • reasonstring

    Optional non-sensitive reason for the refund.

  • metadataobject

    Optional JSON metadata for non-sensitive refund correlation; do not include personal, payment, or secret values.

  • idempotency_keystringObligatorio

    Stable unique key for this exact refund. Reuse it for an identical retry and never reuse it for a different refund.

  • registration_idstringObligatorio

    ID of the tree-planting registration to refund.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not