Manage charitable causes — create, update, search, and delete cause records.
Prod: https://byve.ioRetrieve the full list of causes (including inactive and soft-deleted records).
ParametersNone
ResponseRetrieve a single cause by its numeric ID.
Query Parameters| Name | Type | Required | Description |
|---|---|---|---|
| id | int | ✱ required | The unique identifier of the cause. |
Filter causes by ID, name, or deletion status. All fields are optional.
Request Body — CauseSearchInsert a new charitable cause record.
Request Body — CauseUpdate a cause record. The id field must be set to identify the record.
Marks a cause as deleted (soft delete). Pass the cause ID in the request body.
Request BodyRecord and query charitable donations linked to causes.
Prod: https://byve.ioRetrieve every donation record across all causes.
ParametersNone
ResponseSearch donations by cause, donor email, country, currency, or date. All fields are optional.
Request Body — DonationSearchInsert one or more donation records in a single call. Accepts an array of Donation.
Retrieve a user's computed Goodness Quotient score based on their donation history.
Prod:https://byve.io/Returns the computed Goodness Quotient percentage for a given user email. GQ is the average of all donation GQ contributions: (payment_score / 5) × (cause_importance_pct / 100) × 100
| Name | Type | Required | Description |
|---|---|---|---|
| string | ✱ required | Email address of the user whose GQ score is requested. |
usp_RefreshUserGQScore. The lastCalculated field shows when the score was last refreshed.
How to authenticate requests through the API Gateway.
All requests routed through the Ocelot API Gateway must include an API key header:
The gateway validates this key via the API Key middleware before forwarding the request to the downstream service. Direct service calls (bypassing the gateway) use an internal key delegation mechanism.
/openapi/v1.json on each service in Development mode.
Standard response codes returned across all Byve APIs.
| Code | Meaning | When it occurs |
|---|---|---|
| 200 OK | Success | Request processed and data returned. |
| 400 Bad Request | Validation Error | Missing required fields or invalid input. |
| 401 Unauthorized | Auth Failure | Missing or invalid X-Api-Key header. |
| 404 Not Found | Not Found | No record matches the given ID or email. |
| 500 Server Error | Internal Error | Unhandled exception on the server. |