Domains
List custom domains
The deployment's custom domains, with their status and the DNS records to create.
get/v2/pens/{id}/domains
Request
- Base URLhttps://api.codepen.io
- Auth
- HTTP bearer
- or API key in header X-API-Key
Response
The deployment's custom domains.
Example response
[
{
"dns": [
{
"name": "www",
"type": "CNAME",
"value": "custom.codepen.app"
}
]
}
]Changes
No recorded changes to this operation across all 1 revision of this API.