Virtuous
App · 28 actions
Manage contacts, individuals, notes and tags, and record and look up gifts in Virtuous CRM.
Actions
| Action | What it does |
|---|---|
| Add an email or phone | Add an email address, phone number or other contact method to an individual. |
| Archive a contact | Archive a contact, hiding it from everyday lists. |
| Create a contact | Create a household, organization or other contact with its main individual. |
| Create a note | Add a note to a contact. |
| Create an individual | Add a person to a contact. |
| Delete a note | Delete a note. |
| Delete an email or phone | Remove an email address, phone number or other contact method. |
| Delete an individual | Remove a person from a contact. |
| Find a contact by email | Find the contact with an email address. |
| Get a contact | Get a contact with its individuals, address and giving totals. |
| Get a gift | Get a gift with its designations. |
| Get an individual | Get one person on a contact. |
| Get the current organization | Get the organization the API key belongs to. |
| List a contact's gifts | List a contact's gifts, newest first. |
| List a contact's individuals | List the people who belong to a contact. |
| List a contact's notes | List the notes on a contact, newest first. |
| List a contact's tags | List the tags on a contact. |
| List contact method types | List the kinds of email address and phone number your organization records, such as Home Email. |
| List contact types | List the kinds of contact your organization uses, such as Household. |
| List recent gifts | List the most recently entered gifts across all contacts. |
| List tags | List the tags contacts can have. |
| Record a gift | Send a gift into Virtuous's gift import, which matches it to a contact, or creates one, for review. |
| Remove a tag from a contact | Take a tag off a contact. |
| Search contacts | Find contacts whose name, email, phone or address matches some text. |
| Tag a contact | Add a tag to a contact. |
| Unarchive a contact | Bring an archived contact back. |
| Update a contact | Change a contact's details. |
| Update an individual | Change a person's details. |
Add an email or phone
Add an email address, phone number or other contact method to an individual.
Inputs
- Individual ID
individual_idnumberRequired - The ID of the individual.
- Type
typetextRequired - The kind of contact method, such as Home Email or Mobile Phone.
- Value
valuetextRequired - The email address or phone number.
- Opted in
is_opted_intrue/false - Whether the person agreed to be contacted this way.
- Make primary
set_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 ID
contact_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 type
contact_typetextRequired - The kind of contact, such as Household or Organization.
- Name
nametextRequired - The contact's name, such as The Smith Household or Acme Corp.
- Informal name
informal_nametext - A friendlier name to address them by.
- Description
descriptiontext - A description of the contact.
- Website
websitetext - The contact's website.
- Reference source
reference_sourcetext - The name of another system this contact comes from, used with Reference ID.
- Reference ID
reference_idtext - The contact's ID in that other system.
- First name
first_nametext - The first name of the contact's main individual.
- Last name
last_nametext - The last name of the contact's main individual.
- Street address
address1text - The first line of the contact's address.
- Address line 2
address2text - The second line of the contact's address.
- City
citytext - The city of the contact's address.
- State
state_codetext - The state or region code, such as CA.
- Postal code
postaltext - The postal or ZIP code.
- Country
country_codetext - The two-letter country code, such as US.
- Private
is_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 ID
contact_idnumberRequired - The ID of the contact.
- Note
notetextRequired - The note's text.
- Type
typetext - The note's type exactly as set up in Virtuous, such as General.
- Date
note_datedate and time - When the conversation or event the note records happened.
- Important
importanttrue/false - Whether to mark the note as important.
- Private
privatetrue/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 ID
contact_idnumberRequired - The ID of the contact the person belongs to.
- First name
first_nametextRequired - The person's first name.
- Last name
last_nametextRequired - The person's last name.
- Prefix
prefixtext - A title before the name, such as Dr.
- Middle name
middle_nametext - The person's middle name.
- Suffix
suffixtext - A suffix after the name, such as Jr.
- Gender
gendertext - The person's gender.
- Birth month
birth_monthnumber - The month the person was born, 1 to 12.From 1 to 12.
- Birth day
birth_daynumber - The day of the month the person was born.From 1 to 31.
- Birth year
birth_yearnumber - The year the person was born.At least 1900.
- Passion
passiontext - What the person cares about most.
- Make primary
set_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 ID
note_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 ID
contact_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 ID
individual_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
- Email
emailtextRequired - 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 ID
contact_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 ID
gift_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 ID
individual_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 ID
contact_idnumberRequired - The ID of the contact.
- Skip
skipnumber - How many gifts to skip, for paging. Starts at 0.At least 0.
- Take
takenumber - 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 ID
contact_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 ID
contact_idnumberRequired - The ID of the contact.
- Skip
skipnumber - How many notes to skip, for paging. Starts at 0.At least 0.
- Take
takenumber - 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 ID
contact_idnumberRequired - The ID of the contact.
- Skip
skipnumber - How many tags to skip, for paging. Starts at 0.At least 0.
- Take
takenumber - 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
- Skip
skipnumber - How many gifts to skip, for paging. Starts at 0.At least 0.
- Take
takenumber - 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
- Skip
skipnumber - How many tags to skip, for paging. Starts at 0.At least 0.
- Take
takenumber - 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
- Source
transaction_sourcetextRequired - The name of the system the gift came from, such as your donation form.
- Transaction ID
transaction_idtextRequired - The gift's ID in that system, so the same gift isn't imported twice.
- Amount
amountnumberRequired - The amount given.
- Gift date
gift_datedateRequired - The day the gift was given.
- Gift type
gift_typetext - How it was given, such as Cash, Check or Credit.
- Contact ID
contact_idnumber - The ID of the giver's contact, if you know it.
- Contact name
contact_nametext - The giver's name, for matching or creating the contact.
- First name
first_nametext - The giver's first name.
- Last name
last_nametext - The giver's last name.
- Email
emailtext - The giver's email address.
- Phone
phonetext - The giver's phone number.
- Segment code
segmenttext - The code of the segment (appeal) the gift came from.
- Notes
notestext - 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 ID
contact_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
- Search
searchtextRequired - The text to look for.
- Skip
skipnumber - How many contacts to skip, for paging. Starts at 0.At least 0.
- Take
takenumber - 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 ID
contact_idnumberRequired - The ID of the contact.
- Tag
tag_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 ID
contact_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 ID
contact_idnumberRequired - The ID of the contact to update.
- Contact type
contact_typetext - The kind of contact, such as Household or Organization.
- Name
nametext - The contact's name.
- Informal name
informal_nametext - A friendlier name to address them by.
- Description
descriptiontext - A description of the contact.
- Website
websitetext - The contact's website.
- Private
is_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 ID
individual_idnumberRequired - The ID of the individual to update.
- First name
first_nametext - The person's first name.
- Last name
last_nametext - The person's last name.
- Prefix
prefixtext - A title before the name, such as Dr.
- Middle name
middle_nametext - The person's middle name.
- Suffix
suffixtext - A suffix after the name, such as Jr.
- Gender
gendertext - The person's gender.
- Birth month
birth_monthnumber - The month the person was born, 1 to 12.From 1 to 12.
- Birth day
birth_daynumber - The day of the month the person was born.From 1 to 31.
- Birth year
birth_yearnumber - The year the person was born.At least 1900.
- Passion
passiontext - 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"
}
}