Virtuous

App · 28 actions

Manage contacts, individuals, notes and tags, and record and look up gifts in Virtuous CRM.

Actions

ActionWhat it does
Add an email or phoneAdd an email address, phone number or other contact method to an individual.
Archive a contactArchive a contact, hiding it from everyday lists.
Create a contactCreate a household, organization or other contact with its main individual.
Create a noteAdd a note to a contact.
Create an individualAdd a person to a contact.
Delete a noteDelete a note.
Delete an email or phoneRemove an email address, phone number or other contact method.
Delete an individualRemove a person from a contact.
Find a contact by emailFind the contact with an email address.
Get a contactGet a contact with its individuals, address and giving totals.
Get a giftGet a gift with its designations.
Get an individualGet one person on a contact.
Get the current organizationGet the organization the API key belongs to.
List a contact's giftsList a contact's gifts, newest first.
List a contact's individualsList the people who belong to a contact.
List a contact's notesList the notes on a contact, newest first.
List a contact's tagsList the tags on a contact.
List contact method typesList the kinds of email address and phone number your organization records, such as Home Email.
List contact typesList the kinds of contact your organization uses, such as Household.
List recent giftsList the most recently entered gifts across all contacts.
List tagsList the tags contacts can have.
Record a giftSend a gift into Virtuous's gift import, which matches it to a contact, or creates one, for review.
Remove a tag from a contactTake a tag off a contact.
Search contactsFind contacts whose name, email, phone or address matches some text.
Tag a contactAdd a tag to a contact.
Unarchive a contactBring an archived contact back.
Update a contactChange a contact's details.
Update an individualChange a person's details.

Add an email or phone

Add an email address, phone number or other contact method to an individual.

Inputs

Individual IDindividual_idnumberRequired
The ID of the individual.
TypetypetextRequired
The kind of contact method, such as Home Email or Mobile Phone.
ValuevaluetextRequired
The email address or phone number.
Opted inis_opted_intrue/false
Whether the person agreed to be contacted this way.
Make primaryset_as_primarytrue/false
Whether this becomes the person's main method of its kind.

Outputs

dataobject
The response from Virtuous.
Example output
{
  "data": {
    "canBePrimary": false,
    "createDateTimeUtc": "example",
    "createdByUser": "example",
    "id": 1,
    "isOptedIn": false,
    "isPrimary": false,
    "modifiedByUser": "example",
    "modifiedDateTimeUtc": "example",
    "type": "example",
    "value": "example"
  }
}

Archive a contact

Archive a contact, hiding it from everyday lists.

Inputs

Contact IDcontact_idnumberRequired
The ID of the contact to archive.

Outputs

dataobject
The response from Virtuous.
Example output
{
  "data": {}
}

Create a contact

Create a household, organization or other contact with its main individual. It doesn't check for duplicates.

Inputs

Contact typecontact_typetextRequired
The kind of contact, such as Household or Organization.
NamenametextRequired
The contact's name, such as The Smith Household or Acme Corp.
Informal nameinformal_nametext
A friendlier name to address them by.
Descriptiondescriptiontext
A description of the contact.
Websitewebsitetext
The contact's website.
Reference sourcereference_sourcetext
The name of another system this contact comes from, used with Reference ID.
Reference IDreference_idtext
The contact's ID in that other system.
First namefirst_nametext
The first name of the contact's main individual.
Last namelast_nametext
The last name of the contact's main individual.
Street addressaddress1text
The first line of the contact's address.
Address line 2address2text
The second line of the contact's address.
Citycitytext
The city of the contact's address.
Statestate_codetext
The state or region code, such as CA.
Postal codepostaltext
The postal or ZIP code.
Countrycountry_codetext
The two-letter country code, such as US.
Privateis_privatetrue/false
Whether only some users can see the contact.

Outputs

dataobject
The response from Virtuous.
Example output
{
  "data": {
    "address": {
      "address1": "example",
      "address2": "example",
      "canBePrimary": false,
      "city": "example",
      "country": "example",
      "endDay": 1,
      "endMonth": 1,
      "id": 1,
      "isPrimary": false,
      "label": "example",
      "postal": "example",
      "startDay": 1,
      "startMonth": 1,
      "state": "example"
    },
    "anniversaryDay": 1,
    "anniversaryMonth": 1,
    "anniversaryYear": 1,
    "contactGiftsUrl": "example",
    "contactImportantNotesUrl": "example",
    "contactIndividuals": [],
    "contactNotesUrl": "example",
    "contactPassthroughGiftsUrl": "example",
    "contactPlannedGiftsUrl": "example",
    "contactRecurringGiftsUrl": "example",
    "contactReferences": [],
    "contactRelationshipsUrl": "example",
    "contactTagsUrl": "example",
    "contactType": "example",
    "createDateTimeUtc": "example",
    "createdByUser": "example",
    "customCollections": [],
    "customFields": [],
    "description": "example",
    "giftAskAmount": "example",
    "giftAskType": "example",
    "id": 1,
    "informalName": "example",
    "isCurrentUserFollowing": false,
    "isPrivate": false,
    "lastGiftAmount": "example",
    "lastGiftDate": "example",
    "lifeToDateGiving": "example",
    "maritalStatus": "example",
    "mergedIntoContactId": 1,
    "modifiedByUser": "example",
    "modifiedDateTimeUtc": "example",
    "name": "example",
    "organizationGroups": [],
    "originSegment": "example",
    "originSegmentId": 1,
    "primaryAvatarUrl": "example",
    "tags": [],
    "website": "example",
    "yearToDateGiving": "example"
  }
}

Create a note

Add a note to a contact.

Inputs

Contact IDcontact_idnumberRequired
The ID of the contact.
NotenotetextRequired
The note's text.
Typetypetext
The note's type exactly as set up in Virtuous, such as General.
Datenote_datedate and time
When the conversation or event the note records happened.
Importantimportanttrue/false
Whether to mark the note as important.
Privateprivatetrue/false
Whether only you can see the note.

Outputs

dataobject
The response from Virtuous.
Example output
{
  "data": {
    "contactId": 1,
    "createDateTimeUtc": "example",
    "createdByAvatarUrl": "example",
    "createdByUser": "example",
    "id": 1,
    "important": false,
    "isPrivate": false,
    "modifiedByUser": "example",
    "modifiedDateTimeUtc": "example",
    "note": "example",
    "noteDate": "example",
    "reminder": {
      "canComplete": false,
      "canCompleteWithNote": false,
      "completeActionName": "example",
      "completeUrl": "example",
      "contactAvatarUrl": "example",
      "contactDisplayName": "example",
      "contactId": 1,
      "contactViewUrl": "example",
      "description": "example",
      "dismissUrl": "example",
      "hasContact": false,
      "id": 1,
      "isPastDue": false,
      "isUnresolved": false,
      "message": "example",
      "owner": "example",
      "ownerAvatarUrl": "example",
      "reminderType": "example",
      "reminderTypeDisplayName": "example",
      "targetDate": "example",
      "targetResolutionDateUtc": "example",
      "taskStatus": "example",
      "taskStatusDisplayName": "example"
    },
    "type": "example"
  }
}

Create an individual

Add a person to a contact.

Inputs

Contact IDcontact_idnumberRequired
The ID of the contact the person belongs to.
First namefirst_nametextRequired
The person's first name.
Last namelast_nametextRequired
The person's last name.
Prefixprefixtext
A title before the name, such as Dr.
Middle namemiddle_nametext
The person's middle name.
Suffixsuffixtext
A suffix after the name, such as Jr.
Gendergendertext
The person's gender.
Birth monthbirth_monthnumber
The month the person was born, 1 to 12.From 1 to 12.
Birth daybirth_daynumber
The day of the month the person was born.From 1 to 31.
Birth yearbirth_yearnumber
The year the person was born.At least 1900.
Passionpassiontext
What the person cares about most.
Make primaryset_as_primarytrue/false
Whether this person becomes the contact's main individual.

Outputs

dataobject
The response from Virtuous.
Example output
{
  "data": {
    "approximateAge": 1,
    "avatarUrl": "example",
    "birthDate": "example",
    "birthDay": 1,
    "birthMonth": 1,
    "birthYear": 1,
    "canBePrimary": false,
    "canBeSecondary": false,
    "contactId": 1,
    "contactMethods": [],
    "createDateTimeUtc": "example",
    "createdByUser": "example",
    "customCollections": [],
    "customFields": [],
    "firstName": "example",
    "gender": "example",
    "id": 1,
    "isDeceased": false,
    "isPrimary": false,
    "isSecondary": false,
    "lastName": "example",
    "middleName": "example",
    "modifiedByUser": "example",
    "modifiedDateTimeUtc": "example",
    "passion": "example",
    "prefix": "example",
    "suffix": "example"
  }
}

Delete a note

Delete a note. This can't be undone.

Inputs

Note IDnote_idnumberRequired
The ID of the note to delete.

Outputs

dataobject
The response from Virtuous.
Example output
{
  "data": {}
}

Delete an email or phone

Remove an email address, phone number or other contact method.

Inputs

Contact method IDcontact_method_idnumberRequired
The ID of the contact method to delete.

Outputs

dataobject
The response from Virtuous.
Example output
{
  "data": {}
}

Delete an individual

Remove a person from a contact. This can't be undone.

Inputs

Individual IDindividual_idnumberRequired
The ID of the individual to delete.

Outputs

dataobject
The response from Virtuous.
Example output
{
  "data": {}
}

Find a contact by email

Find the contact with an email address.

Inputs

EmailemailtextRequired
The email address to look for.

Outputs

dataobject
The response from Virtuous.
Example output
{
  "data": {
    "address": {
      "address1": "example",
      "address2": "example",
      "canBePrimary": false,
      "city": "example",
      "country": "example",
      "endDay": 1,
      "endMonth": 1,
      "id": 1,
      "isPrimary": false,
      "label": "example",
      "postal": "example",
      "startDay": 1,
      "startMonth": 1,
      "state": "example"
    },
    "anniversaryDay": 1,
    "anniversaryMonth": 1,
    "anniversaryYear": 1,
    "contactGiftsUrl": "example",
    "contactImportantNotesUrl": "example",
    "contactIndividuals": [],
    "contactNotesUrl": "example",
    "contactPassthroughGiftsUrl": "example",
    "contactPlannedGiftsUrl": "example",
    "contactRecurringGiftsUrl": "example",
    "contactReferences": [],
    "contactRelationshipsUrl": "example",
    "contactTagsUrl": "example",
    "contactType": "example",
    "createDateTimeUtc": "example",
    "createdByUser": "example",
    "customCollections": [],
    "customFields": [],
    "description": "example",
    "giftAskAmount": "example",
    "giftAskType": "example",
    "id": 1,
    "informalName": "example",
    "isPrivate": false,
    "lastGiftAmount": "example",
    "lastGiftDate": "example",
    "lifeToDateGiving": "example",
    "maritalStatus": "example",
    "mergedIntoContactId": 1,
    "modifiedByUser": "example",
    "modifiedDateTimeUtc": "example",
    "name": "example",
    "organizationGroups": [],
    "originSegment": "example",
    "originSegmentId": 1,
    "primaryAvatarUrl": "example",
    "tags": [],
    "website": "example",
    "yearToDateGiving": "example"
  }
}

Get a contact

Get a contact with its individuals, address and giving totals.

Inputs

Contact IDcontact_idnumberRequired
The ID of the contact.

Outputs

dataobject
The response from Virtuous.
Example output
{
  "data": {
    "address": {
      "address1": "example",
      "address2": "example",
      "canBePrimary": false,
      "city": "example",
      "country": "example",
      "endDay": 1,
      "endMonth": 1,
      "id": 1,
      "isPrimary": false,
      "label": "example",
      "postal": "example",
      "startDay": 1,
      "startMonth": 1,
      "state": "example"
    },
    "anniversaryDay": 1,
    "anniversaryMonth": 1,
    "anniversaryYear": 1,
    "contactGiftsUrl": "example",
    "contactImportantNotesUrl": "example",
    "contactIndividuals": [],
    "contactNotesUrl": "example",
    "contactPassthroughGiftsUrl": "example",
    "contactPlannedGiftsUrl": "example",
    "contactRecurringGiftsUrl": "example",
    "contactReferences": [],
    "contactRelationshipsUrl": "example",
    "contactTagsUrl": "example",
    "contactType": "example",
    "createDateTimeUtc": "example",
    "createdByUser": "example",
    "customCollections": [],
    "customFields": [],
    "description": "example",
    "giftAskAmount": "example",
    "giftAskType": "example",
    "id": 1,
    "informalName": "example",
    "isCurrentUserFollowing": false,
    "isPrivate": false,
    "lastGiftAmount": "example",
    "lastGiftDate": "example",
    "lifeToDateGiving": "example",
    "maritalStatus": "example",
    "mergedIntoContactId": 1,
    "modifiedByUser": "example",
    "modifiedDateTimeUtc": "example",
    "name": "example",
    "organizationGroups": [],
    "originSegment": "example",
    "originSegmentId": 1,
    "primaryAvatarUrl": "example",
    "tags": [],
    "website": "example",
    "yearToDateGiving": "example"
  }
}

Get a gift

Get a gift with its designations.

Inputs

Gift IDgift_idnumberRequired
The ID of the gift.

Outputs

dataobject
The response from Virtuous.
Example output
{
  "data": {
    "acknowledgeeIndividualId": 1,
    "amount": 1.0,
    "amountFormatted": "example",
    "baseCurrencyCode": "example",
    "batch": "example",
    "cashAccountingCode": "example",
    "contactId": 1,
    "contactIndividualId": 1,
    "contactMembershipId": 1,
    "contactName": "example",
    "contactPassthroughId": 1,
    "contactPassthroughUrl": "example",
    "contactUrl": "example",
    "createDateTimeUtc": "example",
    "createdByUser": "example",
    "currencyCode": "example",
    "customFields": [],
    "exchangeRate": 1.0,
    "giftAskId": 1,
    "giftDate": "example",
    "giftDateFormatted": "example",
    "giftDesignations": [],
    "giftPremiums": [],
    "giftType": "example",
    "giftTypeFormatted": "example",
    "giftUrl": "example",
    "grant": "example",
    "grantId": 1,
    "grantUrl": "example",
    "id": 1,
    "isPrivate": false,
    "isTaxDeductible": false,
    "mediaOutlet": "example",
    "mediaOutletId": 1,
    "modifiedByUser": "example",
    "modifiedDateTimeUtc": "example",
    "notes": "example",
    "pledgePayments": [],
    "receiptDate": "example",
    "receiptDateFormatted": "example",
    "recurringGiftPayments": [],
    "segment": "example",
    "segmentCode": "example",
    "segmentId": 1,
    "segmentUrl": "example",
    "transactionId": "example",
    "transactionSource": "example",
    "tribute": "example",
    "tributeId": 1,
    "tributeType": "example"
  }
}

Get an individual

Get one person on a contact.

Inputs

Individual IDindividual_idnumberRequired
The ID of the individual.

Outputs

dataobject
The response from Virtuous.
Example output
{
  "data": {
    "approximateAge": 1,
    "avatarUrl": "example",
    "birthDate": "example",
    "birthDay": 1,
    "birthMonth": 1,
    "birthYear": 1,
    "canBePrimary": false,
    "canBeSecondary": false,
    "contactId": 1,
    "contactMethods": [],
    "createDateTimeUtc": "example",
    "createdByUser": "example",
    "customCollections": [],
    "customFields": [],
    "firstName": "example",
    "gender": "example",
    "id": 1,
    "isDeceased": false,
    "isPrimary": false,
    "isSecondary": false,
    "lastName": "example",
    "middleName": "example",
    "modifiedByUser": "example",
    "modifiedDateTimeUtc": "example",
    "passion": "example",
    "prefix": "example",
    "suffix": "example"
  }
}

Get the current organization

Get the organization the API key belongs to.

Inputs

None.

Outputs

dataobject
The response from Virtuous.
Example output
{
  "data": {
    "currentUserTimeZone": "example",
    "isAdministrator": false,
    "isEnabled": false,
    "organizationCulture": "example",
    "organizationName": "example",
    "organizationTimeZone": "example",
    "organizationUserId": 1.0
  }
}

List a contact's gifts

List a contact's gifts, newest first.

Inputs

Contact IDcontact_idnumberRequired
The ID of the contact.
Skipskipnumber
How many gifts to skip, for paging. Starts at 0.At least 0.
Taketakenumber
How many gifts to return, at most 1000.From 1 to 1000.

Outputs

dataobject
The response from Virtuous.
Example output
{
  "data": {
    "list": [],
    "total": 1
  }
}

List a contact's individuals

List the people who belong to a contact.

Inputs

Contact IDcontact_idnumberRequired
The ID of the contact.

Outputs

datalist
The response from Virtuous.
Example output
{
  "data": []
}

List a contact's notes

List the notes on a contact, newest first.

Inputs

Contact IDcontact_idnumberRequired
The ID of the contact.
Skipskipnumber
How many notes to skip, for paging. Starts at 0.At least 0.
Taketakenumber
How many notes to return, at most 1000.From 1 to 1000.

Outputs

dataobject
The response from Virtuous.
Example output
{
  "data": {
    "list": [],
    "total": 1
  }
}

List a contact's tags

List the tags on a contact.

Inputs

Contact IDcontact_idnumberRequired
The ID of the contact.
Skipskipnumber
How many tags to skip, for paging. Starts at 0.At least 0.
Taketakenumber
How many tags to return, at most 1000.From 1 to 1000.

Outputs

dataobject
The response from Virtuous.
Example output
{
  "data": {
    "list": [],
    "total": 1
  }
}

List contact method types

List the kinds of email address and phone number your organization records, such as Home Email.

Inputs

None.

Outputs

datalist
The response from Virtuous.
Example output
{
  "data": []
}

List contact types

List the kinds of contact your organization uses, such as Household.

Inputs

None.

Outputs

datalist
The response from Virtuous.
Example output
{
  "data": []
}

List recent gifts

List the most recently entered gifts across all contacts.

Inputs

Skipskipnumber
How many gifts to skip, for paging. Starts at 0.At least 0.
Taketakenumber
How many gifts to return, at most 1000.From 1 to 1000.

Outputs

dataobject
The response from Virtuous.
Example output
{
  "data": {
    "list": [],
    "total": 1
  }
}

List tags

List the tags contacts can have.

Inputs

Skipskipnumber
How many tags to skip, for paging. Starts at 0.At least 0.
Taketakenumber
How many tags to return, at most 1000.From 1 to 1000.

Outputs

dataobject
The response from Virtuous.
Example output
{
  "data": {
    "list": [],
    "total": 1
  }
}

Record a gift

Send a gift into Virtuous's gift import, which matches it to a contact, or creates one, for review.

Inputs

Sourcetransaction_sourcetextRequired
The name of the system the gift came from, such as your donation form.
Transaction IDtransaction_idtextRequired
The gift's ID in that system, so the same gift isn't imported twice.
AmountamountnumberRequired
The amount given.
Gift dategift_datedateRequired
The day the gift was given.
Gift typegift_typetext
How it was given, such as Cash, Check or Credit.
Contact IDcontact_idnumber
The ID of the giver's contact, if you know it.
Contact namecontact_nametext
The giver's name, for matching or creating the contact.
First namefirst_nametext
The giver's first name.
Last namelast_nametext
The giver's last name.
Emailemailtext
The giver's email address.
Phonephonetext
The giver's phone number.
Segment codesegmenttext
The code of the segment (appeal) the gift came from.
Notesnotestext
Notes on the gift.

Outputs

dataobject
The response from Virtuous.
Example output
{
  "data": {}
}

Remove a tag from a contact

Take a tag off a contact.

Inputs

Contact tag IDcontact_tag_idnumberRequired
The ID of the tag on the contact, from List a contact's tags or Tag a contact.

Outputs

dataobject
The response from Virtuous.
Example output
{
  "data": {}
}

Search contacts

Find contacts whose name, email, phone or address matches some text.

Inputs

SearchsearchtextRequired
The text to look for.
Skipskipnumber
How many contacts to skip, for paging. Starts at 0.At least 0.
Taketakenumber
How many contacts to return, at most 1000.From 1 to 1000.

Outputs

dataobject
The response from Virtuous.
Example output
{
  "data": {
    "list": [],
    "total": 1.0
  }
}

Tag a contact

Add a tag to a contact.

Inputs

Contact IDcontact_idnumberRequired
The ID of the contact.
Tagtag_idnumberRequired
The tag to add.

Outputs

dataobject
The response from Virtuous.
Example output
{
  "data": {
    "contactTagId": 1,
    "contactsByTagUrl": "example",
    "createDateTimeUtc": "example",
    "createdByUser": "example",
    "modifiedByUser": "example",
    "modifiedDateTimeUtc": "example",
    "name": "example",
    "tagId": 1,
    "total": 1
  }
}

Unarchive a contact

Bring an archived contact back.

Inputs

Contact IDcontact_idnumberRequired
The ID of the contact to unarchive.

Outputs

dataobject
The response from Virtuous.
Example output
{
  "data": {}
}

Update a contact

Change a contact's details. Fields you leave empty keep their current values.

Inputs

Contact IDcontact_idnumberRequired
The ID of the contact to update.
Contact typecontact_typetext
The kind of contact, such as Household or Organization.
Namenametext
The contact's name.
Informal nameinformal_nametext
A friendlier name to address them by.
Descriptiondescriptiontext
A description of the contact.
Websitewebsitetext
The contact's website.
Privateis_privatetrue/false
Whether only some users can see the contact.

Outputs

dataobject
The response from Virtuous.
Example output
{
  "data": {
    "address": {
      "address1": "example",
      "address2": "example",
      "canBePrimary": false,
      "city": "example",
      "country": "example",
      "endDay": 1,
      "endMonth": 1,
      "id": 1,
      "isPrimary": false,
      "label": "example",
      "postal": "example",
      "startDay": 1,
      "startMonth": 1,
      "state": "example"
    },
    "anniversaryDay": 1,
    "anniversaryMonth": 1,
    "anniversaryYear": 1,
    "contactGiftsUrl": "example",
    "contactImportantNotesUrl": "example",
    "contactIndividuals": [],
    "contactNotesUrl": "example",
    "contactPassthroughGiftsUrl": "example",
    "contactPlannedGiftsUrl": "example",
    "contactRecurringGiftsUrl": "example",
    "contactReferences": [],
    "contactRelationshipsUrl": "example",
    "contactTagsUrl": "example",
    "contactType": "example",
    "createDateTimeUtc": "example",
    "createdByUser": "example",
    "customCollections": [],
    "customFields": [],
    "description": "example",
    "giftAskAmount": "example",
    "giftAskType": "example",
    "id": 1,
    "informalName": "example",
    "isCurrentUserFollowing": false,
    "isPrivate": false,
    "lastGiftAmount": "example",
    "lastGiftDate": "example",
    "lifeToDateGiving": "example",
    "maritalStatus": "example",
    "mergedIntoContactId": 1,
    "modifiedByUser": "example",
    "modifiedDateTimeUtc": "example",
    "name": "example",
    "organizationGroups": [],
    "originSegment": "example",
    "originSegmentId": 1,
    "primaryAvatarUrl": "example",
    "tags": [],
    "website": "example",
    "yearToDateGiving": "example"
  }
}

Update an individual

Change a person's details. Fields you leave empty keep their current values.

Inputs

Individual IDindividual_idnumberRequired
The ID of the individual to update.
First namefirst_nametext
The person's first name.
Last namelast_nametext
The person's last name.
Prefixprefixtext
A title before the name, such as Dr.
Middle namemiddle_nametext
The person's middle name.
Suffixsuffixtext
A suffix after the name, such as Jr.
Gendergendertext
The person's gender.
Birth monthbirth_monthnumber
The month the person was born, 1 to 12.From 1 to 12.
Birth daybirth_daynumber
The day of the month the person was born.From 1 to 31.
Birth yearbirth_yearnumber
The year the person was born.At least 1900.
Passionpassiontext
What the person cares about most.

Outputs

dataobject
The response from Virtuous.
Example output
{
  "data": {
    "approximateAge": 1,
    "avatarUrl": "example",
    "birthDate": "example",
    "birthDay": 1,
    "birthMonth": 1,
    "birthYear": 1,
    "canBePrimary": false,
    "canBeSecondary": false,
    "contactId": 1,
    "contactMethods": [],
    "createDateTimeUtc": "example",
    "createdByUser": "example",
    "customCollections": [],
    "customFields": [],
    "firstName": "example",
    "gender": "example",
    "id": 1,
    "isDeceased": false,
    "isPrimary": false,
    "isSecondary": false,
    "lastName": "example",
    "middleName": "example",
    "modifiedByUser": "example",
    "modifiedDateTimeUtc": "example",
    "passion": "example",
    "prefix": "example",
    "suffix": "example"
  }
}

On this page