Site Studio — Domains
4 Endpunkte. Basis-URL: https://xapi.ambertech.cloud/api/v1
List custom domains for a funnel#
GET
/funnels/{funnelId}/domainsTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
funnelIdPflicht | Pfad | string | – |
Antworten
- 200OK
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/funnels/{funnelId}/domains" \
-H "Authorization: Bearer $XISUITE_TOKEN"Add a custom domain to a funnel#
POST
/funnels/{funnelId}/domainsTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
funnelIdPflicht | Pfad | string | – |
Request-Body
| Name | Typ | Beschreibung |
|---|---|---|
domainPflicht | string | Fully-qualified domain name, e.g. shop.example.com |
Antworten
- 201Erstellt
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/funnels/{funnelId}/domains" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"domain":"…"}'Remove a custom domain#
DELETE
/funnels/{funnelId}/domains/{domainId}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
funnelIdPflicht | Pfad | string | – |
domainIdPflicht | Pfad | string | – |
Antworten
- 204Kein Inhalt
Beispiel (cURL)
curl -X DELETE "https://xapi.ambertech.cloud/api/v1/funnels/{funnelId}/domains/{domainId}" \
-H "Authorization: Bearer $XISUITE_TOKEN"Verify domain ownership via DNS TXT record#
POST
/funnels/{funnelId}/domains/{domainId}/verifyTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
funnelIdPflicht | Pfad | string | – |
domainIdPflicht | Pfad | string | – |
Antworten
- 201Erstellt
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/funnels/{funnelId}/domains/{domainId}/verify" \
-H "Authorization: Bearer $XISUITE_TOKEN"