POST
/
api
/
opportunity
/
{opportunityId}
/
agent
/
activities
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

Response

200 - application/json

OK

The response is of type object.