org_unit_id — Org unit IDprovisioned_route_id — Tracking number or number pool IDdestination_url — Host domain (e.g., example.com)dni_type — DNI type (session/source/url)dni_element — CSS selector/HTML class (e.g., .phone-number)referrer — Referring website (e.g., google.com)dni_setting_name — Display name for this DNI configurationreferrer_type — paid/organic (only for Google/Yahoo)custom_cookie — Custom tracking parametersidentifier — Text placeholder to replace with tracking numberdni_keywords — Keywords for categorizationdni_number_format — Phone number display formatTTL — Time to live in minutes (only for number pools)curl --location --globoff --request PUT 'https://platform-api.convirza.com/v3/dni/{dni_setting_id}' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"dni_setting_name": "Google Paid Campaign - Updated",
"org_unit_id": 70035,
"provisioned_route_id": 123,
"destination_url": "example.com",
"dni_type": "source",
"dni_element": ".phone-number-updated",
"referrer": "google.com",
"referrer_type": "paid",
"custom_cookie": "utm_source,utm_campaign,utm_medium",
"identifier": "PHONE_NUMBER",
"dni_keywords": "google,paid,ppc,updated",
"dni_number_format": "(xxx) xxx-xxxx"
}'{
"code": 200,
"message": "success",
"request_id": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2026-04-22T10:30:00.000Z",
"data": {
"message": "DNI setting updated successfully"
}
}