-
Notifications
You must be signed in to change notification settings - Fork 63
Letter_Versions API Endpoints
Walden Bodtker edited this page Feb 11, 2022
·
1 revision
Retrieve all versions of each letter, including the template id, sent out for a campaign.
api/Letter_Versions/:campaignid
Sample query: https://murmuring-headland-63935.herokuapp.com/api/Letter_Versions/1
A list of JSON objects. For details on each parameter retrieved, see the letter_versions
database table.
[
{"id":1,"template_id":"tmpl_1057bb6f50f81fb ","campaign_id":1,"office_division":"Federal","state":null,"county":null,"municipality":null},
{"id":2,"template_id":"tmpl_1057bb6j23k81fg","campaign_id":1,"office_division":"State","state":"California","county":null,"municipality":null},
{"id":3,"template_id":"tmpl_1057bb322qwj2f","campaign_id":1,"office_division":"County","state":"California","county":null,"municipality":null}
]
- Home
- App Logic
- App Structure
- Getting Started
- Local Environment Setup
- Interacting with the Development Database
- User Background
- Features
- Data Structures
- API Quick Reference
- Single Campaign Mode (Beta)
- Front-end
- Components
- Pages
- State Management
- Amplify API reference (Database)
- Lob Mailing API integration
- Auth0 API Integration
- Stripe API integration
- Cicero API Integration
- Twilio API Integration