cURL
curl --request GET \ --url https://api.prelude.dev/v2/session/apps/{appID}/domains \ --header 'Authorization: Bearer <token>'
{ "domains": [ { "id": "<string>", "domain": "<string>", "status": "active", "cname_record": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } ] }
List all domains for an application.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The id of the app the request refers to. An application's unique identifier.
OK
Show child attributes
A domain name's unique identifier. It is prefixed with 'dom_'
The domain name linked to your application.
255
active
pending
The CNAME value to add to your DNS settings. This is used to verify the domain ownership. The CNAME key should be the domain name linked to your application.