curl --request GET \
--url https://sitegpt.ai/api/v0/w/brands \
--header 'Authorization: Bearer <token>'
{
"success": "string",
"message": "string",
"data": {
"brands": [
{
"id": "38591051554671453681",
"name": "PSDK",
"domain": "app.brand.com",
"marketingDomain": "brand.com",
"supportEmail": "support@brand.com",
"color": "#000000",
"createdAt": "2024-01-03T14:23:17.043394Z",
"updatedAt": "2024-01-09T10:52:53.631589Z",
"metaDetails": {
"title": "Number One brand",
"description": "Number One brand for everything",
"ogImage": "https://sitegpt.ai/cdn-cgi/imagedelivery/AIHFDBHjnhbc/vcedv443r-cr5t-3rf5-d863-dckljdcdkc3/square"
},
"terms": "https://brand.com/terms",
"privacyPolicy": "https://brand.com/privacy",
"ownedById": "360596271623302134",
"logo": "https://sitegpt.ai/cdn-cgi/imagedelivery/hQTLE0NTlcNyb_tOYFnnyA/8d988e1f-2ea1-4b38-2d5d-1fc812560400/square",
"fullLogo": "https://sitegpt.ai/cdn-cgi/imagedelivery/hQTLE0NTlcNyb_tOYFnnyA/85052523-9a79-4dd8-f7d3-60a53175ef00/square",
"emailSettings": {
"resendApiKey": "rs_api_12e2e2cvwev",
"fromName": "Brand",
"fromEmail": "login@resend.app.brand.com",
"replyToEmail": "support@brand.com"
},
"defaultQuota": {
"chatbotsQuota": 1,
"linksQuota": 10,
"filesQuota": 5,
"combinedMessagesQuota": 20,
"membersQuota": 1
}
}
]
}
}
Fetch all of your whitelabel brands
curl --request GET \
--url https://sitegpt.ai/api/v0/w/brands \
--header 'Authorization: Bearer <token>'
{
"success": "string",
"message": "string",
"data": {
"brands": [
{
"id": "38591051554671453681",
"name": "PSDK",
"domain": "app.brand.com",
"marketingDomain": "brand.com",
"supportEmail": "support@brand.com",
"color": "#000000",
"createdAt": "2024-01-03T14:23:17.043394Z",
"updatedAt": "2024-01-09T10:52:53.631589Z",
"metaDetails": {
"title": "Number One brand",
"description": "Number One brand for everything",
"ogImage": "https://sitegpt.ai/cdn-cgi/imagedelivery/AIHFDBHjnhbc/vcedv443r-cr5t-3rf5-d863-dckljdcdkc3/square"
},
"terms": "https://brand.com/terms",
"privacyPolicy": "https://brand.com/privacy",
"ownedById": "360596271623302134",
"logo": "https://sitegpt.ai/cdn-cgi/imagedelivery/hQTLE0NTlcNyb_tOYFnnyA/8d988e1f-2ea1-4b38-2d5d-1fc812560400/square",
"fullLogo": "https://sitegpt.ai/cdn-cgi/imagedelivery/hQTLE0NTlcNyb_tOYFnnyA/85052523-9a79-4dd8-f7d3-60a53175ef00/square",
"emailSettings": {
"resendApiKey": "rs_api_12e2e2cvwev",
"fromName": "Brand",
"fromEmail": "login@resend.app.brand.com",
"replyToEmail": "support@brand.com"
},
"defaultQuota": {
"chatbotsQuota": 1,
"linksQuota": 10,
"filesQuota": 5,
"combinedMessagesQuota": 20,
"membersQuota": 1
}
}
]
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
OK
The response is of type object
.
Was this page helpful?