API - Targeted Letter Activity Data


There are two main components of the Targeted Letter detail:

  • Letters
  • Targets that received the letter

The returned payload will provide this information within a hierarchical structure that starts with the letters attribute of the payload.

In addition to the Base Detail, the following will be returned: 

letters Contains the list of letters that were send Array of Letter objects, and there will always be at least 1


Letters Object

name Name of the letter 64 characters in length
subject Subject of the letter 255 characters in length
message Body of the letter Blob of text
additionalComment Optional comment written by the supporter Blob of text
messageWasModified Flag to indicate if the supporter modified the message Either True or False
targets Contains the list of targets that were send that letter Array of Target objects and each letter will contain at least 1


Targets Object

targetId The unique ID of the target 36 character UUID false
targetName Name of the target 64 characters false
targetTitle Title of the Target 128 characters false
politicalParty Poliical party of the target

128 characters

  • Only applicable to US Federal, State, and County legislators
targetType Type of the target

64 characters

Will be one of

  • Federal Executive
  • Federal Senate
  • Federal House
  • State Executive
  • State Senate
  • State House
  • US County
  • US Municipality
  • Custom Target
state State which the target resides Full state name true
districtId District Id of the target 32 characters true
districtName District Name 128 Characters true
role The role of the target 128 Characters true
department The department of the target 128 Characters true

Targeted Letter Example Output:

                            "activityFormName":"Activity Name",
                            "letters":[{"name":"Letter 1", "subject":"subject", "message":"message", "additionalComment":"additionalComment",
                                            "targets":[{"targetId":"6c4da70a-3e4c-4d3d-b757-bcc20bcc2570","targetName":"target name",
                                                            "targetTitle":"target title","politicalParty":"party", "targetType":"target type","state":"New York",
                                                            "districtId":"districtId","districtName":"district name","role":"role","department":"department"
Have more questions? Submit a request
Powered by Zendesk