domains
GET /v1/domains/{domainId}/contacts
The registrant contact on public WHOIS for this domain.
Autenticación
Envía una clave de API como token de portador. Este endpoint no especifica un permiso concreto en la especificación, así que otorga a tu clave los mínimos privilegios necesarios y comprueba la respuesta en lugar de dar por sentado.
Este endpoint no requiere ningún id de organización. Su clave ya identifica la organización a la que pertenece, y la respuesta está delimitada a ella.
Pruébalo
Reemplaza cualquier elemento entre corchetes angulares por tus propios valores, y el marcador de posición key con una clave de tu panel de control.
curl -X GET https://api.zinndigital.com/v1/domains/{domainId}/contacts \
-H "Authorization: Bearer zdk_live_…"¿Has iniciado sesión? La consola de la API en tu panel de control rellena el ID de tu organización real y tu propia clave, y ejecuta la solicitud contra la API en vivo para que puedas ver la respuesta real. Abre este endpoint en la consola de la API
Detalles
Who the registry believes owns this domain. `contact` is `null` where we hold none — deliberately, because "we have no contact" and "the contact is blank" are different facts and an empty object asserts the second. `editable` says whether this domain's registrar publishes a way to change it. It is `false` on the Cloudflare route, which accepts contacts only when the domain is first registered, so the console renders the panel read-only rather than offering a control that would answer 422.
Parámetros
| Nombre | Tipo | Obligatorio | ¿Qué es esto? |
|---|---|---|---|
domainId (path) | Uuid | Sí | The domain's id. |
Respuesta
| Nombre | Tipo | Obligatorio | ¿Qué es esto? |
|---|---|---|---|
contact | DomainContact | null | Sí | — |
editable | boolean | Sí | Whether this domain's registrar publishes a contact-update path. `false` on the Cloudflare route; the console renders the panel read-only rather than offering a control that ans… |
Errores que este endpoint puede devolver
401 · 403 · 404 · 429