Plazbot
  1. Workspace
Plazbot
  • Plazbot Developer Hub
  • Automation
    • Update Agente IA Prompt
      POST
  • Contact
    • Get Contacts
      GET
    • Create Contact
      POST
    • Update Contact
      PUT
    • Get Contact By Id
      GET
    • Get Contact By Email
      GET
    • Get Contact By Phone
      GET
    • Update Activities to Contact
      POST
  • Message
    • Send Message Whatsapp
      POST
    • List Conversation
      GET
    • Send Conversation
      POST
  • Opportunity
    • Get Opportunity
      GET
    • Create Opportunity
      POST
    • Get Opportunity by Id
      GET
    • Delete Opportunity
      DELETE
    • Create Activity for Opportunity
      POST
  • Task
    • Create Task
      POST
    • Get Task By Id
      GET
    • Delete Task
      DELETE
  • User
    • Create User
      POST
    • Get Information by Email
      GET
    • Login Access
      POST
    • Send Reset Password
      POST
    • Update Password
      POST
  • Workspace
    • Get Workspace by ID
      GET
  1. Workspace

Get Workspace by ID

GET
/api/workspace/{id}
workspace
Servicio que te extrae toda la información del Workspace, en este servicio se verá información y Id de fases, segmentación, etiquetas asi como de integraciones.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.plazbot.com/api/workspace/'
Response Response Example
[
  {
    "id": "string",
    "userId": "string",
    "name": "string",
    "urlAvatar": "string",
    "status": 0,
    "deletionDate": "2019-08-24T14:15:22Z",
    "lastOpenView": "string",
    "masterOfStates": [
      {
        "id": "string",
        "color": "string",
        "name": "string",
        "stateCode": "string",
        "creationDate": "2019-08-24T14:15:22Z",
        "isDefault": true
      }
    ],
    "masterOfProjects": [
      {
        "id": "string",
        "color": "string",
        "name": "string",
        "stateCode": "string",
        "creationDate": "2019-08-24T14:15:22Z",
        "isDefault": true
      }
    ],
    "masterOfStages": [
      {
        "id": "string",
        "name": "string",
        "color": "string",
        "creationDate": "2019-08-24T14:15:22Z"
      }
    ],
    "masterOfSegmentation": [
      {
        "id": "string",
        "name": "string",
        "creationDate": "2019-08-24T14:15:22Z"
      }
    ],
    "masterOfVariables": [
      {
        "name": "string",
        "type": 1,
        "scope": 1,
        "description": "string",
        "code": "string"
      }
    ],
    "masterOfTags": [
      {
        "id": "string",
        "color": "string",
        "name": "string",
        "status": 0,
        "userCreation": "string",
        "creationDate": "2019-08-24T14:15:22Z",
        "userDelation": "string",
        "delationDate": "2019-08-24T14:15:22Z"
      }
    ],
    "integrations": [
      {
        "id": "string",
        "type": "string",
        "isActive": 0,
        "userCreation": "string",
        "creationDate": "2019-08-24T14:15:22Z",
        "srcName": "string",
        "aliasName": "string",
        "businessId": "string",
        "isApprovedName": true,
        "codeCellphoneNumberId": "string",
        "cellphoneNumber": "string",
        "cellphoneNumberFormat": "string",
        "facebookUserId": "string",
        "facebookAppId": "string",
        "newPin": "string",
        "category": "string",
        "facebookPageId": "string",
        "tokenFacebookPage": "string",
        "instagramPageId": "string",
        "keyConfigschatGPT": [
          {
            "id": "string",
            "name": "string",
            "model": "string",
            "apiKey": "string",
            "isConnected": true
          }
        ]
      }
    ],
    "creationDate": "2019-08-24T14:15:22Z",
    "contactsCount": 0,
    "tasksCount": 0,
    "opportunitiesCount": 0,
    "company": "string",
    "applicationPermissions": {
      "crm": true,
      "voip": true,
      "encuestaSatisfaccion": true
    }
  }
]

Request

Path Params
id
string 
required
Workspace ID

Responses

🟢200OK
text/plain
OK
Body
array of:
id
string  | null 
optional
userId
string  | null 
optional
name
string  | null 
optional
urlAvatar
string  | null 
optional
status
integer <int32>
optional
deletionDate
string <date-time> | null 
optional
lastOpenView
string  | null 
optional
masterOfStates
array[object (masterOfStates_) {6}]  | null 
optional
id
string  | null 
optional
color
string  | null 
optional
name
string  | null 
optional
stateCode
string  | null 
optional
creationDate
string <date-time> | null 
optional
isDefault
boolean  | null 
optional
masterOfProjects
array[object (masterOfProjects_) {6}]  | null 
optional
id
string  | null 
optional
color
string  | null 
optional
name
string  | null 
optional
stateCode
string  | null 
optional
creationDate
string <date-time> | null 
optional
isDefault
boolean  | null 
optional
masterOfStages
array[object (masterOfStages_) {4}]  | null 
optional
id
string  | null 
optional
name
string  | null 
optional
color
string  | null 
optional
creationDate
string <date-time> | null 
optional
masterOfSegmentation
array[object (masterOfSegmentation_) {3}]  | null 
optional
id
string  | null 
optional
name
string  | null 
optional
creationDate
string <date-time> | null 
optional
masterOfVariables
array[object (masterOfVariableDTO) {5}]  | null 
optional
name
string  | null 
optional
type
enum<integer> <int32>
optional
Allowed values:
12345
scope
enum<integer> <int32>
optional
Allowed values:
12
description
string  | null 
optional
code
string  | null 
optional
masterOfTags
array[object (masterOfTags_) {8}]  | null 
optional
id
string  | null 
optional
color
string  | null 
optional
name
string  | null 
optional
status
integer <int32>
optional
userCreation
string  | null 
optional
creationDate
string <date-time>
optional
userDelation
string  | null 
optional
delationDate
string <date-time> | null 
optional
integrations
array[object (integrations_) {20}]  | null 
optional
id
string  | null 
optional
type
string  | null 
optional
isActive
integer <int32>
optional
userCreation
string  | null 
optional
creationDate
string <date-time>
optional
srcName
string  | null 
optional
aliasName
string  | null 
optional
businessId
string  | null 
optional
isApprovedName
boolean  | null 
optional
codeCellphoneNumberId
string  | null 
optional
cellphoneNumber
string  | null 
optional
cellphoneNumberFormat
string  | null 
optional
facebookUserId
string  | null 
optional
facebookAppId
string  | null 
optional
newPin
string  | null 
optional
category
string  | null 
optional
facebookPageId
string  | null 
optional
tokenFacebookPage
string  | null 
optional
instagramPageId
string  | null 
optional
keyConfigschatGPT
array[object (APIKeyConfig) {5}]  | null 
optional
creationDate
string <date-time> | null 
optional
contactsCount
integer <int32>
optional
tasksCount
integer <int32>
optional
opportunitiesCount
integer <int32>
optional
company
string  | null 
optional
applicationPermissions
object (applicationPermissions_) 
optional
crm
boolean 
optional
voip
boolean 
optional
encuestaSatisfaccion
boolean 
optional
Previous
Update Password
Built with