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

Create Activity for Opportunity

POST
/api/opportunity/{opportunityId}/agent/activities
opportunity
Servicio que agregar Actividades a la oportunidad. Estas actividades pueden ser llamadas, mensajes de Whatsapp, Envio de Email y Agendamiento de reuniones.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.plazbot.com/api/opportunity//agent/activities' \
--header 'x-workspace-id;' \
--header 'Content-Type: application/json' \
--data-raw '{
  "workspaceId": "string",
  "content": "string",
  "date": "2025-03-20T14:30:00.0000000Z",
  "categoryType": "string"
}'
Response Response Example
{
  "success": true,
  "code": 200,
  "errorCode": null,
  "message": "The activity was recorded successfully.",
  "data": null
}

Request

Path Params
opportunityId
string 
required
Header Params
x-workspace-id
string 
required
Body Params application/json
workspaceId
string 
required
Workspace ID
content
string 
required
Detalle del comentario.
date
string 
required
Fecha de la Actividad
categoryType
string 
required
'Calls', 'Meeting', 'Whatsapp', 'Email'
Examples

Responses

🟢200OK
application/json
OK
Body
success
boolean 
required
code
integer 
required
errorCode
null 
required
message
string 
required
data
null 
required
Previous
Delete Opportunity
Next
Create Task
Built with