API Authentication
Authorization
Authorization: Bearer YOUR_ACCESS_TOKEN
curl
curl -X POST "https://api.thanks.io/api/v2/send/postcard" \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{ "recipients": [{ "name": "John Doe", "address": "123 Main Street, Any Town, NY 12345" }], "message": "Hi %FIRST_NAME% - Thank you for your business!", "front_image_url": "https://d2md0c8rpvzmz5.cloudfront.net/inspiration_templates/default10.png" }'
Was this page helpful?