List Grants for a Contact
curl --request GET \
--url https://api.virtuoussoftware.com/api/Grant/ByContact/{contactId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.virtuoussoftware.com/api/Grant/ByContact/{contactId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.virtuoussoftware.com/api/Grant/ByContact/{contactId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)using RestSharp;
var options = new RestClientOptions("https://api.virtuoussoftware.com/api/Grant/ByContact/{contactId}");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.virtuoussoftware.com/api/Grant/ByContact/{contactId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}HttpResponse<String> response = Unirest.get("https://api.virtuoussoftware.com/api/Grant/ByContact/{contactId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.virtuoussoftware.com/api/Grant/ByContact/{contactId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyconst url = 'https://api.virtuoussoftware.com/api/Grant/ByContact/{contactId}';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));{
"list": [
{
"id": 950012,
"grantUrl": "https://api.virtuoussoftware.com/api/Grant/950012",
"giftsAppliedUrl": "https://api.virtuoussoftware.com/api/Grant/950012/Gifts",
"ownerId": 5001,
"title": "Aspen Family Foundation — Capital Campaign Grant 2025",
"grantingOrganizationId": 102301,
"grantingOrganizationUrl": "https://api.virtuoussoftware.com/api/Contact/102301",
"description": "Restricted grant supporting Phase II facility renovation.",
"referenceId": "ASPEN-2025-CAP",
"receivingOrganizationId": null,
"receivingOrganizationUrl": null,
"projectUrl": "https://api.virtuoussoftware.com/api/Project/1503",
"projectId": 1503,
"project": "Building Renovation",
"dueDateUtc": "2025-05-01T00:00:00Z",
"totalAnticipatedAmount": 50000,
"status": "Awarded",
"submissionDateUtc": "2025-04-20T00:00:00Z",
"anticipatedAwardDateUtc": "2025-06-01T00:00:00Z",
"pointOfContactName": "Grants Office",
"pointOfContactEmail": "grants@aspenfoundation.example.org",
"pointOfContactPhone": "(555) 012-3800",
"website": "https://www.aspenfoundation.example.org",
"awardedGrant": true,
"awardedAmount": 50000,
"awardedDateUtc": "2025-06-20T00:00:00Z",
"awardTerms": "Restricted to Phase II facility renovation; narrative and financial report due within 12 months.",
"grantType": "Foundation",
"createDateTimeUtc": "2025-04-20T10:00:00Z",
"createdByUser": "Grants Team",
"modifiedDateTimeUtc": "2025-06-20T14:30:00Z",
"modifiedByUser": "Grants Team",
"customFields": []
},
{
"id": 950018,
"grantUrl": "https://api.virtuoussoftware.com/api/Grant/950018",
"giftsAppliedUrl": "https://api.virtuoussoftware.com/api/Grant/950018/Gifts",
"ownerId": 5001,
"title": "Aspen Family Foundation — Holiday Meals Grant 2025",
"grantingOrganizationId": 102301,
"grantingOrganizationUrl": "https://api.virtuoussoftware.com/api/Contact/102301",
"description": "Grant request to fund holiday meal distribution for 500 families.",
"referenceId": "ASPEN-2025-HM",
"receivingOrganizationId": null,
"receivingOrganizationUrl": null,
"projectUrl": "https://api.virtuoussoftware.com/api/Project/1501",
"projectId": 1501,
"project": "Holiday Meals 2025",
"dueDateUtc": "2025-11-30T00:00:00Z",
"totalAnticipatedAmount": 25000,
"status": "Submitted",
"submissionDateUtc": "2025-11-15T00:00:00Z",
"anticipatedAwardDateUtc": "2025-12-15T00:00:00Z",
"pointOfContactName": "Grants Office",
"pointOfContactEmail": "grants@aspenfoundation.example.org",
"pointOfContactPhone": "(555) 012-3800",
"website": "https://www.aspenfoundation.example.org",
"awardedGrant": false,
"awardedAmount": null,
"awardedDateUtc": null,
"awardTerms": null,
"grantType": "Foundation",
"createDateTimeUtc": "2025-11-15T16:55:00Z",
"createdByUser": "Partner Integration",
"modifiedDateTimeUtc": "2025-11-15T16:55:00Z",
"modifiedByUser": "Partner Integration",
"customFields": []
}
],
"total": 8
}{
"message": "Authorization has been denied for this request."
}{
"message": "You do not have permission to perform this action."
}{
"message": "Rate limit exceeded. Try again later."
}Grants
List Grants for a Contact
Returns the grants recorded for the contact, whether they are the granting organization or the recipient. Use skip and take to page through the results.
GET
/
api
/
Grant
/
ByContact
/
{contactId}
List Grants for a Contact
curl --request GET \
--url https://api.virtuoussoftware.com/api/Grant/ByContact/{contactId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.virtuoussoftware.com/api/Grant/ByContact/{contactId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.virtuoussoftware.com/api/Grant/ByContact/{contactId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)using RestSharp;
var options = new RestClientOptions("https://api.virtuoussoftware.com/api/Grant/ByContact/{contactId}");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.virtuoussoftware.com/api/Grant/ByContact/{contactId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}HttpResponse<String> response = Unirest.get("https://api.virtuoussoftware.com/api/Grant/ByContact/{contactId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.virtuoussoftware.com/api/Grant/ByContact/{contactId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyconst url = 'https://api.virtuoussoftware.com/api/Grant/ByContact/{contactId}';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));{
"list": [
{
"id": 950012,
"grantUrl": "https://api.virtuoussoftware.com/api/Grant/950012",
"giftsAppliedUrl": "https://api.virtuoussoftware.com/api/Grant/950012/Gifts",
"ownerId": 5001,
"title": "Aspen Family Foundation — Capital Campaign Grant 2025",
"grantingOrganizationId": 102301,
"grantingOrganizationUrl": "https://api.virtuoussoftware.com/api/Contact/102301",
"description": "Restricted grant supporting Phase II facility renovation.",
"referenceId": "ASPEN-2025-CAP",
"receivingOrganizationId": null,
"receivingOrganizationUrl": null,
"projectUrl": "https://api.virtuoussoftware.com/api/Project/1503",
"projectId": 1503,
"project": "Building Renovation",
"dueDateUtc": "2025-05-01T00:00:00Z",
"totalAnticipatedAmount": 50000,
"status": "Awarded",
"submissionDateUtc": "2025-04-20T00:00:00Z",
"anticipatedAwardDateUtc": "2025-06-01T00:00:00Z",
"pointOfContactName": "Grants Office",
"pointOfContactEmail": "grants@aspenfoundation.example.org",
"pointOfContactPhone": "(555) 012-3800",
"website": "https://www.aspenfoundation.example.org",
"awardedGrant": true,
"awardedAmount": 50000,
"awardedDateUtc": "2025-06-20T00:00:00Z",
"awardTerms": "Restricted to Phase II facility renovation; narrative and financial report due within 12 months.",
"grantType": "Foundation",
"createDateTimeUtc": "2025-04-20T10:00:00Z",
"createdByUser": "Grants Team",
"modifiedDateTimeUtc": "2025-06-20T14:30:00Z",
"modifiedByUser": "Grants Team",
"customFields": []
},
{
"id": 950018,
"grantUrl": "https://api.virtuoussoftware.com/api/Grant/950018",
"giftsAppliedUrl": "https://api.virtuoussoftware.com/api/Grant/950018/Gifts",
"ownerId": 5001,
"title": "Aspen Family Foundation — Holiday Meals Grant 2025",
"grantingOrganizationId": 102301,
"grantingOrganizationUrl": "https://api.virtuoussoftware.com/api/Contact/102301",
"description": "Grant request to fund holiday meal distribution for 500 families.",
"referenceId": "ASPEN-2025-HM",
"receivingOrganizationId": null,
"receivingOrganizationUrl": null,
"projectUrl": "https://api.virtuoussoftware.com/api/Project/1501",
"projectId": 1501,
"project": "Holiday Meals 2025",
"dueDateUtc": "2025-11-30T00:00:00Z",
"totalAnticipatedAmount": 25000,
"status": "Submitted",
"submissionDateUtc": "2025-11-15T00:00:00Z",
"anticipatedAwardDateUtc": "2025-12-15T00:00:00Z",
"pointOfContactName": "Grants Office",
"pointOfContactEmail": "grants@aspenfoundation.example.org",
"pointOfContactPhone": "(555) 012-3800",
"website": "https://www.aspenfoundation.example.org",
"awardedGrant": false,
"awardedAmount": null,
"awardedDateUtc": null,
"awardTerms": null,
"grantType": "Foundation",
"createDateTimeUtc": "2025-11-15T16:55:00Z",
"createdByUser": "Partner Integration",
"modifiedDateTimeUtc": "2025-11-15T16:55:00Z",
"modifiedByUser": "Partner Integration",
"customFields": []
}
],
"total": 8
}{
"message": "Authorization has been denied for this request."
}{
"message": "You do not have permission to perform this action."
}{
"message": "Rate limit exceeded. Try again later."
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
(Required) The contact identifier.
Query Parameters
The number of records to skip. Default = 0.
The number of records to take. Default = 10.
Last modified on August 11, 2026
Was this page helpful?
⌘I