org_unit_id — Org unit IDprovisioned_route_id — Tracking number or number pool IDdestination_url — Host domain (e.g., example.com)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 configurationdni_type — Defaults to 'session'referrer_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 formatdni_ttl — Time to live in minutes (only for number pools)curl --location 'https://platform-api.convirza.com/v3/dni/create' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"dni_setting": {
"destination_url": "mycompany.com",
"dni_setting_name": "Google Ads - Q1 Campaign",
"referrer": "*.google.*",
"referrer_type": "paid",
"dni_element": ".contact-phone",
"dni_type": "source",
"dni_number_format": "(xxx) xxx-xxxx",
"dni_keywords": "google,ppc,adwords",
"custom_cookie": "utm_source,utm_campaign,utm_medium",
"org_unit_id": 70035,
"identifier": "",
"provisioned_route_id": "12345"
}
}'{
"code": 200,
"message": "success",
"request_id": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2026-04-22T10:30:00.000Z",
"data": {
"dni_setting_id": 789
}
}