Log a contribution, or update one you sent before by sending its external ID again.
Request
curl https://api.equitymatrix.io/v1/contributions \
-H "Authorization: Bearer $EQUITY_MATRIX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"memberEmail": "ana@example.com",
"type": "TIME",
"value": 3.5,
"date": "2026-09-30",
"description": "Q3 close",
"externalId": "harvest:time_entry:2291837"
}'
| Field | Required | Description |
|---|---|---|
memberId | Exactly one of memberId or memberEmail | The member’s id from List members. |
memberEmail | Exactly one of memberId or memberEmail | The member’s email, matched without regard to case. |
type | Yes | TIME, CASH, COMMISSION or ROYALTY. |
value | Yes | Hours for TIME, an amount in your organization’s currency otherwise. Greater than 0, at most 2 decimal places. |
date | Yes | The day of the contribution, as YYYY-MM-DD. It can’t be in the future. A date one day ahead of today in UTC is allowed, for callers whose day has already started. |
description | No | Up to 500 characters. Spaces at the start and end are removed. |
externalId | No, but send it from any sync | The record’s ID in the other system. See Syncing with external IDs. |
What happens
- No
externalId, or one Equity Matrix hasn’t seen: creates a contribution and returns201with"result": "created". - An
externalIdthat matches an active contribution: replaces it with what you sent, recalculates slices with your current multiplier, and returns200with"result": "updated". Fields you leave out are cleared. - Nothing changed, slices included: returns
200with"result": "unchanged".
On an update, a TIME contribution that stays with the same member keeps the hourly rate stored on it. If the update moves it to a different member, or changes another type to TIME, it takes that member’s current hourly rate. See Contributions and slices.
Response
{
"result": "created",
"contribution": {
"id": 1842,
"externalId": "harvest:time_entry:2291837",
"memberId": 57,
"memberName": "Ana Lopez",
"type": "TIME",
"value": 3.5,
"date": "2026-09-30",
"description": "Q3 close",
"hourlyRate": 85,
"multiplier": 2,
"slices": 595,
"source": "API",
"apiKeyName": "Harvest",
"createdAt": "2026-09-30T18:04:11Z",
"updatedAt": "2026-09-30T18:04:11Z"
}
}
slices is value × hourlyRate × multiplier for TIME, and value × multiplier for the other types. hourlyRate is null for types other than TIME.
Errors
A 422 with fields for invalid input. See Errors for the full list.