People Webhooks

People webhook payloads are generated in response to certain changes to your people records.

Person Created and Person Changed

POST http://www.example.com/webhook

{
  "nation_slug": "foobar",
  "payload": {
    "person": {
      "birthdate": "1963-02-02",
      "city_district": null,
      "civicrm_id": 7,
      "county_district": "11",
      "county_file_id": "97076395",
      "created_at": "2014-02-11T10:21:43-05:00",
      "do_not_call": false,
      "do_not_contact": false,
      "dw_id": null,
      "email": "person@example.com",
      "email_opt_in": true,
      "employer": "Sun Film Foundation",
      "external_id": "781986",
      "federal_district": "0",
      "fire_district": null,
      "first_name": "John",
      "has_facebook": false,
      "id": 65536,
      "is_twitter_follower": false,
      "is_volunteer": false,
      "judicial_district": null,
      "labour_region": null,
      "last_name": "Doe",
      "linkedin_id": null,
      "mobile": "5738882938",
      "mobile_opt_in": true,
      "nbec_guid": "000099dc-00f0-11e2-b349-27c4eb6c1979",
      "ngp_id": null,
      "note": "Has 3 kids. Ask about the baby on the way",
      "occupation": "Community Organizer",
      "party": "P",
      "pf_strat_id": 91207702,
      "phone": "2156726335",
      "precinct_id": null,
      "primary_address": null,
      "recruiter_id": 3232,
      "rnc_id": 2653431,
      "rnc_regid": "003F4ED9-3C5C-4E15-8178-B84920F41BFF",
      "salesforce_id": null,
      "school_district": "Chicago Public Schools",
      "school_sub_district": null,
      "sex": "F",
"signup_type": 0 "state_file_id": "100000012", "state_lower_district": "024", "state_upper_district": "1", "support_level": 1, "supranational_district": "Eastern Euro Region", "tags": ["donor"], "twitter_id": "63403772", "twitter_name": "AngryPig", "updated_at": "2014-02-11T10:21:43-05:00", "van_id": "2", "village_district": null, "active_customer_expires_at": null, "active_customer_started_at": null, "author_id": 4343, "author": { "birthdate": null, "city_district": null, "civicrm_id": null, "county_district": null, "county_file_id": null, "created_at": "2014-02-11T10:21:43-05:00", "do_not_call": false, "do_not_contact": false, "dw_id": null, "email": "bob@example.com", "email_opt_in": true, "employer": null, "external_id": null, "federal_district": null, "fire_district": null, "first_name": "Bob", "has_facebook": false, "id": 3232, "is_twitter_follower": false, "is_volunteer": false, "judicial_district": null, "labour_region": null, "last_name": "Young", "linkedin_id": null, "mobile": null, "mobile_opt_in": true, "nbec_guid": null, "ngp_id": null, "note": null, "occupation": null, "party": null, "pf_strat_id": null, "phone": null, "precinct_id": null, "primary_address": null, "recruiter_id": null, "rnc_id": null, "rnc_regid": null, "salesforce_id": null, "school_district": null, "school_sub_district": null, "sex": null, "state_file_id": null, "state_lower_district": null, "state_upper_district": null, "support_level": null, "supranational_district": null, "tags": [], "twitter_id": null, "twitter_name": null, "updated_at": "2014-02-11T10:21:43-05:00", "van_id": null, "village_district": null }, "auto_import_id": null, "availability": "anytime", "banned_at": null, "billing_address": null, "bio": "Specialist in management and business growth.", "call_status_id": 5, "call_status_name": "no-answer", "capital_amount_in_cents": 500, "children_count": 2, "church": "Liberty Church", "city_sub_district": "DOWNTOWN LOS ANGELES", "closed_invoices_amount_in_cents": null, "closed_invoices_count": null, "contact_status_id": 3, "contact_status_name": "Answered", "could_vote_status": -1, "demo": "W", "donations_amount_in_cents": 0, "donations_amount_this_cycle_in_cents": 0, "donations_count": 0, "donations_count_this_cycle": 0, "donations_pledged_amount_in_cents": 0, "donations_raised_amount_in_cents": 0, "donations_raised_amount_this_cycle_in_cents": 0, "donations_raised_count": 0, "donations_raised_count_this_cycle": 0, "donations_to_raise_amount_in_cents": 0, "email1": "person@example.com", "email1_is_bad": false, "email2": null, "email2_is_bad": false, "email3": null, "email3_is_bad": false, "email4": null, "email4_is_bad": false, "ethnicity": null, "facebook_address": null, "facebook_profile_url": null, "facebook_updated_at": "2014-02-25T11:22:12-04:00", "facebook_username": "alice", "fax_number": null, "federal_donotcall": false, "first_donated_at": "2013-02-02T11:51:23-05:00", "first_fundraised_at": "2013-04-02T11:51:23-05:00", "first_invoice_at": "2013-01-02T11:51:23-05:00", "first_prospect_at": "2013-06-02T11:51:23-05:00", "first_recruited_at": "2013-11-02T11:51:23-05:00", "first_supporter_at": "2014-02-11T10:21:43-05:00", "first_volunteer_at": "2013-05-02T11:51:23-05:00", "full_name": "John Doe", "home_address": null, "import_id": null, "inferred_party": "H", "inferred_support_level": 1, "invoice_payments_amount_in_cents": 0, "invoice_payments_referred_amount_in_cents": 0, "invoices_amount_in_cents": null, "invoices_count": null, "is_deceased": false, "is_donor": false, "is_fundraiser": false, "is_ignore_donation_limits": false, "is_leaderboardable": true, "is_mobile_bad": false, "is_possible_duplicate": false, "is_profile_private": false, "is_profile_searchable": true, "is_prospect": false, "is_supporter": true, "is_survey_question_private": false, "language": "EN", "last_call_id": 2378, "last_contacted_at": null, "last_contacted_by": null, "last_donated_at": "2014-02-02T11:51:23-05:00", "last_fundraised_at": "2014-01-01T11:51:23-05:00", "last_invoice_at": null, "last_rule_violation_at": null, "legal_name": null, "locale": "en", "mailing_address": null, "marital_status": "S", "media_market_name": null, "meetup_address": null, "middle_name": "T.", "mobile_normalized": null, "nbec_precinct_code": null, "note_updated_at": "2014-01-01T11:51:23-05:00", "outstanding_invoices_amount_in_cents": null, "outstanding_invoices_count": null, "overdue_invoices_count": 0, "page_slug": null, "parent": null, "parent_id": null, "party_member": false, "phone_normalized": null, "phone_time": "daytime", "precinct_code": null, "precinct_name": null, "prefix": null, "previous_party": "U", "primary_email_id": 1, "priority_level": 4, "priority_level_changed_at": null, "profile_content": "I support Abraham Lincoln for President.", "profile_content_html": null, "profile_headline": "Abe is back!", "received_capital_amount_in_cents": 500, "recruiter": { "birthdate": null, "city_district": null, "civicrm_id": null, "county_district": null, "county_file_id": null, "created_at": "2014-02-11T10:21:43-05:00", "do_not_call": false, "do_not_contact": false, "dw_id": null, "email": "carol@example.com", "email_opt_in": true, "employer": null, "external_id": null, "federal_district": null, "fire_district": null, "first_name": "Carol", "has_facebook": false, "id": 19652, "is_twitter_follower": false, "is_volunteer": false, "judicial_district": null, "labour_region": null, "last_name": "Smith", "linkedin_id": null, "mobile": null, "mobile_opt_in": true, "nbec_guid": null, "ngp_id": null, "note": null, "occupation": null, "party": null, "pf_strat_id": null, "phone": null, "precinct_id": null, "primary_address": null, "recruiter_id": null, "rnc_id": null, "rnc_regid": null, "salesforce_id": null, "school_district": null, "school_sub_district": null, "sex": null, "state_file_id": null, "state_lower_district": null, "state_upper_district": null, "support_level": null, "supranational_district": null, "tags": [], "twitter_id": null, "twitter_name": null, "updated_at": "2014-02-11T10:21:43-05:00", "van_id": null, "village_district": null }, "recruits_count": 0, "registered_address": null, "registered_at": null, "religion": null, "rule_violations_count": 0, "spent_capital_amount_in_cents": 0, "submitted_address": "123 Main St Portland, ME 04101", "subnations": ["abeforprez", "operalovers"], "suffix": null, "support_level_changed_at": "2014-01-01T11:51:23-05:00", "support_probability_score": null, "turnout_probability_score": null, "twitter_address": null, "twitter_description": "Animal lover.", "twitter_followers_count": 564, "twitter_friends_count": 32, "twitter_location": "Dallas, TX", "twitter_login": "trinity", "twitter_updated_at": "2014-01-01T11:51:23-05:00",, "twitter_website": "http://mytwittersite.com", "unsubscribed_at": null, "user_submitted_address": null, "username": "trinity", "warnings_count": 0, "website": "http://mywebsite.com", "work_address": null, "work_phone_number": null } }, "token": "sharedsecret", "version": 4 }

Person Merged

POST http://www.example.com/webhook

{
{
   "nation_slug": "tedforprez",
   "payload": {
      "merged": {
         "person": {
            "birthdate": null,
            "city_district": null,
            "civicrm_id": null,
            "county_district": null,
            "county_file_id": null,
            "created_at": "2016-07-06T15:17:23-07:00",
            "datatrust_id": null,
            "do_not_call": false,
            "do_not_contact": false,
            "dw_id": null,
            "email": "farz@farz.com",
            "email_opt_in": true,
            "employer": "NationBuilder",
            "external_id": null,
            "federal_district": null,
            "fire_district": null,
            "first_name": "Farz",
            "has_facebook": false,
            "id": 1422140,
            "is_twitter_follower": false,
            "is_volunteer": false,
            "judicial_district": null,
            "labour_region": null,
            "last_name": "Sokhansanj",
            "linkedin_id": null,
            "mobile": null,
            "mobile_opt_in": true,
            "nbec_guid": null,
            "ngp_id": null,
            "note": null,
            "occupation": null,
            "party": null,
            "pf_strat_id": null,
            "phone": null,
            "precinct_id": null,
            "primary_address": null,
            "profile_image_url_ssl": "https://d3n8a8pro7vhmx.cloudfront.net/assets/icons/buddy.png",
            "recruiter_id": null,
            "rnc_id": null,
            "rnc_regid": null,
            "salesforce_id": null,
            "school_district": null,
            "school_sub_district": null,
            "sex": null,
            "signup_type": 0,
            "state_file_id": null,
            "state_lower_district": null,
            "state_upper_district": null,
            "support_level": null,
            "supranational_district": null,
            "tags": [],
            "twitter_id": null,
            "twitter_name": null,
            "updated_at": "2016-10-18T11:34:04-07:00",
            "van_id": null,
            "village_district": null,
            "ward": null,
            "work_phone_number": null,
            "active_customer_expires_at": null,
            "active_customer_started_at": null,
            "author": null,
            "author_id": null,
            "auto_import_id": null,
            "availability": null,
            "ballots": [],
            "banned_at": null,
            "billing_address": null,
            "bio": null,
            "call_status_id": null,
            "call_status_name": null,
            "capital_amount_in_cents": 0,
            "children_count": 0,
            "church": null,
            "city_sub_district": null,
            "closed_invoices_amount_in_cents": null,
            "closed_invoices_count": null,
            "contact_status_id": null,
            "contact_status_name": null,
            "could_vote_status": false,
            "demo": null,
            "donations_amount_in_cents": 0,
            "donations_amount_this_cycle_in_cents": 0,
            "donations_count": 0,
            "donations_count_this_cycle": 0,
            "donations_pledged_amount_in_cents": 0,
            "donations_raised_amount_in_cents": 0,
            "donations_raised_amount_this_cycle_in_cents": 0,
            "donations_raised_count": 0,
            "donations_raised_count_this_cycle": 0,
            "donations_to_raise_amount_in_cents": 0,
            "email1": "farz@farz.com",
            "email1_is_bad": false,
            "email2": null,
            "email2_is_bad": false,
            "email3": null,
            "email3_is_bad": false,
            "email4": null,
            "email4_is_bad": false,
            "emails": [
               {
                  "email_address": "farz@farz.com",
                  "email_number": 1,
                  "is_bad": false,
                  "is_primary": true
               }
            ],
            "ethnicity": null,
            "facebook_address": null,
            "facebook_profile_url": null,
            "facebook_updated_at": null,
            "facebook_username": null,
            "fax_number": null,
            "federal_donotcall": false,
            "first_donated_at": null,
            "first_fundraised_at": null,
            "first_invoice_at": null,
            "first_prospect_at": "2016-07-06T15:17:24-07:00",
            "first_recruited_at": null,
            "first_supporter_at": null,
            "first_volunteer_at": null,
            "full_name": "Farz Sokhansanj",
            "home_address": null,
            "import_id": 33,
            "inferred_party": null,
            "inferred_support_level": null,
            "invoice_payments_amount_in_cents": null,
            "invoice_payments_referred_amount_in_cents": null,
            "invoices_amount_in_cents": null,
            "invoices_count": null,
            "is_absentee_voter": null,
            "is_active_voter": null,
            "is_deceased": false,
            "is_donor": false,
            "is_dropped_from_file": null,
            "is_early_voter": null,
            "is_fundraiser": false,
            "is_ignore_donation_limits": false,
            "is_leaderboardable": true,
            "is_mobile_bad": false,
            "is_permanent_absentee_voter": null,
            "is_possible_duplicate": true,
            "is_profile_private": false,
            "is_profile_searchable": true,
            "is_prospect": true,
            "is_supporter": false,
            "is_survey_question_private": false,
            "language": null,
            "last_call_id": null,
            "last_contacted_at": null,
            "last_contacted_by": null,
            "last_donated_at": null,
            "last_fundraised_at": null,
            "last_invoice_at": null,
            "last_rule_violation_at": null,
            "legal_name": null,
            "locale": null,
            "mailing_address": null,
            "marital_status": null,
            "media_market_name": null,
            "meetup_id": null,
            "meetup_address": null,
            "middle_name": null,
            "mobile_normalized": null,
            "nbec_precinct_code": null,
            "nbec_precinct": null,
            "note_updated_at": null,
            "outstanding_invoices_amount_in_cents": null,
            "outstanding_invoices_count": null,
            "overdue_invoices_count": null,
            "page_slug": null,
            "parent": null,
            "parent_id": null,
            "party_member": null,
            "phone_normalized": null,
            "phone_time": null,
            "precinct_code": null,
            "precinct_name": null,
            "prefix": null,
            "previous_party": null,
            "primary_email_id": 1,
            "priority_level": null,
            "priority_level_changed_at": null,
            "profile_content": null,
            "profile_content_html": null,
            "profile_headline": null,
            "received_capital_amount_in_cents": 0,
            "recruiter": null,
            "recruits_count": 0,
            "registered_address": null,
            "registered_at": null,
            "religion": null,
            "rule_violations_count": 0,
            "signup_sources": [],
            "spent_capital_amount_in_cents": 0,
            "submitted_address": null,
            "subnations": [],
            "suffix": null,
            "support_level_changed_at": null,
            "support_probability_score": null,
            "township": null,
            "turnout_probability_score": null,
            "twitter_address": null,
            "twitter_description": null,
            "twitter_followers_count": null,
            "twitter_friends_count": null,
            "twitter_location": null,
            "twitter_login": null,
            "twitter_updated_at": null,
            "twitter_website": null,
            "unsubscribed_at": null,
            "user_submitted_address": null,
            "username": null,
            "voter_updated_at": null,
            "warnings_count": 0,
            "website": null,
            "work_address": null,
            "multiple_choice": null,
            "voterockit_address_belong_to_": null,
            "voterockit_address_belong_to": null
         }
      },
      "deleted": {
         "person": {
            "birthdate": null,
            "city_district": null,
            "civicrm_id": null,
            "county_district": null,
            "county_file_id": null,
            "created_at": "2016-07-06T15:17:24-07:00",
            "datatrust_id": null,
            "do_not_call": false,
            "do_not_contact": false,
            "dw_id": null,
            "email": null,
            "email_opt_in": true,
            "employer": null,
            "external_id": null,
            "federal_district": null,
            "fire_district": null,
            "first_name": "Farz",
            "has_facebook": false,
            "id": 1422141,
            "is_twitter_follower": false,
            "is_volunteer": false,
            "judicial_district": null,
            "labour_region": null,
            "last_name": "Sokhansanj",
            "linkedin_id": null,
            "mobile": null,
            "mobile_opt_in": true,
            "nbec_guid": null,
            "ngp_id": null,
            "note": null,
            "occupation": null,
            "party": null,
            "pf_strat_id": null,
            "phone": null,
            "precinct_id": null,
            "primary_address": null,
            "profile_image_url_ssl": "https://d3n8a8pro7vhmx.cloudfront.net/assets/icons/buddy.png",
            "recruiter_id": null,
            "rnc_id": null,
            "rnc_regid": null,
            "salesforce_id": null,
            "school_district": null,
            "school_sub_district": null,
            "sex": null,
            "signup_type": 0,
            "state_file_id": null,
            "state_lower_district": null,
            "state_upper_district": null,
            "support_level": null,
            "supranational_district": null,
            "tags": [],
            "twitter_id": null,
            "twitter_name": null,
            "updated_at": "2016-10-18T11:34:04-07:00",
            "van_id": null,
            "village_district": null,
            "ward": null,
            "work_phone_number": null,
            "active_customer_expires_at": null,
            "active_customer_started_at": null,
            "author": null,
            "author_id": null,
            "auto_import_id": null,
            "availability": null,
            "ballots": [],
            "banned_at": null,
            "billing_address": null,
            "bio": null,
            "call_status_id": null,
            "call_status_name": null,
            "capital_amount_in_cents": 0,
            "children_count": 0,
            "church": null,
            "city_sub_district": null,
            "closed_invoices_amount_in_cents": null,
            "closed_invoices_count": null,
            "contact_status_id": null,
            "contact_status_name": null,
            "could_vote_status": false,
            "demo": null,
            "donations_amount_in_cents": 0,
            "donations_amount_this_cycle_in_cents": 0,
            "donations_count": 0,
            "donations_count_this_cycle": 0,
            "donations_pledged_amount_in_cents": 0,
            "donations_raised_amount_in_cents": 0,
            "donations_raised_amount_this_cycle_in_cents": 0,
            "donations_raised_count": 0,
            "donations_raised_count_this_cycle": 0,
            "donations_to_raise_amount_in_cents": 0,
            "email1": null,
            "email1_is_bad": false,
            "email2": null,
            "email2_is_bad": false,
            "email3": null,
            "email3_is_bad": false,
            "email4": null,
            "email4_is_bad": false,
            "emails": [],
            "ethnicity": null,
            "facebook_address": null,
            "facebook_profile_url": null,
            "facebook_updated_at": null,
            "facebook_username": null,
            "fax_number": null,
            "federal_donotcall": false,
            "first_donated_at": null,
            "first_fundraised_at": null,
            "first_invoice_at": null,
            "first_prospect_at": "2016-07-06T15:17:24-07:00",
            "first_recruited_at": null,
            "first_supporter_at": null,
            "first_volunteer_at": null,
            "full_name": "Farz Sokhansanj",
            "home_address": null,
            "import_id": 33,
            "inferred_party": null,
            "inferred_support_level": null,
            "invoice_payments_amount_in_cents": null,
            "invoice_payments_referred_amount_in_cents": null,
            "invoices_amount_in_cents": null,
            "invoices_count": null,
            "is_absentee_voter": null,
            "is_active_voter": null,
            "is_deceased": false,
            "is_donor": false,
            "is_dropped_from_file": null,
            "is_early_voter": null,
            "is_fundraiser": false,
            "is_ignore_donation_limits": false,
            "is_leaderboardable": true,
            "is_mobile_bad": false,
            "is_permanent_absentee_voter": null,
            "is_possible_duplicate": true,
            "is_profile_private": false,
            "is_profile_searchable": true,
            "is_prospect": true,
            "is_supporter": false,
            "is_survey_question_private": false,
            "language": null,
            "last_call_id": null,
            "last_contacted_at": null,
            "last_contacted_by": null,
            "last_donated_at": null,
            "last_fundraised_at": null,
            "last_invoice_at": null,
            "last_rule_violation_at": null,
            "legal_name": null,
            "locale": null,
            "mailing_address": null,
            "marital_status": null,
            "media_market_name": null,
            "meetup_id": null,
            "meetup_address": null,
            "middle_name": null,
            "mobile_normalized": null,
            "nbec_precinct_code": null,
            "nbec_precinct": null,
            "note_updated_at": null,
            "outstanding_invoices_amount_in_cents": null,
            "outstanding_invoices_count": null,
            "overdue_invoices_count": null,
            "page_slug": null,
            "parent": null,
            "parent_id": null,
            "party_member": null,
            "phone_normalized": null,
            "phone_time": null,
            "precinct_code": null,
            "precinct_name": null,
            "prefix": null,
            "previous_party": null,
            "primary_email_id": null,
            "priority_level": null,
            "priority_level_changed_at": null,
            "profile_content": null,
            "profile_content_html": null,
            "profile_headline": null,
            "received_capital_amount_in_cents": 0,
            "recruiter": null,
            "recruits_count": 0,
            "registered_address": null,
            "registered_at": null,
            "religion": null,
            "rule_violations_count": 0,
            "signup_sources": [],
            "spent_capital_amount_in_cents": 0,
            "submitted_address": null,
            "subnations": [],
            "suffix": null,
            "support_level_changed_at": null,
            "support_probability_score": null,
            "township": null,
            "turnout_probability_score": null,
            "twitter_address": null,
            "twitter_description": null,
            "twitter_followers_count": null,
            "twitter_friends_count": null,
            "twitter_location": null,
            "twitter_login": null,
            "twitter_updated_at": null,
            "twitter_website": null,
            "unsubscribed_at": null,
            "user_submitted_address": null,
            "username": null
         }
      }
   }
}

Person Contacted

POST http://www.example.com/webhook

{
  "nation_slug": "foobar",
  "payload": {
    "person_call": {
      "contact_method_id": 8,
      "contact_method_name": "Phone call",
      "contact_status_id": 3,
      "contact_status_name": "Left message",
      "call_type_id": 6,
      "call_type_name": "Favian Glover Call Type",
      "support_level": 1,
      "priority_level": 4,
      "person": {
        "birthdate": "1963-02-02",
        "city_district": null,
        "civicrm_id": 7,
        "county_district": "11",
        "county_file_id": "97076395",
        "created_at": "2014-02-11T10:21:43-05:00",
        "do_not_call": false,
        "do_not_contact": false,
        "dw_id": null,
        "email": null,
        "email_opt_in": true,
        "employer": "Sun Film Foundation",
        "external_id": "781986",
        "federal_district": "0",
        "fire_district": null,
        "first_name": "John",
        "has_facebook": false,
        "id": 22,
        "is_twitter_follower": false,
        "is_volunteer": false,
        "judicial_district": null,
        "labour_region": null,
        "last_name": "Doe",
        "linkedin_id": null,
        "mobile": "5738882938",
        "mobile_opt_in": true,
        "nbec_guid": "000099dc-00f0-11e2-b349-27c4eb6c1979",
        "ngp_id": null,
        "note": "Has 3 kids. Ask about the baby on the way",
        "occupation": "Community Organizer",
        "party": "P",
        "pf_strat_id": 91207702,
        "phone": "2156726335",
        "precinct_id": null,
        "primary_address": null,
        "recruiter_id": 19652,
        "rnc_id": 2653431,
        "rnc_regid": "003F4ED9-3C5C-4E15-8178-B84920F41BFF",
        "salesforce_id": null,
        "school_district": "Chicago Public Schools",
        "school_sub_district": null,
        "sex": "F",
"signup_type": 0 "state_file_id": "100000012", "state_lower_district": "024", "state_upper_district": "1", "support_level": 1, "supranational_district": "Eastern Euro Region", "tags": ["left_feedback"], "twitter_id": "63403772", "twitter_name": "AngryPig", "updated_at": "2014-02-11T10:21:43-05:00", "van_id": "2", "village_district": null, "active_customer_expires_at": null, "active_customer_started_at": null, "author_id": 23221, "author": { "birthdate": null, "city_district": null, "civicrm_id": null, "county_district": null, "county_file_id": null, "created_at": "2014-02-11T10:21:43-05:00", "do_not_call": false, "do_not_contact": false, "dw_id": null, "email": "bob@example.com", "email_opt_in": true, "employer": null, "external_id": null, "federal_district": null, "fire_district": null, "first_name": "Bob", "has_facebook": false, "id": 23221, "is_twitter_follower": false, "is_volunteer": false, "judicial_district": null, "labour_region": null, "last_name": "Young", "linkedin_id": null, "mobile": null, "mobile_opt_in": true, "nbec_guid": null, "ngp_id": null, "note": null, "occupation": null, "party": null, "pf_strat_id": null, "phone": null, "precinct_id": null, "primary_address": null, "recruiter_id": null, "rnc_id": null, "rnc_regid": null, "salesforce_id": null, "school_district": null, "school_sub_district": null, "sex": null, "state_file_id": null, "state_lower_district": null, "state_upper_district": null, "support_level": null, "supranational_district": null, "tags": [], "twitter_id": null, "twitter_name": null, "updated_at": "2014-02-11T10:21:43-05:00", "van_id": null, "village_district": null }, "auto_import_id": null, "availability": "anytime", "banned_at": null, "billing_address": null, "bio": "Specialist in management and business growth.", "call_status_id": 5, "call_status_name": "no-answer", "capital_amount_in_cents": 1100, "children_count": 2, "church": "Liberty Church", "city_sub_district": "DOWNTOWN LOS ANGELES", "closed_invoices_amount_in_cents": null, "closed_invoices_count": null, "contact_status_id": 3, "contact_status_name": "Left message", "could_vote_status": -1, "demo": "W", "donations_amount_in_cents": 0, "donations_amount_this_cycle_in_cents": 0, "donations_count": 0, "donations_count_this_cycle": 0, "donations_pledged_amount_in_cents": 0, "donations_raised_amount_in_cents": 0, "donations_raised_amount_this_cycle_in_cents": 0, "donations_raised_count": 0, "donations_raised_count_this_cycle": 0, "donations_to_raise_amount_in_cents": 0, "email1": null, "email1_is_bad": false, "email2": null, "email2_is_bad": false, "email3": null, "email3_is_bad": false, "email4": null, "email4_is_bad": false, "ethnicity": null, "facebook_address": null, "facebook_profile_url": null, "facebook_updated_at": "2014-02-25T11:22:12-04:00", "facebook_username": "alice", "fax_number": null, "federal_donotcall": false, "first_donated_at": "2013-02-02T11:51:23-05:00", "first_fundraised_at": "2013-04-02T11:51:23-05:00", "first_invoice_at": "2013-01-02T11:51:23-05:00", "first_prospect_at": "2013-06-02T11:51:23-05:00", "first_recruited_at": "2013-11-02T11:51:23-05:00", "first_supporter_at": "2014-02-11T10:21:43-05:00", "first_volunteer_at": "2013-05-02T11:51:23-05:00", "full_name": "John Doe", "home_address": null, "import_id": null, "inferred_party": "H", "inferred_support_level": 1, "invoice_payments_amount_in_cents": 0, "invoice_payments_referred_amount_in_cents": 0, "invoices_amount_in_cents": null, "invoices_count": null, "is_deceased": false, "is_donor": false, "is_fundraiser": false, "is_ignore_donation_limits": false, "is_leaderboardable": true, "is_mobile_bad": false, "is_possible_duplicate": false, "is_profile_private": false, "is_profile_searchable": true, "is_prospect": false, "is_supporter": true, "is_survey_question_private": false, "language": "EN", "last_call_id": 2378, "last_contacted_at": null, "last_contacted_by": null, "last_donated_at": "2014-02-02T11:51:23-05:00", "last_fundraised_at": "2014-01-01T11:51:23-05:00", "last_invoice_at": null, "last_rule_violation_at": null, "legal_name": null, "locale": "en", "mailing_address": null, "marital_status": "S", "media_market_name": null, "meetup_address": null, "middle_name": "T.", "mobile_normalized": null, "nbec_precinct_code": null, "note_updated_at": "2014-01-01T11:51:23-05:00", "outstanding_invoices_amount_in_cents": null, "outstanding_invoices_count": null, "overdue_invoices_count": 0, "page_slug": null, "parent": null, "parent_id": null, "party_member": false, "phone_normalized": null, "phone_time": "daytime", "precinct_code": null, "precinct_name": null, "prefix": null, "previous_party": "U", "primary_email_id": 1, "priority_level": 4, "priority_level_changed_at": null, "profile_content": "I support Abraham Lincoln for President.", "profile_content_html": null, "profile_headline": "Abe is back!", "received_capital_amount_in_cents": 1500, "recruiter": { "birthdate": null, "city_district": null, "civicrm_id": null, "county_district": null, "county_file_id": null, "created_at": "2014-02-11T10:21:43-05:00", "do_not_call": false, "do_not_contact": false, "dw_id": null, "email": "carol@example.com", "email_opt_in": true, "employer": null, "external_id": null, "federal_district": null, "fire_district": null, "first_name": "Carol", "has_facebook": false, "id": 19652, "is_twitter_follower": false, "is_volunteer": false, "judicial_district": null, "labour_region": null, "last_name": "Smith", "linkedin_id": null, "mobile": null, "mobile_opt_in": true, "nbec_guid": null, "ngp_id": null, "note": null, "occupation": null, "party": null, "pf_strat_id": null, "phone": null, "precinct_id": null, "primary_address": null, "recruiter_id": null, "rnc_id": null, "rnc_regid": null, "salesforce_id": null, "school_district": null, "school_sub_district": null, "sex": null, "state_file_id": null, "state_lower_district": null, "state_upper_district": null, "support_level": null, "supranational_district": null, "tags": [], "twitter_id": null, "twitter_name": null, "updated_at": "2014-02-11T10:21:43-05:00", "van_id": null, "village_district": null }, "recruits_count": 0, "registered_address": null, "registered_at": null, "religion": null, "rule_violations_count": 0, "spent_capital_amount_in_cents": 400, "submitted_address": "123 Main St Portland, ME 04101", "subnations": ["abeforprez", "operalovers"], "suffix": null, "support_level_changed_at": "2014-01-01T11:51:23-05:00", "support_probability_score": null, "turnout_probability_score": null, "twitter_address": null, "twitter_description": "Animal lover.", "twitter_followers_count": 564, "twitter_friends_count": 32, "twitter_location": "Dallas, TX", "twitter_login": "trinity", "twitter_updated_at": "2014-01-01T11:51:23-05:00",, "twitter_website": "http://mytwittersite.com", "unsubscribed_at": null, "user_submitted_address": null, "username": "trinity", "warnings_count": 0, "website": "http://mywebsite.com", "work_address": null, "work_phone_number": null }, "author" : { "birthdate": "1963-02-02", "city_district": null, "civicrm_id": 7, "county_district": "11", "county_file_id": "97076395", "created_at": "2014-02-11T10:21:43-05:00", "do_not_call": false, "do_not_contact": false, "dw_id": null, "email": "byron@foobarsoftwares.com", "email_opt_in": true, "employer": "Sun Film Foundation", "external_id": "781986", "federal_district": "0", "fire_district": null, "first_name": "Alice", "has_facebook": false, "id": 9, "is_twitter_follower": false, "is_volunteer": false, "judicial_district": null, "labour_region": null, "last_name": "Burgers", "linkedin_id": null, "mobile": "5738882938", "mobile_opt_in": true, "nbec_guid": "000099dc-00f0-11e2-b349-27c4eb6c1979", "ngp_id": null, "note": "Has 3 kids. Ask about the baby on the way", "occupation": "Community Organizer", "party": "P", "pf_strat_id": 91207702, "phone": "2156726335", "precinct_id": null, "primary_address": null, "recruiter_id": null, "rnc_id": 2653431, "rnc_regid": "003F4ED9-3C5C-4E15-8178-B84920F41BFF", "salesforce_id": null, "school_district": "Chicago Public Schools", "school_sub_district": null, "sex": "F", "state_file_id": "100000012", "state_lower_district": "024", "state_upper_district": "1", "support_level": 1, "supranational_district": "Eastern Euro Region", "tags": [], "twitter_id": "63403772", "twitter_name": "AngryPig", "updated_at": "2014-02-11T10:21:43-05:00", "van_id": "2", "village_district": null, "active_customer_expires_at": null, "active_customer_started_at": null, "author": null, "author_id": null, "auto_import_id": null, "availability": "anytime", "banned_at": null, "billing_address": null, "bio": "Specialist in management and business growth.", "call_status_id": 5, "call_status_name": "no-answer", "capital_amount_in_cents": 5900, "children_count": 2, "church": "Liberty Church", "city_sub_district": "DOWNTOWN LOS ANGELES", "closed_invoices_amount_in_cents": null, "closed_invoices_count": null, "contact_status_id": 3, "contact_status_name": "Answered", "could_vote_status": -1, "demo": "W", "donations_amount_in_cents": 0, "donations_amount_this_cycle_in_cents": 0, "donations_count": 0, "donations_count_this_cycle": 0, "donations_pledged_amount_in_cents": 0, "donations_raised_amount_in_cents": 0, "donations_raised_amount_this_cycle_in_cents": 0, "donations_raised_count": 0, "donations_raised_count_this_cycle": 0, "donations_to_raise_amount_in_cents": 0, "email1": "byron@foobarsoftwares.com", "email1_is_bad": false, "email2": null, "email2_is_bad": false, "email3": null, "email3_is_bad": false, "email4": null, "email4_is_bad": false, "ethnicity": null, "facebook_address": null, "facebook_profile_url": null, "facebook_updated_at": "2014-02-25T11:22:12-04:00", "facebook_username": "alice", "fax_number": null, "federal_donotcall": false, "first_donated_at": "2013-02-02T11:51:23-05:00", "first_fundraised_at": "2013-04-02T11:51:23-05:00", "first_invoice_at": "2013-01-02T11:51:23-05:00", "first_prospect_at": "2013-06-02T11:51:23-05:00", "first_recruited_at": "2013-11-02T11:51:23-05:00", "first_supporter_at": "2014-02-11T10:21:43-05:00", "first_volunteer_at": "2013-05-02T11:51:23-05:00", "full_name": "Alice Burgers", "home_address": null, "import_id": null, "inferred_party": "H", "inferred_support_level": 1, "invoice_payments_amount_in_cents": 0, "invoice_payments_referred_amount_in_cents": 0, "invoices_amount_in_cents": null, "invoices_count": null, "is_deceased": false, "is_donor": false, "is_fundraiser": false, "is_ignore_donation_limits": false, "is_leaderboardable": true, "is_mobile_bad": false, "is_possible_duplicate": false, "is_profile_private": false, "is_profile_searchable": true, "is_prospect": false, "is_supporter": true, "is_survey_question_private": false, "language": "EN", "last_call_id": 2378, "last_contacted_at": null, "last_contacted_by": null, "last_donated_at": "2014-02-02T11:51:23-05:00", "last_fundraised_at": "2014-01-01T11:51:23-05:00", "last_invoice_at": null, "last_rule_violation_at": null, "legal_name": null, "locale": "en", "mailing_address": null, "marital_status": "S", "media_market_name": null, "meetup_address": null, "middle_name": "T.", "mobile_normalized": null, "nbec_precinct_code": null, "note_updated_at": "2014-01-01T11:51:23-05:00", "outstanding_invoices_amount_in_cents": null, "outstanding_invoices_count": null, "overdue_invoices_count": 0, "page_slug": null, "parent": null, "parent_id": null, "party_member": false, "phone_normalized": null, "phone_time": "daytime", "precinct_code": null, "precinct_name": null, "prefix": null, "previous_party": "U", "primary_email_id": 1, "priority_level": 4, "priority_level_changed_at": null, "profile_content": "I support Abraham Lincoln for President.", "profile_content_html": null, "profile_headline": "Abe is back!", "received_capital_amount_in_cents": 6300, "recruiter": null, "recruits_count": 0, "registered_address": null, "registered_at": null, "religion": null, "rule_violations_count": 0, "spent_capital_amount_in_cents": 400, "submitted_address": "123 Main St Portland, ME 04101", "subnations": ["abeforprez", "operalovers"], "suffix": null, "support_level_changed_at": "2014-01-01T11:51:23-05:00", "support_probability_score": null, "turnout_probability_score": null, "twitter_address": null, "twitter_description": "Animal lover.", "twitter_followers_count": 564, "twitter_friends_count": 32, "twitter_location": "Dallas, TX", "twitter_login": "trinity", "twitter_updated_at": "2014-01-01T11:51:23-05:00",, "twitter_website": "http://mytwittersite.com", "unsubscribed_at": null, "user_submitted_address": null, "username": "trinity", "warnings_count": 0, "website": "http://mywebsite.com", "work_address": null, "work_phone_number": null } } }, "token": "sharedsecret", "version": 4 }

Past versions (version 3 and below)

People webhooks with version 3 and below will keep receiving an earlier version of the webhook payload. For the people webhook to return a different version of the payload, the existing people webhook has to be edited on the Control Panel.

Person Created and Person Changed

POST http://www.example.com/webhook

{
  "nation_slug": "foobar",
  "payload": {
    "signup": {
      "nationbuilder_id": 65536,
      "twitter_id": "63403772",
      "twitter_login": "trinity",
      "meetup_id": null,
      "civicrm_id": 7,
      "external_id": "781986",
      "salesforce_id": null,
      "prefix": null,
      "first_name": "John",
      "middle_name": "T.",
      "last_name": "Doe",
      "suffix": null,
      "full_name": "John Doe",
      "legal_name": null,
      "employer": "Sun Film Foundation",
      "occupation": "Community Organizer",
      "sex": "F",
      "party": "P",
      "religion": null,
      "church": "Liberty Church",
      "ethnicity": null,
      "marital_status": "S",
      "website": "http://mywebsite.com",
      "language": "EN",
      "is_deceased": false,
      "born_at": null,
      "email1": "person@example.com",
      "email2": null,
      "email3": null,
      "email4": null,
      "email_opt_in": true,
      "phone_number": "3421882938",
      "work_phone_number": "54448882938",
      "do_not_call": false,
      "do_not_contact": false,
      "federal_donotcall": false,
      "mobile_number": "3338882938",
      "mobile_opt_in": true,
      "is_mobile_bad": false,
      "fax_number": "5738882938",
      "household_size": null,
      "demo": "W",
      "support_level": 1,
      "inferred_support_level": 1,
      "priority_level": 4,
      "availability": "anytime",
      "note": "Has 3 kids. Ask about the baby on the way",
      "parent_id": null,
      "point_person_name_or_email": null,
      "recruiter_id": null,
      "recruiter_name_or_email": null,
      "tag_list": "donor",
      "created_at": "02\/01\/2013  3:54 PM",
      "unsubscribed_at": null,
      "is_supporter": true,
      "is_prospect": false,
      "is_volunteer": false,
      "is_donor": null,
      "is_fundraiser": false,
      "is_ignore_donation_limits": false,
      "first_donated_at": "2013-02-02T11:51:23-05:00",
      "last_donated_at": "2014-02-02T11:51:23-05:00",
      "donations_count": 0,
      "donations_amount": "$0.00",
      "donations_amount_in_cents": 0,
      "donations_raised_count": 0,
      "donations_raised_amount": "$0.00",
      "donations_raised_amount_in_cents": 0,
      "donations_pledged_amount": "$0.00",
      "donations_pledged_amount_in_cents": 0,
      "donations_count_this_cycle": 0,
      "donations_amount_this_cycle": "$0.00",
      "donations_amount_this_cycle_in_cents": 0,
      "donations_raised_count_this_cycle": 0,
      "donations_raised_amount_this_cycle": "$0.00",
      "donations_raised_amount_this_cycle_in_cents": 0,
      "maximum_donation_possible_this_cycle": "$0.00",
      "maximum_donation_possible_this_cycle_in_cents": 0,
      "assistant_first_name": null,
      "assistant_last_name": null,
      "assistant_email": null,
      "assistant_phone": null,
      "assistant_mobile": null,
      "assistant_work_phone": null,
      "nbec_guid": "000099dc-00f0-11e2-b349-27c4eb6c1979",
      "pf_strat_id": 91207702,
      "state_file_id": "100000012",
      "county_file_id": "97076395",
      "dw_id": null,
      "van_id": "2",
      "ngp_id": null,
      "pf_matchkey": null,
      "previous_party": "U",
      "inferred_party": "H",
      "federal_district": "0",
      "state_upper_district": "1",
      "state_lower_district": "024",
      "county_district": "11",
      "city_district": null,
      "village_district": null,
      "judicial_district": null,
      "school_district": "Chicago Public Schools",
      "school_sub_district": null,
      "fire_district": null,
      "precinct_name": null,
      "precinct_code": null,
      "media_market_name": null,
      "support_probability_score": null,
      "turnout_probability_score": null,
      "capital_amount": null,
      "capital_amount_in_cents": 500,
      "spent_capital_amount": null,
      "spent_capital_amount_in_cents": 0,
      "received_capital_amount": null,
      "received_capital_amount_in_cents": 500
    }
  },
  "token": "sharedsecret",
  "version": 2
}

Person Contacted

POST http://www.example.com/webhook

{
  "nation_slug": "foobar",
  "payload": {
    "signup_call": {
      "contact_method_id": 0,
      "contact_method_name": "Other",
      "contact_status_id": 4,
      "contact_status_name": "Meaningful interaction",
      "call_type_id": 6,
      "call_type_name": "Thank you",
      "support_level": 1,
      "priority_level": 4,
      "signup": {
        "nationbuilder_id": 22,
        "twitter_id": "63403772",
        "twitter_login": "trinity",
        "meetup_id": null,
        "civicrm_id": 7,
        "external_id": "",
        "salesforce_id": null,
        "prefix": null,
        "first_name": "John",
        "middle_name": "T.",
        "last_name": "Doe",
        "suffix": null,
        "full_name": "John Doe",
        "legal_name": null,
        "employer": "Better World Ltd.",
        "occupation": "organizer",
        "sex": "M",
        "party": "P",
        "religion": "",
        "church": "",
        "ethnicity": "",
        "marital_status": "S",
        "website": "http://mywebsite.com",
        "language": "EN",
        "is_deceased": false,
        "born_at": null,
        "email1": null,
        "email2": null,
        "email3": null,
        "email4": null,
        "email_opt_in": true,
        "phone_number": "445554455",
        "work_phone_number": "5738882938",
        "do_not_call": false,
        "do_not_contact": false,
        "federal_donotcall": false,
        "mobile_number": "3338882938",
        "mobile_opt_in": true,
        "is_mobile_bad": false,
        "fax_number": "6638882938",
        "household_size": null,
        "demo": "",
        "support_level": 1,
        "inferred_support_level": 1,
        "priority_level": 4,
        "availability": "daytime",
        "note": "Has 3 kids. Ask about the baby on the way",
        "parent_id": 9,
        "point_person_name_or_email": "Byron Anderson",
        "recruiter_id": null,
        "recruiter_name_or_email": null,
        "tag_list": "foobartag, foobartag, left_feedback, tester",
        "created_at": "10\/17\/2012 10:40 AM",
        "unsubscribed_at": null,
        "is_supporter": true,
        "is_prospect": false,
        "is_customer": null,
        "first_invoice_at": "2013-01-02T11:51:23-05:00",
        "last_invoice_at": null,
        "active_customer_started_at": null,
        "active_customer_expires_at": null,
        "invoices_count": 0,
        "closed_invoices_count": 0,
        "outstanding_invoices_count": 0,
        "invoices_amount_in_cents": 0,
        "invoices_amount": "$0.00",
        "closed_invoices_amount_in_cents": 0,
        "closed_invoices_amount": "$0.00",
        "outstanding_invoices_amount_in_cents": 0,
        "outstanding_invoices_amount": "$0.00",
        "invoice_payments_amount_in_cents": 0,
        "invoice_payments_amount": "$0.00",
        "invoice_payments_referred_amount_in_cents": 0,
        "assistant_first_name": null,
        "assistant_last_name": null,
        "assistant_email": null,
        "assistant_phone": null,
        "assistant_mobile": null,
        "assistant_work_phone": null,
        "capital_amount": null,
        "capital_amount_in_cents": 1100,
        "spent_capital_amount": null,
        "spent_capital_amount_in_cents": 400,
        "received_capital_amount": null,
        "received_capital_amount_in_cents": 1500
      },
      "author": {
        "nationbuilder_id": 9,
        "twitter_id": "16378705",
        "twitter_login": "ByronAnderson",
        "meetup_id": null,
        "civicrm_id": 7,
        "external_id": "",
        "salesforce_id": null,
        "prefix": null,
        "first_name": "Byron",
        "middle_name": "",
        "last_name": "Anderson",
        "suffix": "",
        "full_name": "Byron Anderson",
        "legal_name": null,
        "employer": "Texas Instruments",
        "occupation": "engineer",
        "sex": "M",
        "party": "P",
        "religion": "",
        "church": "",
        "ethnicity": "",
        "marital_status": "S",
        "website": "http:\/\/www.foobarsoftwares.com\/",
        "language": "EN",
        "is_deceased": false,
        "born_at": null,
        "email1": "byron@foobarsoftwares.com",
        "email2": null,
        "email3": null,
        "email4": null,
        "email_opt_in": false,
        "phone_number": "5738882938",
        "work_phone_number": "5738882938",
        "do_not_call": false,
        "do_not_contact": false,
        "federal_donotcall": false,
        "mobile_number": "5738882938",
        "mobile_opt_in": false,
        "is_mobile_bad": false,
        "fax_number": "5738882938",
        "household_size": null,
        "demo": "",
        "support_level": 1,
        "inferred_support_level": 1,
        "priority_level": 4,
        "availability": "anytime",
        "note": "Has 3 kids. Ask about the baby on the way",
        "parent_id": null,
        "point_person_name_or_email": null,
        "recruiter_id": null,
        "recruiter_name_or_email": null,
        "tag_list": "foobartag, left_feedback, byron",
        "created_at": "10\/01\/2012 12:53 PM",
        "unsubscribed_at": "2013-05-30T10:28:01-07:00",
        "is_supporter": true,
        "is_prospect": false,
        "is_customer": null,
        "first_invoice_at": "2013-01-02T11:51:23-05:00",
        "last_invoice_at": null,
        "active_customer_started_at": null,
        "active_customer_expires_at": null,
        "invoices_count": 0,
        "closed_invoices_count": 0,
        "outstanding_invoices_count": 0,
        "invoices_amount_in_cents": 0,
        "invoices_amount": "$0.00",
        "closed_invoices_amount_in_cents": 0,
        "closed_invoices_amount": "$0.00",
        "outstanding_invoices_amount_in_cents": 0,
        "outstanding_invoices_amount": "$0.00",
        "invoice_payments_amount_in_cents": 0,
        "invoice_payments_amount": "$0.00",
        "invoice_payments_referred_amount_in_cents": 0,
        "assistant_first_name": null,
        "assistant_last_name": null,
        "assistant_email": null,
        "assistant_phone": null,
        "assistant_mobile": null,
        "assistant_work_phone": null,
        "capital_amount": null,
        "capital_amount_in_cents": 5900,
        "spent_capital_amount": null,
        "spent_capital_amount_in_cents": 400,
        "received_capital_amount": null,
        "received_capital_amount_in_cents": 6300,
        "address": {
          "country_code": "US",
          "country": "United States",
          "state": "CA",
          "city": "Pasadena",
          "county": "",
          "zip": "91101",
          "address1": "123 Fake St",
          "address2": null,
          "address3": null,
          "fips": null
        }
      }
    }
  },
  "token": "sharedsecret",
  "version": 2
}

Showing 4 reactions

Wrap code snippets in <code></code> tags.
Please check your e-mail for a link to activate your account.