User Account

Get the current plan

Get a summary of the workspace's current subscriptions and privileges.

This operation requires a workspace API key; chatbot-scoped keys get a 403.

get/current-plan

Request

  • Base URL: https://api.chat-data.com/api/v2
  • URL: https://api.chat-data.com/api/v2/current-plan
  • Auth: HTTP bearer

Response

Successful response.

status'success' required
emailstring required

The email address of the workspace owner.

namestring required

The name of the workspace owner.

Example response

{
  "email": "jane@example.com",
  "name": "Jane Doe",
  "plan": {
    "subscriptions": {
      "free": 1,
      "entry": 0,
      "standard": 1,
      "professional": 0,
      "customize_plan_1": 0,
      "extra_chatbots": 0,
      "extra_messages": 0,
      "live_chat": 0,
      "remove_brand": 0,
      "remove_label": 0,
      "webhook_delivery": 0,
      "sso_login": 0,
      "storage": 0,
      "scrape": 0,
      "entry_legacy": 0
    },
    "remainingTrainingChars": 50000000,
    "refreshingTrainingChars": 110000000,
    "remainingCredits": 5000,
    "refreshingCredits": 10000,
    "chatbots": 2,
    "chatbotsLimit": 5,
    "chatbotCharactersLimit": 11000000,
    "gatherLeads": true,
    "customDomain": true,
    "api": true,
    "customModel": true,
    "userAnalysis": true,
    "shareAnalysis": true,
    "notification": true,
    "gpt4": true,
    "files": 2560
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.