Whitelabel
Update Whitelabel User
API Documentation
Chatbot Appearance
Chatbot Custom Content
Chatbot Follow Up Prompts
Chatbot Icons
Chatbot Links
Chatbot Messages
Chatbot Personas
Chatbot Prompts
Chatbot Quick Prompts
Chatbot Settings
Chatbot Threads
Whitelabel
Update Whitelabel User
Update user of your whitelabel brand.
Pre-requisities:
- You have to be a whitelabel customer in SiteGPT.
- You need to create and configure your own brand in SiteGPT dashboard.
PATCH
/
v0
/
w
/
brands
/
{brandId}
/
users
/
{userId}
curl --request PATCH \
--url https://sitegpt.ai/api/v0/w/brands/{brandId}/users/{userId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"chatbotsQuota": 1,
"linksQuota": 100,
"filesQuota": 25,
"combinedMessagesQuota": 250,
"membersQuota": 2,
"features": {
"api": true
}
}'
{
"success": true,
"message": "Updated the whitelabel user of the brand successfully",
"data": {
"whitelabelUser": {
"id": "332153612345906321",
"brandId": "332110515123458123",
"email": "user@example.com",
"name": "",
"profilePic": "",
"chatbotsQuota": 2,
"linksQuota": 20,
"filesQuota": 5,
"combinedMessagesQuota": 25,
"membersQuota": 2,
"features": {
"watermark": false,
"api": true,
"webhooks": false,
"functions": false,
"integrations": false,
"googleChatIntegration": false,
"messengerChatIntegration": false,
"crispChatIntegration": false,
"slackChatIntegration": false,
"zendeskChatIntegration": false
},
"createdAt": "2024-02-05T13:35:44.155845Z",
"updatedAt": "2024-02-05T13:35:44.155845Z"
}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Id of the whitelabel user
Id of the whitelabel brand
Body
application/json
Request body to update the whitelabel user of your brand.
The body is of type object
.
Response
200
application/json
OK
The response is of type object
.
Was this page helpful?
curl --request PATCH \
--url https://sitegpt.ai/api/v0/w/brands/{brandId}/users/{userId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"chatbotsQuota": 1,
"linksQuota": 100,
"filesQuota": 25,
"combinedMessagesQuota": 250,
"membersQuota": 2,
"features": {
"api": true
}
}'
{
"success": true,
"message": "Updated the whitelabel user of the brand successfully",
"data": {
"whitelabelUser": {
"id": "332153612345906321",
"brandId": "332110515123458123",
"email": "user@example.com",
"name": "",
"profilePic": "",
"chatbotsQuota": 2,
"linksQuota": 20,
"filesQuota": 5,
"combinedMessagesQuota": 25,
"membersQuota": 2,
"features": {
"watermark": false,
"api": true,
"webhooks": false,
"functions": false,
"integrations": false,
"googleChatIntegration": false,
"messengerChatIntegration": false,
"crispChatIntegration": false,
"slackChatIntegration": false,
"zendeskChatIntegration": false
},
"createdAt": "2024-02-05T13:35:44.155845Z",
"updatedAt": "2024-02-05T13:35:44.155845Z"
}
}
}