Create Activity for Opportunity
POST
/api/opportunity/{opportunityId}/agent/activities
opportunity
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
Responses
Modified at 2025-04-21 20:09:45