List all custom domains for a project

This endpoint lists all custom domains for a project

Endpoint#

/v1/projects/{project_id}/domains

Endpoint Method#

GET

Authentication required?#

Yes. You must set the Authorization header to your persistent token. You can learn how to find it here.

Sample response:#

{
"items": [
{
"hostname":"aboutdavid.me"
},
{
"hostname":"notebook.aboutdavid.me"
},
{
"hostname":"chameleon.js.org"
}
]
}