Get donor
The donor record: name, address, email and phone.
GET https://cotlet.dev/api/v1/donorperfect/donors/{donor_id}
read
Opens the donor record and returns its demographic fields: name, address, email and phone. Use it to check a match from search_donors before you write to the record. It does not return gifts, pledges or contacts; list_gifts, list_pledges and list_contacts do.
Parameters
| Name | Type | Description |
|---|---|---|
| donor_id integer required | integer | Donor ID from search_donors. |
Request
curl https://cotlet.dev/api/v1/donorperfect/donors/1 \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("donorperfect", "get_donor", {"donor_id":1}) const result = await cotlet.call('donorperfect', 'get_donor', {"donor_id":1}); cotlet call donorperfect get_donor --data '{"donor_id":1}' Example response
{
"donor_id": 48213,
"type": "individual",
"first_name": "Dana",
"last_name": "Whitfield",
"email": "dana.whitfield@example.org",
"phone": "555-0142",
"address": "120 Example Street",
"city": "Portland",
"state": "OR",
"zip": "97201"
}