A verified domain's brand.json
GET
/.well-known/brand.json
const url = 'http://localhost:3000/.well-known/brand.json';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:3000/.well-known/brand.jsonOn an organization’s verified domain, where AdCP’s agents look: an Authoritative Location Redirect to its brand’s brand.json on BrandHub. Its public brands (on a portal’s domain, those the portal shows): the one whose domain the host proves, else the only one, else the default one; with several and none of those, a House Portfolio of them, inline. 404 on any other host, or with nothing public.
No key needed.
Responses
Section titled “Responses”An AdCP brand.json
Media typeapplication/json
object
key
additional properties
Examplegenerated
{ "additionalProperty": "example"}default
Section titled “default”An error
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
detail
Examplegenerated
{ "error": { "code": "example", "message": "example", "detail": "example" }}