获取白标品牌
GET
/api/v0/w/brands/{brandId}获取白标品牌
请求参数
Path 参数
brandId
string
必需
白标品牌的 ID
Header 参数
Authorization
string
必需
示例值:
Bearer <token>
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
success
boolean
必需
指示这是成功响应还是错误响应
message
string
必需
有关所执行操作的总体消息
data
object
从服务器返回的数据
brand
object
必需
示例
{
"success": true,
"message": "Fetched the whitelabel brand successfully",
"data": {
"brand": {
"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",
"emailSettings": {
"resendApiKey": "rs_api_12e2e2cvwev",
"fromName": "Brand",
"fromEmail": "login@resend.app.brand.com",
"replyToEmail": "support@brand.com"
},
"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",
"defaultQuota": {
"chatbotsQuota": 1,
"linksQuota": 10,
"filesQuota": 5,
"combinedMessagesQuota": 20,
"membersQuota": 1
}
}
}
}
最后修改时间: 8 个月前