Listings your domain claims
GET
/api/v1/hub/offers
const url = 'http://localhost:3000/api/v1/hub/offers';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
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/api/v1/hub/offers \ --header 'Authorization: Bearer <token>'Public BrandHub listings of other organizations whose domain one of your verified domains proves (the domain, a name under it or above it), whose own organization proved none of it, and that you haven’t refused. Organization admin.
Scope: admin.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The offers
Media typeapplication/json
object
data
required
Array<object>
object
id
required
The listing’s brand
string format: uuid
org
required
string
owner
required
Its organization’s name
string
brand
required
string
name
required
string
domain
required
The domain it names, which your organization proved
string
proof
required
Your verified domain that proves it
string
url
required
Its page on BrandHub
string
Examplegenerated
{ "data": [ { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "org": "example", "owner": "example", "brand": "example", "name": "example", "domain": "example", "proof": "example", "url": "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" }}