Skip to main content
POST
/
api
/
opportunity
/
{opportunityId}
/
agent
/
activities
Create Activity for Opportunity
curl --request POST \
  --url https://api.plazbot.com/api/opportunity/{opportunityId}/agent/activities \
  --header 'Content-Type: application/json' \
  --header 'x-workspace-id: <x-workspace-id>' \
  --data '{
  "workspaceId": "string",
  "content": "string",
  "date": "2025-03-20T14:30:00.0000000Z",
  "categoryType": "string"
}'
{
  "success": true,
  "code": 200,
  "errorCode": null,
  "message": "The activity was recorded successfully.",
  "data": null
}

Headers

x-workspace-id
string
required

Path Parameters

opportunityId
string
required

Body

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'

Response

200 - application/json

OK

success
boolean
required
code
integer
required
errorCode
null
required
message
string
required
data
null
required
I