Skip to main content
POST
/
changeConversationOpportunity
Create Scorecard Result
curl --request POST \
  --url https://api.attention.tech/v2/changeConversationOpportunity \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "conversation_id": "<string>",
  "opportunity_id": "<string>",
  "skip_intelligence_calculation": true,
  "remove_opportunity": true
}'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Body

Change the opportunity of a conversation request containing the conversation UUID and opportunity UUID

conversation_id
string
required
opportunity_id
string
required
skip_intelligence_calculation
boolean
remove_opportunity
boolean

Response

Scorecard result successfully created

success
boolean
required