Skip to main content
GET
/
v0
/
w
/
brands
/
{brandId}
/
users
/
{userId}
Fetch Whitelabel User
curl --request GET \
  --url https://sitegpt.ai/api/v0/w/brands/{brandId}/users/{userId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "Fetched the whitelabel user successfully",
  "data": {
    "whitelabelUser": {
      "id": "401577831134278614",
      "brandId": "401537586571228250",
      "email": "dheeraj@sitegpt.ai",
      "name": "",
      "profilePic": "",
      "chatbotsQuota": 1,
      "linksQuota": 25,
      "filesQuota": 10,
      "combinedMessagesQuota": 25,
      "membersQuota": 1,
      "apiKey": "7f488a50-8a5a-9e34-9a04-1dad5bd548c3",
      "features": {
        "watermark": false,
        "api": true,
        "webhooks": false,
        "functions": false,
        "integrations": false,
        "googleChatIntegration": false,
        "messengerChatIntegration": false,
        "crispChatIntegration": false,
        "slackChatIntegration": false,
        "zendeskChatIntegration": false
      },
      "createdAt": "2024-06-24T11:38:34.228989Z",
      "updatedAt": "2024-06-27T13:42:38.046991Z"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

userId
string
required

Id of the whitelabel user

brandId
string
required

Id of the whitelabel brand

Query Parameters

includeApiKey
boolean
default:false

Option to decide whether to include API key in the response or not

includeFeatures
boolean
default:false

Option to decide whether to include features in the response or not

Response

OK

success
boolean

Indicates whether this is success response or error response

message
string

Overall message regarding the operation performed

data
object

Data returned from the server

I