Recommendations
Get recommendation details by ID
Quickstart
Endpoints
- Organizations
- Transfers
- Recommendations
- GETGet recommendations created by the current user
- GETGet recommendations for the current user
- GETGet recommendations for a specific fund
- GETGet recommendation details by ID
- POSTCreate a crypto donation recommendation
- POSTCreate a crypto donation recommendation
- POSTCreate a portfolio trade recommendation
- POSTCreate a crypto pledge recommendation
- POSTCreate a stock pledge recommendation (V2)
- PUTDismiss a recommendation
- GET
- Activity
- Funds
- Donation Pledges
Transactions
Subgraph Documentation
Recommendations
Get recommendation details by ID
Retrieves the details of a specific recommendation by its ID.
GET
/
v1
/
recommendations
/
{id}
curl --request GET \
--url https://api.endaoment.org/v1/recommendations/{id} \
--header 'Authorization: Bearer <token>'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"collaboratorFund": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Doe Family Foundation",
"type": "Private",
"manager": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"walletAddress": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e"
},
"chainId": 1,
"deploymentTransactionHash": "0xf89f7da1e5d79dcb1b8863d0926fe41204785b443ce2d1dca4bf50070c492567",
"contractAddress": "0x1234567890123456789012345678901234567890",
"advisor": {
"firstName": "John",
"lastName": "Doe"
},
"featuredIndex": 1,
"usdcBalance": "20500000",
"lastBalanceSyncUtc": "2024-03-14T12:00:00Z",
"description": "A family foundation dedicated to supporting educational initiatives",
"shortDescription": "Supporting education",
"vanityUrl": "doe-family-foundation",
"paypalId": "123e4567-e89b-12d3-a456-426614174000",
"logo": "https://example.com/logo.png",
"createdAtUtc": "2024-01-01T00:00:00Z",
"updatedAtUtc": "2024-03-14T12:00:00Z",
"lifetimeDonationsUsdc": "1000000000",
"staffNotes": "<string>",
"category": "Education",
"grantsGiven": 10,
"inTransitBuyUsdcAmount": "5000000",
"inTransitSellUsdcAmount": "3000000",
"investedUsdc": "50000000",
"totalGrantedUsdc": "25000000",
"processingTransfersTotalUsdc": "1000000",
"illiquidBalance": "10000000"
},
"collaborator": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"collaboratorUserId": "123e4567-e89b-12d3-a456-426614174000",
"fundId": "123e4567-e89b-12d3-a456-426614174000",
"email": "john.doe@example.com",
"firstName": "John",
"lastName": "Doe"
},
"createdAt": "2023-11-07T05:31:56Z",
"status": "Executed",
"type": "grant"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The ID of the recommendation
Response
200
application/json
Recommendation details successfully retrieved
The response is of type object
.
curl --request GET \
--url https://api.endaoment.org/v1/recommendations/{id} \
--header 'Authorization: Bearer <token>'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"collaboratorFund": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Doe Family Foundation",
"type": "Private",
"manager": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"walletAddress": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e"
},
"chainId": 1,
"deploymentTransactionHash": "0xf89f7da1e5d79dcb1b8863d0926fe41204785b443ce2d1dca4bf50070c492567",
"contractAddress": "0x1234567890123456789012345678901234567890",
"advisor": {
"firstName": "John",
"lastName": "Doe"
},
"featuredIndex": 1,
"usdcBalance": "20500000",
"lastBalanceSyncUtc": "2024-03-14T12:00:00Z",
"description": "A family foundation dedicated to supporting educational initiatives",
"shortDescription": "Supporting education",
"vanityUrl": "doe-family-foundation",
"paypalId": "123e4567-e89b-12d3-a456-426614174000",
"logo": "https://example.com/logo.png",
"createdAtUtc": "2024-01-01T00:00:00Z",
"updatedAtUtc": "2024-03-14T12:00:00Z",
"lifetimeDonationsUsdc": "1000000000",
"staffNotes": "<string>",
"category": "Education",
"grantsGiven": 10,
"inTransitBuyUsdcAmount": "5000000",
"inTransitSellUsdcAmount": "3000000",
"investedUsdc": "50000000",
"totalGrantedUsdc": "25000000",
"processingTransfersTotalUsdc": "1000000",
"illiquidBalance": "10000000"
},
"collaborator": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"collaboratorUserId": "123e4567-e89b-12d3-a456-426614174000",
"fundId": "123e4567-e89b-12d3-a456-426614174000",
"email": "john.doe@example.com",
"firstName": "John",
"lastName": "Doe"
},
"createdAt": "2023-11-07T05:31:56Z",
"status": "Executed",
"type": "grant"
}