cURL
curl --request PATCH \ --url https://api.example.com/v1/domains/{id} \ --header 'Content-Type: application/json' \ --data ' { "click_tracking": true, "open_tracking": true } '
Update domain settings.
curl -X PATCH https://www.unosend.co/api/v1/domains/dom_123 \ -H "Authorization: Bearer un_xxxxxxxxxx" \ -H "Content-Type: application/json" \ -d '{ "click_tracking": true, "open_tracking": true }'
{ "id": "dom_123", "domain": "yourdomain.com", "click_tracking": true, "open_tracking": true }