Plazbot
  1. Contact
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
  1. Contact

Update Contact

PUT
/api/contact
contact
El servicio te ayuda para que puedas actualizar ciertos campos en contacto, el campo paramToUpdate debe reemplazarlo por el nombre del campo y luego colocar el valor del campo que se desea actualizar, el listado de campos que se pueden actualizar son los siguientes:
name, lastname, email, stageId, segmentationId
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.plazbot.com/api/contact?id&workspaceId' \
--header 'x-workspace-id;' \
--header 'Content-Type: application/json' \
--data-raw '{
  "paramToUpdate": "string"
}'
Response Response Example
{
  "success": true,
  "code": 200,
  "errorCode": null,
  "message": "Contact updated successfully.",
  "data": {
    "id": "string",
    "contact": {
      "id": "string",
      "creationDate": "2025-04-07T21:56:19.3254439Z",
      "assignedAgentId": null,
      "assignedAgentName": null,
      "segmentationId": null,
      "lastMessage": null,
      "lastMessageDate": "2025-04-07T21:56:19.3254057Z",
      "platformSenderId": null,
      "platformSenderName": "",
      "platformSenderPhone": null,
      "isRead": false,
      "isBotEnabled": true,
      "isManuallyAdded": true,
      "avatarColor": null,
      "orderInCards": 0,
      "orderInCardsLastUpdated": "2025-04-07T22:02:11.8188339Z",
      "tags": [],
      "files": [],
      "variables": [],
      "isSolved": false,
      "solvedByAgentId": null,
      "solvedDate": null,
      "workspaceId": "string",
      "internalWhatsappNumber": "string",
      "name": "string",
      "lastname": "string",
      "email": "string",
      "platformId": 0,
      "stageId": "string"
    }
  }
}

Request

Query Params
id
string 
required
workspaceId
string 
required
Header Params
x-workspace-id
string 
required
Body Params application/json
paramToUpdate
string 
required
Nombre del campo a actualizar.
Examples

Responses

🟢200OK
application/json
OK
Body
success
boolean 
required
code
integer 
required
errorCode
null 
required
message
string 
required
data
object 
required
id
string 
required
contact
object 
required
Previous
Create Contact
Next
Get Contact By Id
Built with