How Do I Add Online Donations via Isp’s API?

ISPolitical supports submissions of online donations and other public forms via a rest API. If this is your first time with API submissions, please read up on the authentication requirements and process in ISP.

Below is an API sample submission for a monetary contribution. Additional data may be submitted. Please see our full list of available fields.

Sample Submission

{
   "NamePrefix":"Mr.",
   "FirstName":"Abraham",
   "MiddleName":"",
   "LastName":"Lincoln",
   "NameSuffix":"",
   "Nickname":"Abe",
   "Occupation":"President",
   "Employer":"The United States",
   "AddressType":"Work",
   "Company":"The White House",
   "Line1":"1600 Pennsylvania Ave NW",
   "Line2":"",
   "City":"Washington",
   "State":"DC",
   "ZipCode":"20500",
   "Notes":"Good luck with the campaign!",
   "Source":"Fall Fundraiser",
   "Transactions":[
      {
         "Amount":"500",
         "Date":"1862-12-21",
         "NoteForInternal":"Friends of Abe Club"
      }
   ],
   "Emails":[
      {
         "EmailAddress":"abelinc@gmail.com"
      }
   ],
   "Phones":[
      {
         "PhoneNumber":"(202) 456-1111",
         "PhoneType":"Work"
      },
      {
         "PhoneNumber":"(202) 456-1000",
         "PhoneType":"Mobile"
      }
   ]
}