ads
GET /v1/public/ads/call-numbers/{pool_key}
The tracking number a site visitor from an ad is shown (dynamic number insertion).
Authentication
This endpoint is public. It takes no credential and no organisation — it is what our own marketing site and AI answer engines read.
This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.
Try it
Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.
curl -X GET https://api.zinndigital.com/v1/public/ads/call-numbers/{pool_key}Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console
Details
Anonymous and cross-origin by design (Access-Control-Allow-Origin: *): the customer's site snippet calls it with the visit's click id, and it answers one of the account's pool numbers (the one given out longest ago), remembered with that click id for the session window so a call to it is attributed. No click id, an unknown key or no active number → 204 (the site keeps its own number). No cookie is read.
Parameters
| Name | Type | Required | What it is |
|---|---|---|---|
pool_key (path) | string | Yes | — |
gclid (query) | string | No | — |
msclkid (query) | string | No | — |
consent (query) | string | No | — |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
phone_number | string | Yes | — |
Errors this endpoint can return
429