API docs / API reference

Get a contribution

GET/v1/contributions/{id}

One contribution, by its Equity Matrix ID.

Request

curl https://api.equitymatrix.io/v1/contributions/1842 \
  -H "Authorization: Bearer $EQUITY_MATRIX_API_KEY"

To look one up by its external ID instead, use List contributions with externalId.

Response

200 with the contribution, in the same shape as Create or update a contribution. It’s shortened here:

{
  "contribution": {
    "id": 1842,
    "externalId": "harvest:time_entry:2291837",
    "memberId": 57,
    "type": "TIME",
    "value": 3.5,
    "slices": 595
  }
}

A contribution that doesn’t exist, was deleted, or belongs to another organization returns a 404.