Add a recipient to an existing campaign via API
User Sets Up Campaign in thanks.io dashboard
List All Mailing Lists
curl -X GET "https://api.thanks.io/api/v2/mailing-lists/" \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_API_KEY"
Add Recipient to Mailing List
curl -X POST "https://api.thanks.io/api/v2/recipients" \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{ "name": "John Doe", "address": "123 Main Street, Any Town, NY 12345", "mailing_list_id": "MAILING_LIST_ID_FROM_PREVIOUS_STEP" }'
Was this page helpful?